Questions tagged [bapi]

BAPIs (Business Application Programming Interface) are specific methods for SAP business objects, which are stored in the Business Object Repository (BOR) of the SAP system and are used for carrying out particular business tasks.

BAPIs (Business Application Programming Interface) are specific methods for SAP business objects, which are stored in the Business Object Repository (BOR) of the SAP system and are used for carrying out particular business tasks.

In an SAP system, BAPIs are stored as RFC enabled function modules and can be accessed through the Function Module Builder. Standard BAPIs can be called in ABAP developments like a standard function module and as they have remote function call enabled, they can be used to integrate SAP with external systems.

Useful Links:

Related Tags:

209 questions
1
vote
1 answer

Update SD condition records using FM/BAPI

I am trying to update DATBI field of A* pricing condition tables using the data coming from excel file.I have tried below approaches but unable to update the entry as DATBI is key field. It creates new record instead of updating the existing one.…
CoderW
  • 123
  • 3
  • 14
1
vote
1 answer

Launching BAPI programmatically from R?

Basically I have 2 questions:: What are the differences between BAPI's and InfoQueries in SAP? How would you launch and retrieve the results of BAPI's programmatically from outside of SAP? I am trying to launch SAP BAPI' via R, and I saw that the…
gaut
  • 5,771
  • 1
  • 14
  • 45
1
vote
1 answer

Set objBAPIControl = CreateObject("SAP.Functions")

At line Set objBAPIControl = CreateObject("SAP.Functions") I face the runtime error 429 ActiveX component can't create object. The script was initially running in a 32 bit system now it is upgraded to 64 bit. This is the logon script: Private Sub…
user16047948
1
vote
1 answer

Which BAPI to use to update ADRC table?

Is there any way to write or insert data into ADRC table by using BAPI from outside the SAP?
1
vote
1 answer

BAPI to get customer company?

Customer company is stored in KNB1 table. I tried with BAPI_CUSTOMER_GETDETAIL2, seems it does not expose company code. Instead of it, company code is the bapi input. I am looking for a BAPI that can give company code from given customer number. Is…
swemon
  • 5,840
  • 4
  • 32
  • 54
1
vote
1 answer

How to remove batch number on delivery?

I need to remove the batch number (LIPS-CHARG) on the delivery item and tried with BAPI_OUTB_DELIVERY_CHANGE without success. I can change the delivery quantity (LIPS-LFIMG) correctly with this BAPI and change the picking number (LIPS-PKIMG) with…
1
vote
1 answer

Integration of SAP information with node.js

SAP offers a lot of ways to create API's with external systems. In my case I want to create an interface which allows me to access SAP information with a node.js application. I need preferably a real time connection to update the data as soon as…
IVnoobSuck
  • 75
  • 10
1
vote
1 answer

BAPI_SALESORDER_CHANGE throws type exception

I'm having trouble using the FM BAPI_SALESORDER_CHANGE. As soon as I execute my report, an exception is thrown by the FM. Following is the dump of the exception. An exception occurred that is explained in detail below. The exception, which is…
Diego
  • 133
  • 1
  • 12
1
vote
3 answers

How to call BAPI_MATERIAL_SAVEDATA with custom fields from NCo?

In our current project we are using SAPNCO3 with RFC calls. The requirement is to create material with the function "BAPI_MATERIAL_SAVEDATA" and some custom fields (via EXTENSIONIN). The problem now is how to extend the needed structures…
THER
  • 11
  • 1
  • 5
1
vote
1 answer

BAPI/FM to search prod orders confirmations by workcenter and date?

I'm trying to figure out which BAPI/FM I could use to search amounts confirmed based on search criteria of date (+time if possible) and workcenter confirmed where was confirmed... I would be using BAPI_PRODORDCONF_GETDETAIL which contains these…
1
vote
1 answer

How to call BAPI_PLANNEDORDER_GET_DETAIL from Excel?

I know there has been a few questions regarding this earlier. However none of which sufficiently have led me to a solution to the issue at hand. Code so far Sub GetPlannedOrderNums() '-------- 'Logon '-------- Dim ws As Worksheet …
Havard Kleven
  • 422
  • 6
  • 19
1
vote
1 answer

How to get data from another system

I need to get some data from one system to another. So far, I used the function module (FM) RFC_READ_TABLE where I filled all required fields and got data that I needed from another system's table. I can't use RFC_READ_TABLE in task that I'm working…
Shushi
  • 31
  • 5
1
vote
2 answers

How can I use a service principal in HTTP with Azure AD connector in logic apps

I add an action to my logic app with the HTTP with Azure AD connector. When adding the acito, I'm prompted to create a connection, however there is only "User based auth" available with a "sign in" button. I need to use this connector with Service…
ElFik
  • 897
  • 2
  • 13
  • 31
1
vote
1 answer

SAP BW Data Extraction using pyRFC fails with character limitation on Command text

Environment: Windows Programming language: Python Package: pyRFC SAP: SAP RFC SDK I am trying to call the following method BAPI_MDDATASET_CREATE_OBJECT after connecting to the BW through the object bwConn bwConn.call('BAPI_MDDATASET_CREATE_OBJECT',…
Ranjith Venkatesh
  • 1,322
  • 3
  • 20
  • 57
1
vote
2 answers

Define SCP destination for S4HANA BAPI call with Cloud SDK

I am looking for a way to call S4HANA on-premise BAPI locally and on SAP Cloud Platform with Cloud SDK. The problem is how to define RFC destinations just like HTTP ones. I also encountered JCo class not found exception and could not find a…
Jerry Zhang
  • 179
  • 3
  • 13