IP Library › Granted Patent US 10,725,753
Granted Patent B2
US 10,725,753 · App. 16/200,296 · Granted Jul 28, 2020

Compiler for context-dependent code global data types

Inventor: Horst F. Schaude (Kraichtal, DE)
Assignee: SAP SE
G06F8/437G06F8/36G06F16/951G06F16/284
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,725,753
App. No.
16/200,296
Granted
Jul 28, 2020
Kind
B2
Abstract

A compiler for a software development kit is disclosed. In some embodiments, a computer-implemented method comprises receiving source code comprising an object node having a data type definition for a code value, detecting that the data type definition of the object node includes a context-dependent data type, where the context-dependent data type is dependent on at least one other data type, determining a corresponding value for each one of the other data type(s) based on the detecting that the data type definition includes the context-dependent data type, and generating a runtime instance of a software solution based on the source code, where the generating the runtime instance comprises assigning the corresponding value for each other data type as a single list ID for the object node, and the single list ID for the object node is configured to be used to determine a dedicated value of the code value.

Claims (60)

1. A computer-implemented method comprising:

receiving, by at least one hardware processor, source code generated within a software development kit, the received source code comprising an object node having a data type definition for a code value;

detecting, by the at least one hardware processor, that the data type definition of the object node includes a context-dependent data type, the context-dependent data type being dependent on at least one other data type;

determining, by the at least one hardware processor, a corresponding value for each one of the at least one other data type based on the detecting that the data type definition of the object node includes the context-dependent data type, the determining the corresponding value for each one of the at least one other data type comprises:

retrieving context structure information for the context-dependent data type from a database;

identifying the at least one other data type based on the retrieved context structure information;

searching the object node for any elements having a corresponding data type that matches any of the at least one other data type;

identifying at least one element of the object node having a corresponding data type that matches any of the at least one other data type based on the searching of the object node; and

determining a corresponding value for each one of the identified at least one element of the object node, the corresponding value for each one of the identified at least one element of the object node being the corresponding value for each one of the at least one other data type;

generating, by the at least one hardware processor, a runtime instance of a software solution based on the source code, the generating of the runtime instance of the software solution comprising assigning the corresponding value for each one of the at least one other data type as a single list identification (ID) for the object node, the single list ID for the object node being configured to be used to determine a dedicated value of the code value; and

executing, by the at least one hardware processor, the runtime instance of the software solution, the executing the runtime instance comprising retrieving the dedicated value of the code value using the single list ID and performing a function of the runtime instance using the retrieved dedicated value of the code value.

2. The computer-implemented method of claim 1 , wherein the at least one other data type comprises a plurality of other data types, and the single list ID for the object node comprises a combination of the plurality of other data types.

3. The computer-implemented method of claim 1 , wherein the generating of the runtime instance of the software solution is performed by a compiler of the software development kit.

4. The computer-implemented method of claim 1 , wherein the retrieving the dedicated value of the code value using the single list ID comprises:

searching a code list for an entry having a corresponding list ID that matches the single list ID;

identifying the entry having the corresponding list ID that matched the single list ID based on the search of the code list; and

retrieving a corresponding value of the identified entry for use as the dedicated value of the code value.

5. The computer-implemented method of claim 1 , wherein the performing of the function of the runtime instance comprises displaying the retrieved dedicated value of the code value on a computing device.

6. The computer-implemented method of claim 1 , wherein the performing of the function of the runtime instance comprises performing a calculation using the retrieved dedicated value of the code value.

7. A system comprising:

at least one processor; and

a non-transitory computer-readable medium storing executable instructions that, when executed, cause the at least one processor to perform operations comprising:

receiving source code generated within a software development kit, the received source code comprising an object node having a data type definition for a code value;

detecting that the data type definition of the object node includes a context-dependent data type, the context-dependent data type being dependent on at least one other data type;

determining a corresponding value for each one of the at least one other data type based on the detecting that the data type definition of the object node includes the context-dependent data type, the determining the corresponding value for each one of the at least one other data type comprises:

retrieving context structure information for the context-dependent data type from a database:

identifying the at least one other data type based on the retrieved context structure information:

searching the object node for any elements having a corresponding data type that matches any of the at least one other data type;

identifying at least one element of the object node having a corresponding data type that matches any of the at least one other data type based on the searching of the object node; and

determining a corresponding value for each one of the identified at least one element of the object node, the corresponding value for each one of the identified at least one element of the object node being the corresponding value for each one of the at least one other data type;

generating a runtime instance of a software solution based on the source code, the generating of the runtime instance of the software solution comprising assigning the corresponding value for each one of the at least one other data type as a single list identification (ID) for the object node, the single list ID for the object node being configured to be used to determine a dedicated value of the code value; and

executing the runtime instance of the software solution, the executing the runtime instance comprising retrieving the dedicated value of the code value using the single list ID and performing a function of the runtime instance using the retrieved dedicated value of the code value.

8. The system of claim 7 , wherein the at least one other data type comprises a plurality of other data types, and the single list ID for the object node comprises a combination of the plurality of other data types.

9. The system of claim 7 , wherein the generating of the runtime instance of the software solution is performed by a compiler of the software development kit.

10. The system of claim 7 , wherein the retrieving the dedicated value of the code value using the single list ID comprises:

searching a code list for an entry having a corresponding list ID that matches the single list ID;

identifying the entry having the corresponding list ID that matched the single list ID based on the search of the code list; and

retrieving a corresponding value of the identified entry for use as the dedicated value of the code value.

11. The system of claim 7 , wherein the performing of the function of the runtime instance of the software solution comprises displaying the retrieved dedicated value of the code value on a computing device.

12. The system of claim 7 , wherein the performing of the function of the runtime instance of the software solution comprises performing a calculation using the retrieved dedicated value of the code value.

13. A non-transitory machine-readable storage medium, tangibly embodying a set of instructions that, when executed by at least one processor, causes the at least one processor to perform operations comprising:

receiving source code generated within a software development kit, the received source code comprising an object node having a data type definition for a code value;

detecting that the data type definition of the object node includes a context-dependent data type, the context-dependent data type being dependent on at least one other data type;

determining a corresponding value for each one of the at least one other data type based on the detecting that the data type definition of the object node includes the context-dependent data type, the determining the corresponding value for each one of the at least one other data type comprises:

retrieving context structure information for the context-dependent data type from a database;

identifying the at least one other data type based on the retrieved context structure information;

searching the object node for any elements having a corresponding data type that matches any of the at least one other data type;

identifying at least one element of the object node having a corresponding data type that matches any of the at least one other data type based on the searching of the object node; and

determining a corresponding value for each one of the identified at least one element of the object node, the corresponding value for each one of the identified at least one element of the object node being the corresponding value for each one of the at least one other data type;

generating a runtime instance of a software solution based on the source code, the generating of the runtime instance of the software solution comprising assigning the corresponding value for each one of the at least one other data type as a single list identification (ID) for the object node, the single list ID for the object node being configured to be used to determine a dedicated value of the code value; and

executing the runtime instance of the software solution, the executing the runtime instance comprising retrieving the dedicated value of the code value using the single list ID and performing a function of the runtime instance of the software solution using the retrieved dedicated value of the code value.

14. The non-transitory machine-readable storage medium of claim 13 , wherein the at least one other data type comprises a plurality of other data types, and the single list ID for the object node comprises a combination of the plurality of other data types.

15. The non-transitory machine-readable storage medium of claim 13 , wherein the generating of the runtime instance of the software solution is performed by a compiler of the software development kit.

16. The non-transitory machine-readable storage medium of claim 13 , wherein the retrieving the dedicated value of the code value using the single list ID comprises:

searching a code list for an entry having a corresponding list ID that matches the single list ID;

identifying the entry having the corresponding list ID that matched the single list ID based on the search of the code list; and

retrieving a corresponding value of the identified entry for use as the dedicated value of the code value.

17. The non-transitory machine-readable storage medium of claim 13 , wherein the performing of the function of the runtime instance of the software solution comprises:

displaying the retrieved dedicated value of the code value on a computing device; or

performing a calculation using the retrieved dedicated value of the code value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 26, 2018
From: SCHAUDE, HORST F.
To: SAP SE
Reel/Frame 047584/0567 →
Continuity (1)
Related Publication 20200167138A1 · May 28, 2020