2013 Aug 10 10:04 AM
Hi everyone,
I am uploading material master data using bdc session method.I have a flat file with 10000 records. now i have to create multiple sessions with 2500 records. HOW DO I CREATE 4 SESSIONS?
i am attaching a sample program check it once.and give me any suggestions?
Thanks,
Ram.
2013 Aug 10 10:22 AM
Hi Ramakrishna,
You could use BAPI_MATERIAL_SAVEDATA for your requirement instead of BDC. Its quite simple.
Regards
2013 Aug 10 10:22 AM
Hi Ramakrishna,
You could use BAPI_MATERIAL_SAVEDATA for your requirement instead of BDC. Its quite simple.
Regards
2013 Aug 11 7:58 AM
Thanks for ur response. but is it possible with session method? if yes what is the logic?
2013 Aug 11 10:57 AM
Hi Ramakrishna,
As mentioned by Arun, BAPI_MATERIAL_SAVEDATA could be the best choice for your requirement.
BAPI_MATERIAL_SAVEDATA - Creation and Updation of the Material Master.
Comparatively this is much faster in execution than that of the BDC and you can process this in the Background at one go without creating multiple sessions.
Also dont forget to use BAPI_TRANSACTION_COMMIT after the usage of the BAPI_MATERIAL_SAVEDATA.
Refer the below link to find the example report for this BAPI.
http://wiki.sdn.sap.com/wiki/display/PLM/Example+Report+for+BAPI_MATERIAL_SAVEDATA
Regards,
AyyamPerumal