01-23-2008 12:56 PM
I have an ABAP program which creates a session. I want to execute this session in background and on successful creation of the session, the created session should be processed in background without any user interaction????
01-23-2008 1:01 PM
hi,
You can submit the background job RSBDCSUB to start a session in background processing. If several sessions have the same name, RSBDCSUB starts them all.
SAP standard program RSBDCSUB helps you to schedule the job.
Hope this helps, Do reward.
Edited by: Runal Singh on Jan 23, 2008 6:33 PM
01-28-2008 7:10 AM
How can we pass the session name to RSBDCSUB dynamically without user interaction???
01-23-2008 1:04 PM
You can call program RSBDCSUB from within your ABAP:
submit RSBDCSUB
and pass variables : eg. session name, creation date, session status....
01-28-2008 9:05 AM
You can submit the program RSBDCSUB in the program where you have created the BDC session.
submit rsbdcsub
with fehler = ' '
with von = ' '
with bis = ' '
with mappe = group
with z_verab = 'X'
user sy-uname via job jobname number jobcount and return.
Regards,
Madhavi
01-28-2008 9:08 AM