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

GLAccount Information - Simulate BAPI_INCOMINGINVOICE_CREATE

I am currently working on an application that posts invoices to SAP ERP using Java/JCo. I am using BAPI_INCOMINGINVOICE_CREATE for the purpose and it works perfectly fine. Now I have an additional requirement to preview the GL Account distribution…
Ramesh
  • 21
  • 4
1
vote
1 answer

How to execute a BADI in BAPI_ACC_DOCUMENT_POST from C#?

I have to pass data to BAdI acc_document in parameter extension1 of BAPI bapi_acc_document_post, but I don't know how to do that using SAP .NET connector. Any suggestions? Regards, Devinder
Devinder Yadav
  • 124
  • 2
  • 9
1
vote
0 answers

BAPI gets called multiple times in Android SUP application Async Task

I am new to SUP Mobility . I have a MBO created for Image uploading in SUP Sybase and I call it via thread in android code inside a Async task call. But , it so happens that the BAPI is getting called multiple times at backend . Kindly suggest .
Project Android
  • 575
  • 4
  • 16
1
vote
1 answer

SAP JCO Function Modules for CCMS

I am currently writing a small application to fetch CCMS data (RZ20), i am unable to get the monitoring details using BAPI for data like ENQUEUE, JAVA, ABAP etc... Is there some document or someplace where i can find this data? or can help me get…
Nida Sahar
  • 698
  • 4
  • 13
  • 29
1
vote
1 answer

SAP JCO for Ubuntu 64 bit could not initialize sapjcorfc

I used 64 bit JCO JAR and DLL files to call BAPI in Java but is giving some exception like: Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'…
user2131001
  • 121
  • 1
  • 6
1
vote
2 answers

"NOT_SUPPORTED_BY_GUI" Exception in JCo

We are having a BAPI that uploads the specified document to SAP software. The BAPI accepts three parameters: ID, FILE_LOC, FOLDER_NAME. And I'm setting the values as follows in the JCo code: JCO.ParameterList paramList =…
jai
  • 21,519
  • 31
  • 89
  • 120
1
vote
0 answers

SAP user change

I am using VB Script to Access SAP web Services, the sap web service has a method called user change, there are 3 mandatory parameters username, password and passwordX. Here username is string so I can assign value without any problem, password is…
1
vote
1 answer

Identifying key field in SAP table while using JCo3

I am using JCo3. While working with BAPI, i get tables that are part of it. While reading metadata of these tables, i will be interested to know which field is the primary key field for the table. This is important for me while writing persistence…
Gana
  • 482
  • 3
  • 11
  • 32
1
vote
1 answer

SAP BAPI get all Functional Locations

I am trying to pull a list of every Functional Location out of SAP ERP using BAPI. When I run this code it returns with an empty table. I don't have very much experience with BAPI and I am trying to teach myself. Can someone please help with what…
cbkrunch
  • 45
  • 8
1
vote
2 answers

BAPI_MATERIAL_SAVEDATA cannot update J_1IMTCHID table. Any workaround?

I'm connecting .NET application with SAP using SAP .NET Connector. It is working fine with BAPI_MATERIAL_SAVEDATA, but I need to update field J_1IGRXREF from table J_1IMTCHID, which does not exist in this BAPI. Is it possible to update this field…
Vicky
  • 11
  • 3
1
vote
2 answers

What does inconsistent test instrumentation mean?

I am writing some Abap Unit tests. It's a simple date comparison test. But I get this error about inconsistent test instrumentation. I thought maybe it was because I was calling a SAP function module DATE_TO_DAY inside the actual class method…
Davidson
  • 1,064
  • 3
  • 20
  • 35
1
vote
1 answer

HTTP Exception during BAPI call (WSO2 Adapter)

I'm trying to use the SAP BAPI adapter into WSO2. I can install it and create a valid configuration for client mode use. This is the code for proxy (BAPIProxy) used:
Loïc
  • 88
  • 8
1
vote
1 answer

SAP RFC call returns "Error 0" in RETURN parameter from vb

Hi everybody and thanks in advance. I'm trying to call a SAP BAPI using RFC from VB but I'm having some problem to get the result of the call. The BAPI BAPI_GL_ACC_EXISTENCECHECK (from General Ledger Account module) has COMPANYCODE, GLACCT and…
mrg1968
  • 11
  • 1
  • 5
1
vote
2 answers

Unable to call SAP BAPI function from VBA

I'm trying to call SAP functions from an Excel macro, VBA. I can do the connection, but whenever the code reaches the line that calls a function, I get the error message Run-time error '61704': Internal application error. My code is the…
caposaric
  • 11
  • 1
  • 2
1
vote
2 answers

SAP ERP, how to checkIn document files?

I want to create a new document in SAP ERP. Additional I have some files which belongs to this document, these files I want to upload to the SAP knowledge base. I'm using BAPI_DOCUMENT_CREATE2 to create or BAPI_DOCUMENT_CHECKIN2 to add files to a…
thomasW
  • 21
  • 2
  • 5