# US 2021/0342127 A1 · Offline integration for cloud-based applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342127 A1
- Document ID: US20210342127A1
- Status: Published application
- Kind: A1
- Application number: 16/866,535
- Filed: 2020-05-04
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Horst Schaude
- Web page: https://patentgrep.com/patent/US20210342127A1

## CPC

- G06F 8/36: Software reuse
- G06F 8/31: {Programming languages or programming paradigms}
- G06F 8/41: Compilation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method may include generating, based on a first programming code implementing a routine in a first programming language, a second programming code implementing the routine in a second programming language associated with an offline runtime environment and a third programming code implementing the routine in a third programming language associated with an online runtime environment. The routine may include a first operation and a second operation associated with a cloud-based software application. The first operation may be capable of being performed while the cloud-based software application is operating in an offline mode but the second operation may be incapable of being performed while the cloud-based software application is operating in the offline mode. The second second programming code being generated to include the first operation and exclude the second operation. The second programming code and the third programming code may be deployed to a client.

## Claims

### Claim 1

A system, comprising:
at least one data processor; and
at least one memory storing instructions which, when executed by the at least one data processor, result in operations comprising:
generating, based at least on a first programming code implementing a routine in a first programming language, a second programming code implementing the routine in a second programming language associated with an offline runtime environment, the routine including a first operation and a second operation associated with a cloud-based software application, the first operation being capable of being performed while the cloud-based software application is operating in an offline mode, the second operation being incapable of being performed while the cloud-based software application is operating in the offline mode, and the second programming code being generated to include the first operation and exclude the second operation; and
deploying, to a client, the second programming code to at least enable the routine to be executed at the client as part of the cloud-based software application operating in the offline mode.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first operation is included in the second programming code based at least on a white list identifying the first operation as being capable of being performed in the offline mode.

### Claim 3 (depends on 1)

The system of claim 1, wherein the second operation is excluded from the second programming code based at least on a black list identifying the second operation as incapable of being performed in the online mode.

### Claim 4 (depends on 1)

The system of claim 1, wherein the first programing language comprises an Advanced Business Scripting Language (ABSL).

### Claim 5 (depends on 1)

The system of claim 1, wherein the second programming language comprises JavaScript, and wherein the offline runtime environment comprises a JavaScript runtime environment.

### Claim 6 (depends on 1)

The system of claim 1, further comprising:
generating, based at least on the first programming code implementing the routine in the first programming language, a third programming code implementing the routine in a third programming language associated with an online runtime environment; and
deploying, to the client, the third programming code to at least enable the routine to be executed at the client as part of the cloud-based software application operating in an online mode.

### Claim 7 (depends on 6)

The system of claim 6, wherein the third programming language comprises an Advanced Business Application Programming (ABAP) language, and wherein the online runtime environment comprises an Advanced Business Application Programming (ABAP) runtime environment.

### Claim 8 (depends on 1)

The system of claim 1, wherein a network connection to access one or more remote resources is not required while the cloud-based software application is operating in the offline mode.

### Claim 9 (depends on 1)

The system of claim 1, wherein the first operation comprises an arithmetic operation, a logical operation, a programming operation, and/or an enterprise specific operation.

### Claim 10 (depends on 1)

The system of claim 1, wherein the second programming code is generated as part of compiling the first programming code.

### Claim 11

A computer-implemented method, comprising:
generating, based at least on a first programming code implementing a routine in a first programming language, a second programming code implementing the routine in a second programming language associated with an offline runtime environment, the routine including a first operation and a second operation associated with a cloud-based software application, the first operation being capable of being performed while the cloud-based software application is operating in an offline mode, the second operation being incapable of being performed while the cloud-based software application is operating in the offline mode, and the second programming code being generated to include the first operation and exclude the second operation; and
deploying, to a client, the second programming code to at least enable the routine to be executed at the client as part of the cloud-based software application operating in the offline mode.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first operation is included in the second programming code based at least on a white list identifying the first operation as being capable of being performed in the offline mode.

### Claim 13 (depends on 11)

The method of claim 11, wherein the second operation is excluded from the second programming code based at least on a black list identifying the second operation as incapable of being performed in the online mode.

### Claim 14 (depends on 11)

The method of claim 11, wherein the first programing language comprises an Advanced Business Scripting Language (ABSL), wherein the second programming language comprises JavaScript, and wherein the offline runtime environment comprises a JavaScript runtime environment.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
generating, based at least on the first programming code implementing the routine in the first programming language, a third programming code implementing the routine in a third programming language associated with an online runtime environment; and
deploying, to the client, the third programming code to at least enable the routine to be executed at the client as part of the cloud-based software application operating in an online mode.

### Claim 16 (depends on 15)

The method of claim 15, wherein the third programming language comprises an Advanced Business Application Programming (ABAP) language, and wherein the online runtime environment comprises an Advanced Business Application Programming (ABAP) runtime environment.

### Claim 17 (depends on 11)

The method of claim 11, wherein a network connection to access one or more remote resources is not required while the cloud-based software application is operating in the offline mode.

### Claim 18 (depends on 11)

The method of claim 11, wherein the first operation comprises an arithmetic operation, a logical operation, a programming operation, and/or an enterprise specific operation.

### Claim 19 (depends on 11)

The method of claim 11, wherein the second programming code is generated as part of compiling the first programming code.

### Claim 20

A non-transitory computer readable medium storing instructions, which when executed by at least one data processor, result in operations comprising:
generating, based at least on a first programming code implementing a routine in a first programming language, a second programming code implementing the routine in a second programming language associated with an offline runtime environment, the routine including a first operation and a second operation associated with a cloud-based software application, the first operation being capable of being performed while the cloud-based software application is operating in an offline mode, the second operation being incapable of being performed while the cloud-based software application is operating in the offline mode, and the second programming code being generated to include the first operation and exclude the second operation; and
deploying, to a client, the second programming code to at least enable the routine to be executed at the client as part of the cloud-based software application operating in the offline mode.
