‎2007 Oct 01 3:53 PM
Hi Experts,
There is a module pool 'A' which exports to memory a table and executes a CALL TRANSACTION 'B' (another module pool).
After saving program B, I must execute it again 'n times' without returning to caller program 'A', until I choose BACK.
So I wrote, WHEN 'SAVE'...CALL TRANSACTION 'B', in order to save-call itself-save-call itself-etc.
The problem is that after calling itself 5 times, the stack is over and it leaves program.
I tried using LEAVE TO CURRENT TRANSACTION, but it doesn't works because when I save B it goes out from program to SAP menu, instead of recalling itself.
Is there any way of doing this or deleting the stack?
Please help me out in this.
Thanks in Advance,
Lilian.
‎2007 Oct 01 3:58 PM
Hi,
Instead of using the Call screen NNNN, use the Leave to scree NNN, then the stock will not overflow
Regards
Sudheer
‎2007 Oct 01 4:00 PM
‎2007 Oct 01 4:27 PM
I need to initialize everything and to fill internal tables again each time I save. If I LEAVE TO SCREEN nnn, the program begins again, but tables are not initialized.