IP Library Granted Patent US 12681697
Granted Patent B2
US 12681697 · App. 18/530,390 · Granted Jul 14, 2026

API simplification process

Inventors: Sebastian Mietke (Reilingen, DE); David Bischof (Walldorf, DE)
Assignee: SAP SE
G06F8/30
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 12681697
App. No.
18/530,390
Granted
Jul 14, 2026
Kind
B2
Abstract

Provided are systems and methods that can generate a simplified application programming interface for a custom software system that includes a pre-built application programming interface. In one example, a method may include receiving source code of an application programming interface (API) of a custom software system with built-in functionality for accessing the custom software system, identifying a subset of program components within the API which are not active based on a configuration of the software system, removing the subset of program components from the API to generate a simplified API for the custom software system, and transferring the simplified API to the storage.

Claims (40)

1 . A computing system comprising:

a storage; and

a processor configured to:

receive source code of an application programming interface (API) of a custom software system with built-in functionality for accessing the custom software system,

identify conditional logic within the source code of the API,

check the activation status of program components within the API,

identify a subset of the program components within the API which are not active based on an application of a configuration of the custom software system to the conditional logic and on the checked activation status of the program components,

automatically remove the subset of program components from the API to generate a simplified API for the custom software system based on the identification of the subset of program components within the API which are not active, and

transfer the simplified API to the storage.

2 . The computing system of claim 1 , wherein the processor is configured to remove one or more methods from an object-oriented software class within the source code of the API to generate the simplified API.

3 . The computing system of claim 2 , wherein the processor is further configured to keep one or more different methods that already exist in the object-oriented software class within the source code of the API to generate the simplified API.

4 . The computing system of claim 1 , wherein the processor is configured to identify one or more types of data objects which are not used by the custom software system based on a configuration of the source code of the API, and remove one or more parts from the API for accessing the one or more types of data objects to generate the simplified API.

5 . The computing system of claim 1 , wherein the processor is configured to identify a program component within the API that can be removed based on a conditional statement of the conditional logic within the source code of the API, and delete logic of the program component from the source code of the API to generate the simplified API.

6 . The computing system of claim 1 , wherein the source code of the API comprises a plurality of API calls, and the processor is configured to generate a wrapper around a subset of API calls included in the plurality of API calls to generate the simplified API.

7 . The computing system of claim 1 , wherein the processor is further configured to display a user interface that comprises an identifier of a possible program component included in the API that can be removed, and receive feedback about the possible program component via the user interface.

8 . The computing system of claim 7 , wherein the processor is configured to remove a feature from the API based on the feedback received via the user interface to generate the simplified API.

9 . A method comprising:

receiving source code of an application programming interface (API) of a custom software system with built-in functionality for accessing the custom software system;

identifying conditional logic within the source code of the API;

checking the activation status of program components within the API;

identifying a subset of the program components within the API which are not active based on an application of a configuration of the custom software system to the conditional logic and on the checked activation status of the program components;

automatically removing the subset of program components from the API to generate a simplified API for the custom software system based on the identification of the subset of program components within the API which are not active; and

transferring the simplified API to a storage.

10 . The method of claim 9 , wherein the removing comprises removing one or more methods from an object-oriented software class within the source code of the API to generate the simplified API.

11 . The method of claim 10 , wherein the removing further comprises keeping one or more different methods that already exist in the object-oriented software class within the source code of the API to generate the simplified API.

12 . The method of claim 9 , wherein the identifying comprises identifying one or more types of data objects which are not used by the custom software system based on a configuration of the source code of the API, and the removing comprises removing one or more features from the API for accessing the one or more types of data objects to generate the simplified API.

13 . The method of claim 9 , wherein the identifying comprises identifying a program component within the API that can be removed based on a conditional statement of the conditional logic within the source code of the API, and the removing comprises logic of the program component from the source code of the API to generate the simplified API.

14 . The method of claim 9 , wherein the source code of the API comprises a plurality of API calls, and the removing comprises generating a wrapper around a subset of API calls included in the plurality of API calls to generate the simplified API.

15 . The method of claim 9 , wherein the method further comprises displaying a user interface that comprises an identifier of a possible program component included in the API that can be removed, and receiving feedback about the possible program component via the user interface.

16 . The method of claim 15 , wherein the removing comprises removing a part from the API based on the received feedback received via the user interface to generate the simplified API.

17 . A computer-readable storage medium comprising instructions which when executed by a processor cause a computer to perform:

receiving source code of an application programming interface (API) of a custom software system with built-in functionality for accessing the custom software system;

identifying conditional logic within the source code of the API;

checking the activation status of program components within the API;

identifying a subset of the program components within the API which are not active based on an application of a configuration of the custom software system to the conditional logic and on the checked activation status of the program components;

automatically removing the subset of program components from the API to generate a simplified API for the custom software system based on the identification of the subset of program components within the API which are not active; and

transferring the simplified API to a storage.

18 . The computer-readable storage medium of claim 17 , wherein the removing comprises removing one or more methods from an object-oriented software class within the source code of the API to generate the simplified API.

19 . The computer-readable storage medium of claim 18 , wherein the removing further comprises keeping one or more different methods that already exist in the object-oriented software class within the source code of the API to generate the simplified API.

20 . The computer-readable storage medium of claim 17 , wherein the identifying comprises identifying one or more types of data objects which are not used by the custom software system based on a configuration of the source code of the API, and the removing comprises removing one or more parts from the API for accessing the one or more types of data objects to generate the simplified API.