‎2007 Mar 13 2:38 AM
when we go with BDC sessions what code should we write, to run session programatically,
i.e manually?
‎2007 Mar 13 3:57 AM
Hi,
If you dont want to run a BDC from SM35 then use the 'CALL TRANSACTION' method.
Regards,
Sowmya.
‎2007 Mar 13 2:50 AM
If I got you right, you do not want to go to SM35 and run the session. Instead you want to run from program. If this is the case then we have understand the way Sessions work.
Session method is intented to have a two step execution, where the creation of session is the first phase and execution of session is the second phase. This is mainly to have a centralized control over the Postings made in the SAP system.
Hence, if session method is used, then it is always 2 step. We cannot programatically run the session. Instead u can use CALL TRANSACTION
Naveen
‎2007 Mar 13 3:57 AM
Hi,
If you dont want to run a BDC from SM35 then use the 'CALL TRANSACTION' method.
Regards,
Sowmya.
‎2007 Mar 13 4:07 AM
Hi,
Please go through the below link..
http://aspalliance.com/1130_Batch_Data_Communication_BDC_in_SAP_R3
regards,
nagaraj
‎2007 Mar 13 4:08 AM
Hi
Use this syntax
SUBMIT ZRMB_MM_INV_PO1(your prg name) AND RETURN
WITH P_VBELN = WA_INV-VBELN (parameters).
Cheers