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
11
votes
3 answers

SAP R/3 removes trailing spaces from IDoc XML files

I have a Java application that uses SAP JCo 3 libraries. One of the use cases consists of receiving a IDoc file from the SAP instance (R/3, ERP 6.0 EhP 7) and convert it to XML. The problem is that, during the conversion (executed by the IDoc…
CountD
  • 669
  • 2
  • 11
  • 34
8
votes
2 answers

Tutorials, manuals, documentation for using SAP JCo 3.x

Do you know any decent documentation source for using JCo 3.x? Most of the materials I could find are pretty outdated and refer to previous versions (JCo 2.x). In case, anyone wondered, the things I found are: Tips&Tricks JCo…
Grzegorz Oledzki
  • 23,614
  • 16
  • 68
  • 106
7
votes
2 answers

SAP JCo: JCoDestination vs. JCoClient

I'm calling a function in SAP system from Java with the JCo library. So far my call works, but when I look for help in the Internet, there is always a JCoClient that is being used to get the functions, making commits, etc. But a JCoClient class does…
Philipp
  • 4,645
  • 3
  • 47
  • 80
6
votes
5 answers

How to connect to a SAP System using sapjco3 and Eclipse?

I need to connect to SAP Systems via standard BAPI calls. I already installed JCo (sapjco3) and added the .jar to my build path in Eclipse. But due to the fact that I am rather a beginner regarding network/server programming, I have no idea how to…
Jan Konrad
  • 135
  • 1
  • 1
  • 5
6
votes
1 answer

BAPI_TRANSACTION_COMMIT with WAIT = 'X' within a BADi

What would be the effect of using the 'BAPI_TRANSACTION_COMMIT' with 'WAIT' parameter when equals to 'X' inside a BADi? Should I expect that SAP will commit the data when LUW commits? I'm aware that inside 'BAPI_TRANSACTION_COMMIT' it happens…
Nelson Miranda
  • 5,484
  • 5
  • 33
  • 54
6
votes
4 answers

Execute a program via SUBMIT, with GUI suppression

I want to expose the functionality of an SAP program (transaction) as a BAPI. I need to call a report and supply range filters such that the GUI is bypassed. Does anyone have a working example of the SUBMIT ... WITH ... ABAP construct, or other…
user26652
  • 116
  • 1
  • 2
  • 4
5
votes
3 answers

Pass object instances to RFC function modules

With ABAP construction STARTING NEW TASK I can start a separate task running independently of the current, e.g. for batch execution. I would like to hand over an Object instance RFC functions don't accept these kind of parameters. Is there somebody…
Hartmut Pfarr
  • 5,534
  • 5
  • 36
  • 42
5
votes
4 answers

How to search for available RFC function modules and tables

I've got to admit that I'm not an expert on SAP R/3 programming, so this is more of a basic question on that matter. Is there any way to get a list of accessible RFC modules and/or tables on a SAP system? On many examples on the internet I've found…
naacal
  • 620
  • 1
  • 6
  • 16
5
votes
4 answers

Print a list of BAPIs using JCo

I established connection to a SAP Server and I would like to print a list of BAPIs in my Java program. I am using sapjco3.jar. Is there any way to do it?
Prabhakar Manthena
  • 2,223
  • 3
  • 16
  • 30
5
votes
4 answers

Does SAP BAPI has proprietary communication format or an open one?

I've just been dumped into the middle of a SAP project and I need to use SAPs BAPIs to pull a bunch of information out of the client SAP system. Given that SAP is a closed platform I've been having trouble finding a high-level overview of what is…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
5
votes
2 answers

SAP JCo RETURN Table empty when using TransactionID

I'm using the JCo Library to access SAP standard BAPI. Well everything is also working except that the RETURN Table is always empty when I use the TID (TransactionID). When I just remove the TID, I get the RETURN table filled with warnings etc. But…
Philipp
  • 4,645
  • 3
  • 47
  • 80
4
votes
1 answer

BAPI_ACC_DOCUMENT_POST on ABAP Cloud?

On an on-premise we have option to call BAPI for CRUD operations. How can we achieve the same in SAP cloud environment. For example I am trying to find solution to post FI documents from external API into SAP Cloud, equivalent to…
4
votes
1 answer

Creating documentary batches programmatically with BAPI_GOODSMVT_CREATE?

Summary of the problem Automatic Documentary Batch handling through custom ABAP code My employer wishes to perform automatic documentary batch handling on some products from external vendors, and I'm trying to figure out how to set this up through…
Halcyon
  • 53
  • 8
4
votes
2 answers

How to control transaction (commit/rollback) when reading an IDOC

When using JCo (3.x) to read IDOCs sent from a SAP server, what action should be taken to indicate the message has been properly received (i.e. commit)? In Java I imagine something like: public class MyHandler implements JCoIDocHandler { public…
Grzegorz Oledzki
  • 23,614
  • 16
  • 68
  • 106
4
votes
2 answers

What is the difference between BAPI, BAdI, enhancement and modification?

What are the differences between a BAPI (Business Application Programming Interface), BAdI (Business Add-Ins), customer enhancement and customer modification?
Eduardo Copat
  • 4,941
  • 5
  • 23
  • 40
1
2 3
13 14