Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI IN ABAP

Former Member
0 Kudos

Hi experts,

I have no idea about BAPI . Can anyone give me details about BAPI with one ex?

4 REPLIES 4

Former Member
0 Kudos

Hi,

Go through the step by step procedure in the link below:

http://www.erpgenie.com/abap/bapi/example.htm

Hope this helps.

Reward if helpful.

Regards,

Sipra

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

U can also have a look at the transaction<b> BAPI</b> ..

anversha_s
Active Contributor
0 Kudos

hi,

<i>what is BAPI?</i>

BAPI stands for Business API(Application Program Interface).

A BAPI is remotely enabled function module

ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..

You can make your function module remotely enabled in attributes of Function module but

A BAPI are standard SAP function modules provided by SAP for remote access.

Also they are part of Businees Objest Repository(BOR).

<i>Th advantages of BAPI</i>

1. Simple to use (its just an FM)

2. Not cumbersome like bdc

where we have to record each and every screen

sequence.

3. SAP guarantees the consistency

of bapi in future releases.

One of the big plusses for BAPIs is that the interface and function are not supposed to change. This is a big plus when you do upgrades or hot packs because the transaction can change (format, required inputs etc) which means you then need to update the call transaction.

Some of the BAPIs are better documented and easier to use than others.

You usually need to perform the BAPI that actually does the COMMIT after you call your BAPI.

The Program coding for calling a BAPI is usually cleaner than setting up the screen flow etc for the Call Transaction.

You don't need to worry about special data circumstances interrupting the normal data flow of the screens and causing errors because of that.

BAPIs probably have better performance since they don't do the screen flow processing.

In general if the BAPI exists for the transaction you want to perform and you can figure out how to use it the BAPI is probably the best way to go.

This is just from my experience working with both BAPI and Call Transaction. I have had some very good successes with BAPIs, but very occasionally found that I could not get the BAPI to perform the update I needed.

<u><i>Refer the transaction BAPI for detail information.</i></u>

You can also refer to below links:

http://www.sapgenie.com/abap/bapi/example.htm

Basic learning guide:

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html

BAPI intro:

http://www.sappoint.com/abap/bapiintro.pdf

Overview:

http://www.planetsap.com/Bapi_main_page.htm

Also have a look at the following link :

http://www.planetsap.com/LIST_ALL_BAPIs.htm

Regards

Anver