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
2 answers

BAPI_CUSTOMER_FIND parameter RESULT_TAB has strange structure

I need to search customers in SAP system from a C# application. I'm using C# .NET connector. I tried to call the BAPI BAPI_CUSTOMER_FIND to get all the customers with name that starts with "C" character, this is my code: SAPConnectionConfigurator…
TeoVr81
  • 989
  • 15
  • 33
1
vote
2 answers

BAPI Function Rollback on asp.net web pages

I Have a C# web application that call multiple BAPI and stored procedure at one of the function in ASP.net Website. i need to rollback all the bapi executed on the function that called on the web if one of the method inside the function is…
mdsuffian
  • 33
  • 4
1
vote
1 answer

FM to simulate Delivery without Reference Sales Order

Is there other known FM that can be used to simulate deliveries aside from FM SD_SCD_SIMULATE_DELIVERIES? This FM SD_SCD_SIMULATE_DELIVERIES needs SALES_ORDER as mandatory importing parameter and I don't have SALES_ORDER. Please advise. Thanks! -CZa
Czarinaaaaa29
  • 311
  • 2
  • 8
  • 23
1
vote
1 answer

BAPI or FM for searching FI documents

I am searching for a BAPI to search FI documents, based on the input criteria (document type, posting date,...). Same as it is on FB03 transaction, but the Document List screen, not the screen with only three inputs (Document Number, Company Code,…
Trick
  • 3,779
  • 12
  • 49
  • 76
1
vote
1 answer

BAPI_PRDSRVAPS_SAVEMULTI2 - Net weight becomes Zero

APO Experts, Where in the BAPI_PRDSRVAPS_SAVEMULTI2 are internal tables appending the updated values to the database? I am having trouble because when I passed 34.5 for net weight in this bapi BAPI_PRDSRVAPS_SAVEMULTI2, after COMMIT, value in MARM…
Czarinaaaaa29
  • 311
  • 2
  • 8
  • 23
1
vote
2 answers

Is there any RFC or BAPI implementing the transaction rsscd001 for displaying change documents in SAP?

I would like to know whether there is any RFC or BAPI functions to display change documents (transaction RSSCD001) based on input query in SAP. The customer requirement is to implement a java monitor system on SAP without adding any ABAP functions…
Yi.
  • 515
  • 1
  • 7
  • 19
1
vote
2 answers

Handling function module interfaces in bulk?

Is there a way to access the import parameters passed into a function module without addressing them individually? Does ABAP store them in some internal table, so I can work with them by looping through rows in some table, or fields of a…
Greg Day
  • 13
  • 5
1
vote
2 answers

Changing average price in Material Master (MM02) programmatically

I want to programmatically change the moving/average price(s) of materials for the following special case: VPRSV = 'S' (Standard price) MLMAA = 'X' (Material Ledger activated) MLAST = '3' (Material Price Determination = '3'…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
1
vote
0 answers

Mass Upload of Freight Agreement in SAP TM

I need your assistance on how to mass upload freight agreement. Is there any BAPI/Class that I can use to upload the details? And also can we upload freight agreement data using the Excel Integration in the GUI? If so, can you share the steps on how…
1
vote
1 answer

How to update delivery quantity via BAPI?

In my business scenario the WMS system post GI of deliveries and send the info to SAP. If WMS post GI for the entire quantity ==> no problem If WMS post GI for quantity < delivery quantity ==> problem. I should update the delivery quantity…
rikymiami
  • 71
  • 2
  • 4
  • 14
1
vote
2 answers

When using SAP JCo (v3.0), how do I handle an exception during JCoContext.end()?

All, We have currently developed a Java client application that communicates with SAP via the JCo v3.0 API. During a stateful call, where multiple BAPI functions are invoked, we use the JCoContext class to establish a stateful session. We call…
g8torPaul
  • 1,193
  • 1
  • 7
  • 12
1
vote
1 answer

Material Ledger consistency check function module

Is there a function module or BAPI or method that nicely performs a material/material ledger consistency check for a given material? I am aware of report SAPRCKMU which would be very hard to use inside my own program. I am also aware of and using…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
1
vote
3 answers

Update BSEG-ZUONR with Function Module

I successfully change BKPF-BKTXT with FM CHANGE_DOCUMENT but why can't I change BSEG-ZUONR with FM CHANGE_DOCUMENT too? Here's the FM CHANGE_DOCUMENT: CALL FUNCTION 'CHANGE_DOCUMENT' TABLES T_BKDF = t_bkdf T_BKPF =…
Marsha
  • 167
  • 3
  • 3
  • 18
1
vote
1 answer

RFC_READ_TABLE does not return any records. Why?

I am trying to get data from SAP for analysis using RFC_READ_TABLE. It returns Fields correctly. However, when trying to get the rows it returns zero rows. theFunc = functionCtrl.Add("RFC_READ_TABLE") ' Dim returnFunc As Boolean Dim…
waleed.makarem
  • 179
  • 2
  • 9
1
vote
2 answers

Getting "Not logged on in interface XBP" error when calling XBP function module via SAP .NET Connector

I am getting the error while calling BAPI_XBP_JOB_START_IMMEDIATELY IRfcFunction rfcFunc = repository.CreateFunction("BAPI_XMI_LOGON"); rfcFunc.SetValue("extcompany", "testC"); rfcFunc.SetValue("extproduct",…
Arvind Kumar
  • 103
  • 1
  • 6