Submit via selection-screen -> Return automatically
Hello so far I have a code ....
<b> SUBMIT (p_pname) EXPORTING LIST TO MEMORY AND RETURN
USING SELECTION-SET p_vname.</b>
Now what this does is self explanatory. Afterwards I just write the list to the program with the submit statment.
However, instead of using a variant. I would like to have an option that it goes to the selection-screen where the user can input the parameters and return back to the original program afterwards.
When I tried this ...
<b>SUBMIT (p_pname) VIA SELECTION-SCREEN
EXPORTING LIST TO MEMORY AND RETUR</b>
What happens is that it goes to the selection-screen, but stays in that program which I submitted and sends the report there. Its only when I press the back button is when it Exports list to memory.
As mentioned my desired process is that after the selection-screen process is done. You return back and the report is generated there. Thank you every one and good day.