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: 

how to create a bapi to update and add record 2 abap r3 table created by me

Former Member
0 Kudos

i have created a abap r3 table and i now want to insert records into it through SAP netweaver(Web-Dynpro). So i need a bapi to udate and insert records in the abap r3 table.if someone can please tell me how to create the bapi..coz i handel the EP part and dont know much about abap.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Just create an RFC enabled function module and call it from EP. You can create RFC enabled FM using the t.code SE37 and choose the radio button "Remote enabled Module".

Hope this helps

Krishna

2 REPLIES 2

Former Member
0 Kudos

Just create an RFC enabled function module and call it from EP. You can create RFC enabled FM using the t.code SE37 and choose the radio button "Remote enabled Module".

Hope this helps

Krishna

Former Member
0 Kudos

BAPIs are defined as API methods of SAP business object types.

A BAPI is implemented as a function module, that is stored and described in the Function Builder.

To create BAPI you are supposed to do following steps :

1) create package in SE80.

2) create function group in SE80.

3) create function module in SE37(REMOTE ENABLE) & relased it .

write your logic in that FM.

4) Go in SWO1 to create Object type / object name (write the program name which is SE38 program generated in background )

5) Then go to SWO1

Utilities -> Api methods -> ADD method

write the name of FM which you have created & continue.

6) select your method

a) EDIT -> change release status -> object type -> implement

-> released

b) EDIT -> change release status -> object type component-> implement

-> released

7) go in BAPI & you will get your BAPI.