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

Creating own BAPI function modules

Former Member
0 Likes
978

Hi ,

Can anybody tell me how to create our own BAPI function modules .If possible send me step by step docs to my id

Mail : renjith_sapr3@yahoo.com

Regards

Renjith Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
861
7 REPLIES 7
Read only

Former Member
0 Likes
861

You just need to create a function module. People get mislead by thinking they are creating a BAPI when in fact it is a Function Module. Which is also RFC enabled.

You can create an actual BAPI but I never see the reason why.

Read only

venkata_ramisetti
Active Contributor
0 Likes
861

Hi,

Check the below link.

<a href="http://www.sap-img.com/bapi.htm">BAPI Programming Tips and Tricks</a>

Thanks,

Ramakrishna

Read only

Former Member
0 Likes
862
Read only

amit_khare
Active Contributor
0 Likes
861

hi,

BAPIs are nothing but just RFC enabled function modules.

You just require to do two extra things then from a general FM.

1. tick all the import parameters 'PASS BY VALUE' option.

2. in attaributes select Remote enable.

Hope this help you,

Regards,

Amit

Read only

shishupalreddy
Active Contributor
0 Likes
861

Hi,

Steps for the creation of BAPI funtion module.

1. Create Data dictionary structures using SE11 .

remeber the naming convenstion must be

ZBAPI<XXXX>.

THESE structures you are supposed to use in Function module as IMPORT EXPORT TABLES CHANGING parameters.

2. Now create bAPI FUNCTION MODULE

Here also naming must be ZBAPI<XXXX>.

Select the type of function module as REMOTELY ENABLED .

wRITE THE SOURCE CODE according to the interface in the function module .

After activatin the function module RELEASE the function module

iN SE37 YOU WILL FIND THE MENU OPTION FOR THIS.

All the parameters int he interface of the function module must PASS BY VALUE method.

Regards,

Message was edited by: shishupalreddy ramreddy

Read only

Former Member
Read only

RenjithKumar
Product and Topic Expert
Product and Topic Expert
0 Likes
861

Hi ,

Assigned points to you all.

Regards

Renjith Kumar