09-03-2008 12:07 PM
dear all,
Can i able to do 2 bdc sessions in a single program.
I will be having 2 file, 1 file need to create bdc for 1 transaction.
2nd file need to create a separate BDC for the 2 transaction. is this possible,,,
\[removed by moderator\]
thanks,
SUresh
Edited by: Jan Stallkamp on Sep 3, 2008 3:58 PM
09-03-2008 12:08 PM
hi
It is very much possiable you need to call OPEN_BDC_SESSION function module twice.
Hope this will help.
Regards,
09-03-2008 12:07 PM
09-03-2008 12:08 PM
09-03-2008 12:08 PM
hi
It is very much possiable you need to call OPEN_BDC_SESSION function module twice.
Hope this will help.
Regards,
09-03-2008 12:27 PM
Hi,
Open the Session Once.
Call FM: BDC_Open_Group.
For 1st Transaction.
loop at it_xd01. "Customer Creation
mention recording steps
call FM: BDC_Insert.
endloop.
loop at it_mk01." Vendor Creation
mention recording steps
call FM: BDC_Insert
endloop.
Finallly Close the session.
BDC_Close_Group.
Repeat the above loop endloop procedure for each transaction to be processed through the same session.
Regards,
MD
09-03-2008 1:23 PM
Dear Md,
Thanks for the details explanation. Can u just clarify as you told, it will create one session or 2 session..
thanks,
Suresh
09-03-2008 1:30 PM
This will create one session with two different transactions.
If you want to have two sessions, just include the bdcdata stuff twice with different names.
after that open the first group, insert dynpors and fields, and close the group. The you can open the second group, fill dynpros and fields and close the second one.
you can not open two groups at the same time, you have to close the first group before you open the second one.
11-14-2011 11:39 AM