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

bapi_material_savedata

Former Member
0 Likes
668

HI experts,

i have to read the data from excel sheets and then pass it to bapi_material_savedata . i used ooabap to read the data from excel sheets. based on the sheet name i have to pass the data from t_data to bapi.

data : i_data TYPE soi_generic_table ,

i need to pass the data captured in i_data to bapimathead & bapi_marcx.

.

thanks in advance,

regards,

Raja.

4 REPLIES 4
Read only

Former Member
0 Likes
620

And, the part of your program to do this that is not working is?

Read only

0 Likes
620

Hi experts,

i am not able to convert the data captured in i_data to the required internal table to pass to bapi.

thanks&regards,

Raja

Read only

0 Likes
620

Hi,

BAPI internal table should be same as BAPI tables strcture.

You have to loop at the internal table which you export from excel and pass it trough workarea into BAPI internal table, alse check once that fields should be same and may be some Converioon exit may be required for the fields.

Thanks

Arbind

Read only

Former Member
0 Likes
620

Hi,

Bapi_Material_savedata is used to save the bapi data.

By using these function module.

You have follow these link. it will helps to you.

http://wiki.sdn.sap.com/wiki/display/ABAP/creatingamaterialusingtheBAPIBAPI_MATERIAL_SAVEDATA

I hope it will helps to you.

Regards,

Sekhar