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 use BAPI

Former Member
0 Likes
689

Hi

i have some data in the Legacy file and i have to update in SAP. For that I have to use BAPI, which is ME_DIRECT_INPUT_SOURCE_LIST in the program not in LSMW.

so i have to use

Function ME_INITIALIZE_SOURCE_LIST to initialize the structures and tables

Function ME_DIRECT_INPUT_SOURCE_LIST to enter the data (see data mapping below)

Function ME_POST_SOURCE_LIST_NEW to save the source list.

But i don't know how to use this in the program.

Please help me to solve this problem.

4 REPLIES 4
Read only

Former Member
0 Likes
565

make the BDC in call transaction method and upload the data...

Read only

0 Likes
565

Hi Naresh,

I am not getting, can you explain again.

Thanks

Read only

Former Member
0 Likes
565

Hi,

first get the data from Legacy file using open_Dataset/ Gui_upload.

Use dataset if the fiel is in application serever, use Gui_download if on the presentation serever.

Then populate the parameters of the Function mOdule / Bapi, which will upload the data to R/3 database.

revert back if any issues,

Reward with points if helpful,

Regards,

Naveen

Read only

0 Likes
565

Hi Naveen,

I have to use that three functions which i had mentioned earlier.

It is fine of getting data from GUI_download.

Can you tell me how to use that functions.