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

BDC multiple sessions

Former Member
0 Likes
610

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.

1 ACCEPTED SOLUTION
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
500

Hi Ramakrishna,

     You could use BAPI_MATERIAL_SAVEDATA for your requirement instead of BDC. Its quite simple.

Regards

3 REPLIES 3
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
501

Hi Ramakrishna,

     You could use BAPI_MATERIAL_SAVEDATA for your requirement instead of BDC. Its quite simple.

Regards

Read only

0 Likes
500

Thanks for ur response. but is it possible with session method? if yes what is the logic?

Read only

Former Member
0 Likes
500

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