‎2006 Dec 11 11:28 AM
Hi Gurus
While processing my session in background I was given as:
SUBMIT rsbdcsub
WITH mappe EQ 'session name'
WITH von EQ sy-datum
WITH bis EQ sy-datum
WITH z_verarb EQ 'X'
WITH logall EQ 'X'
AND RETURN .
after submitting the session i need some action has to code.
as after the above statements
perform xxx.
But control is not comming after the above statement.
Please suggest me the things.
Regards,
Kumar
‎2006 Dec 11 11:32 AM
Hi,
try this way:
SUBMIT rsbdcsub <b>AND RETURN</b>
EXPORTING LIST TO MEMORY
WITH mappe = p_sessionnanme
WITH von = w_datum
WITH bis = sy-datum
WITH z_verarb = c_true
WITH fehler = c_false.
For more detail do F1 on SUMBIT in se38.
Also Search in SDN with key - <b>rsbdcsub</b>
Will get few more useful related Posts.
Reward points if this helps.
Manish
Message was edited by:
Manish Kumar
‎2006 Dec 11 11:32 AM
Hi,
try this way:
SUBMIT rsbdcsub <b>AND RETURN</b>
EXPORTING LIST TO MEMORY
WITH mappe = p_sessionnanme
WITH von = w_datum
WITH bis = sy-datum
WITH z_verarb = c_true
WITH fehler = c_false.
For more detail do F1 on SUMBIT in se38.
Also Search in SDN with key - <b>rsbdcsub</b>
Will get few more useful related Posts.
Reward points if this helps.
Manish
Message was edited by:
Manish Kumar
‎2006 Dec 11 11:39 AM
in ur program ur writing only Sumbit which means ur submitting data to another program and asking to execute it. So, sap cursor goes to that particular program and finishes the job and goes back to the initial screen of the calling program. It does not return to ur program.
Write as Submit <program name> and return
with field1 = field1
with field2 = field2.......
This way the sap cursor goes to another program and executes the same and once finished it returns back to the main program and checks what needs to be done later.
‎2007 May 23 11:37 AM