‎2010 May 27 11:03 PM
Hi all,
If i use SUBMIT and RETURN within a loop,then on execution of the called program using the SUBMIT stmt,where does the control return when using RETURN addition with SUBMIT?
‎2010 May 28 12:43 AM
Hi,
If use SUBMIT... AND RETURN in one program, for instance, the system will use another memory area and open required program.
After execute this program, it will return to original program and continue the process. If SUBMIT is in a loop it will propbably execute more than 1 time.. and it is the flow.
Kind regards
‎2010 May 28 3:43 AM
Thanks for the reply.
But now when im using SUBMIT and RETURN statement in my BADi in which I have a loop and within that Im using the SUBMIT statement with parameters and then RETURN,aftre executing the called program ,the control goes back to the first line(code line) in the badi instead of going to the LOOP!
Can anyone suggest what am I doing wrong?
‎2010 May 28 4:16 AM
Probably its a Recursive Call thing subodh...your submit program in turn is again invokint that BADI again and again the loop is executing.....Check ..!
Hope it helps
‎2010 May 28 6:48 AM
‎2010 Aug 03 1:51 PM
Hi Friends,
I have an issue in my BDC report where i am using submit programa and return via job. Here that submit program is working as expected if we execute that seperatekly. But when i execute the main program where i have used submi in background then it is giving error in job log saying 'Invalid This report cannot be executed in background' .
Please help me out in this issue
Thanks in advance
Kishore
‎2010 Aug 03 6:12 PM
Please start a new question rather than hijacking an old one.
matt