Application Development and Automation 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: 
Read only

how to create BAPI

Former Member
0 Likes
608

hello experts.. how to create BAPI...plz hlp me with an example........thnkssss

5 REPLIES 5
Read only

Former Member
0 Likes
576

Hi Soumya,

BAPI-step by step procedure

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

list of all BAPI's

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

<b>Reward Points if this helps,</b>

Satish

Read only

former_member404244
Active Contributor
0 Likes
576

Hi,

Check the below link..

http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm

Reward if helpful.

Regards,

Nagaraj

Read only

amit_khare
Active Contributor
0 Likes
576

Refer aswin's reply in the link -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
576

Hi Samanta,

Okay the steps are roughly as follows:

1. Go to transaction SWO1. Enter object interface type. Eg.(ZOBJ)

2.Change the object type release status to implemented and save the object type.

3. Using Z_BAPI (created from SE37) create an API method in the new object type.

4. In the created BOR object ZOBJ, create a new method using the function module template.

5. Input as function module name Z_BAPI.

6.Check the Instance Independent checkbox and click on the next button to continue.

7. On the parameters screen validate whether all the needed parameters are present and click on next.

8. Click Yes on the Extend program dialog to generate the call in the new method.

9. Change the release status of the object type to “To released”

10. Change also the release status of the method type to “To released”

11. Double-click on the new method ZBAPI and go to the tab ABAP and change the ABAP type from Function Module to API method.

12. Finally click on Generate button to generate the object interface and save the object type.

Hope it somehow gets you an idea how to implement a BAPI based on a FM created in SE37.

If helpful, rewards are appreciated.

Thanks a lot.

Regards,

Tush

Read only

Former Member
0 Likes
576

Hello Soumya,

Here we are providing Step-by-step Procedure to Create BAPI with proper Screen Shot.

http://www.saptechies.com/step-by-step-procedure-to-create-bapi/

please visit this below link to grasp more about BAPI

http://www.saptechies.com/search.php?siteSection=0&searchText=BAPI

Regards

Nitesh