IP Library › Granted Patent US 12,393,470
Granted Patent B2
US 12,393,470 · App. 17/903,508 · Granted Aug 19, 2025

Application programming interface (API) enabler for updated APIs

Inventors: Garima Srivastava (Bangalore, IN); Jenifer Sam (Bangalore, IN)
Assignee: SAP SE
G06F9/541G06F8/65
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 12,393,470
App. No.
17/903,508
Granted
Aug 19, 2025
Kind
B2
Abstract

According to some embodiments, systems and methods are provided, including a repository storing at least an Application Programming Interface (API) mapping table; a memory storing processor-executable program code; and a processing unit to execute the processor-executable program code to: receive an input of one or more legacy API identification elements for a legacy API; determine whether the received legacy API identification elements correspond to a standard legacy API; in a case the received legacy API identification elements do correspond to a standard legacy API, determine whether a corresponding updated API is available; in a case the corresponding updated API is available, determine whether the legacy API includes at least one extension; and in a case the legacy API does include at least one extension, generate an updated corresponding API extension, and transmit the corresponding updated API and the updated corresponding API extension to the user. Numerous other aspects are provided.

Claims (61)

1. A system comprising:

a memory storing processor-executable program code; and

a processing unit to execute the processor-executable program code to:

receive an input of one or more legacy Application Programming Interface (API) identification elements for a legacy API, wherein the legacy API identification elements include at least a name of the legacy API and a legacy API type;

determine whether the received name of the legacy API and the legacy API type correspond to a standard legacy API or a custom legacy API, wherein the legacy API type of Intermediate Document (IDOC), Business API (BAPI) or Remote Function Call (RFC) corresponds to the standard legacy API;

in a case the received one or more legacy API identification elements correspond to the custom legacy API, generate a corresponding updated API using a custom business object, the generating including: identifying one or more tables involved with the custom business object, generating a service definition and providing a binding;

in a case the received one or more legacy API identification elements do correspond to the standard legacy API, determine whether the corresponding updated API is available;

in a case the corresponding updated API is not available, transmit a request to generate the corresponding updated API;

in a case the corresponding updated API is available, determine whether the legacy API includes at least one extension;

in a case the at least one extension is absent from the legacy API, transmit the corresponding updated API to a user; and

in a case the legacy API does include the at least one extension, generate an updated corresponding API extension, and transmit the corresponding updated API and the updated corresponding API extension to the user, wherein generation of the updated corresponding API extension includes:

simulation of the corresponding updated API including the updated corresponding API extension, and

binding of the simulated corresponding updated API including the corresponding updated API extension to a client-server communication protocol, the binding adapted to integrate one or more service protocols.

2. The system of claim 1 , wherein the standard legacy API is an API that was originally released prior to a request for the corresponding updated API.

3. The system of claim 1 wherein the legacy API is one of a Remote Function Call (RFC), a Business API (BAPI) and an Intermediate Document (IDOC).

4. The system of claim 1 , wherein the at least one extension is one or more elements that modify a response of the standard legacy API.

5. The system of claim 1 , wherein the corresponding updated API is an Advanced Business Application Programming (ABAP) Restful Application Programming Model (RAP) API.

6. The system of claim 1 , wherein the received one or more legacy API identification elements is determined to correspond to the standard legacy API by identifying a presence or an absence of an identifier included in a name of the legacy API.

7. The system of claim 6 , wherein the absence of the identifier indicates the legacy API corresponds to the standard legacy API and the presence of the identifier indicates the legacy API corresponds to the custom legacy API.

8. The system of claim 1 , wherein an updated API mapper determines the corresponding updated API is available by identifying at least one of a common business object and a legacy API name.

9. The system of claim 1 , wherein a legacy API analyzer determines the legacy API includes the at least one extension by identifying at least one extension field that is present in the legacy API and absent from the corresponding updated API.

10. The system of claim 9 , wherein generation of the updated corresponding API extension further comprises execution of the processor-executable program code to:

identify a legacy API structure;

define one or more definitions for the updated corresponding API extension;

display the simulated corresponding updated API including the updated API extension;

and

output the updated corresponding API including the generated updated corresponding API extension.

11. A method comprising:

receiving an input of one or more legacy Application Programming Interface (API) identification elements for a legacy API, wherein the legacy API identification elements include at least a name of the legacy API and a legacy API type;

determining whether the received name of the legacy API and the legacy API type correspond to a standard legacy API or a custom legacy API, wherein the legacy API type of Intermediate Document (IDOC), Business API (BAPI), or Remote Function Call (RFC) corresponds to the standard legacy API;

in a case the received one or more legacy API identification elements correspond to the custom legacy API, generating a corresponding updated API using a custom business object, the generating including:

identifying one or more tables involved with the custom business object,

generating a service definition, and

providing a binding;

in a case the received one or more legacy API identification elements does correspond to the standard legacy API, determining whether the corresponding updated API is available;

in a case the corresponding updated API is available, determining whether the legacy API includes at least one extension; and

in a case the legacy API does include the at least one extension, generating an updated corresponding API extension, and transmitting the corresponding updated API and the updated corresponding API extension to a user, wherein generation of the updated corresponding API extension includes:

simulation of the corresponding updated API including the updated corresponding API extension, and

binding of the simulated corresponding updated API including the corresponding updated API extension to a client-server communication protocol, the binding adapted to integrate one or more service protocols.

12. The method of claim 11 , further comprising:

in a case the corresponding updated API is not available, transmitting a request to generate the corresponding updated API; and

in a case the at least one extension is absent from the legacy API, transmitting the corresponding updated API to a user.

13. The method of claim 11 , wherein the standard legacy API is an API that was originally released prior to a request for the corresponding updated API.

14. The method of claim 11 , wherein the legacy API is one of a Remote Function Call (RFC), a Business API (BAPI) and an Intermediate Document (IDOC).

15. The method of claim 11 , wherein the at least one extension is one or more elements that modify a response of the standard legacy API.

16. The method of claim 11 , wherein the corresponding updated API is an Advanced Business Application Programming (ABAP) Restful Application Programming Model (RAP) API.

17. The method of claim 11 , wherein the received one or more legacy API identification elements is determined to correspond to the standard legacy API by identifying an absence of an identifier included in a name of the legacy API, and the received one or more legacy API identification elements is determined to correspond to a custom legacy API by identifying a presence of the identifier included in the name of the legacy API.

18. The method of claim 11 , wherein an updated API mapper determines the corresponding updated API is available by identifying at least one of a common business object and a legacy API name.

19. A non-transitory computer readable medium having executable instructions stored therein to perform a method, the method comprising:

receiving an input of one or more legacy Application Programming Interface (API) identification elements for a legacy API, wherein the legacy API identification elements include at least a name of the legacy API and a legacy API type;

determining whether the received name of the legacy API and the legacy API type correspond to a standard legacy API or a custom legacy API, wherein the legacy API type of Intermediate Document (IDOC), Business API (BAPI) or Remote Function Call (RFC) corresponds to the standard legacy API;

in a case the received one or more legacy API identification elements correspond to the custom legacy API, generating a corresponding updated API using a custom business object, the generation including:

identifying one or more tables involved with the custom business object,

generating a service definition, and

providing a binding;

in a case the received one or more legacy API identification elements does correspond to the standard legacy API, determining whether the corresponding updated API is available;

in a case the corresponding updated API is available, determining whether the legacy API includes at least one extension; and

in a case the legacy API does include the at least one extension, generating an updated corresponding API extension, and transmitting the corresponding updated API and the updated corresponding API extension to a user, wherein generation of the updated corresponding API extension includes:

simulation of the corresponding updated API including the updated corresponding API extension, and

binding of the simulated corresponding updated API including the corresponding updated API extension to a client-server communication protocol, the binding adapted to integrate one or more service protocols.

20. The medium of claim 19 , wherein an updated API mapper determines the corresponding updated API is available by identifying at least one of a common business object and a legacy API name.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2022
From: SRIVASTAVA, GARIMA; SAM, JENIFER
To: SAP SE
Reel/Frame 060998/0277 →
Continuity (1)
Related Publication 20240078140A1 · Mar 7, 2024
References Cited (19)
US 9063748B1 · Bakale · 2015 [cited by examiner]
US 9965379B1 · Hariharan · 2018 [cited by examiner]
US 10452522B1 · Arguelles · 2019 [cited by examiner]
US 10769000B1 · Plunk · 2020 [cited by examiner]
US 10810065B1 · Banerjee · 2020 [cited by examiner]
US 20060136423A1 · Lee · 2006 [cited by examiner]
US 20120110547A1 · Wendel · 2012 [cited by examiner]
US 20130132584A1 · Palladino · 2013 [cited by examiner]
US 20160164722A1 · Zhu · 2016 [cited by examiner]
US 20160165010A1 · Bacovsky · 2016 [cited by examiner]
US 20170060878A1 · Demant · 2017 [cited by examiner]
US 20170337052A1 · Elkabany · 2017 [cited by examiner]
US 20170371937A1 · Shah · 2017 [cited by examiner]
US 20180107479A1 · Duppenthaler · 2018 [cited by examiner]
US 20230030187A1 · Shankar · 2023 [cited by examiner]
US 20230092030A1 · Battaglia · 2023 [cited by examiner]
Hardy, P.D. (Mar. 17, 2021). Ensuring Code Runs in ABAP in the Cloud. In: Improving the Quality of ABAP Code. Apress, Berkeley, CA. pp. 451-476. (Year: 2021). [cited by examiner]
Salesforce Stack Exchange, “Remove the ‘_c’ from custom field API name”. Posted and last modified Oct. 17, 2019. (Year: 2019). [cited by examiner]
Hardy, P.D. (Mar. 17, 2021). Ensuring Code Runs ABAP in the Cloud. In: Improving the Quality of ABAP Code. Apress, Berkeley, CA. pp. 451-476. (Year: 2021). [cited by examiner]