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

Former Member
0 Kudos

Can someone tell me detailed steps to.......Develop a BAPI for passing material stock status to an external material valuation system and receiving plant and material range info.

any help is appreciated.

thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Look at the below link to create a BAPI step by step ..

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

Regards

Sudheer

5 REPLIES 5

Former Member
0 Kudos

Hi,

Look at the below link to create a BAPI step by step ..

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

Regards

Sudheer

Former Member
0 Kudos

Hi,

You can create a function module with the "Remote enabled module" button selected in the attributes tab of the FM.

In the importing parameter give the following..Check the pass by value button..

MATNR TYPE PDSMAINT_MATNR_RNG_T

WERKS TYPE GDS_SELRANGE_WERKS_TAB

In the TABLES parameter give the internal table name..

<b>Code</b>

Get the records from the table MARD and store in teh tables parameter filtering the material and plant.

Thanks,

Naren

0 Kudos

hi,

i have no knowledge about BAPI's.

my ABAP program....should it be of type executable, classpool???

receiving plant and material range info.......where will this info be displayed.....

plz help me...

Former Member
0 Kudos

Hi,

BAPI is just like creating a function module in the transaction code SE37...Except you have to select the radio button "Remote enabled" in the attributes tab..

Check this link..

http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm

Thanks,

Naren

Former Member