‎2011 Feb 28 4:20 PM
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.
‎2011 Feb 28 7:52 PM
And, the part of your program to do this that is not working is?
‎2011 Mar 01 9:49 AM
Hi experts,
i am not able to convert the data captured in i_data to the required internal table to pass to bapi.
thanks®ards,
Raja
‎2011 Mar 01 10:25 AM
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
‎2011 Mar 02 1:15 PM
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