‎2010 Mar 24 1:14 AM
Hello Experts,
I have a requirement for submiting a std. program(BD12) in a custom program. This std program has an output in the form of pop-up screen which I want to bypass, infact couple of them.
I tried using : SUBMIT programname and return with paremeter1 = value1
with parameter2 = vlaue1
EXPORTING LIST TO MEMORY.
But this is not working...Can anyone provide me with a solution?
Thanks
JM
‎2010 Mar 24 1:55 AM
Hi JM,
<li>You can suppress pop-ups by running the program as background job.
<li>Follow the below steps
1. Call the function module JOB_OPEN (Use JOB_OPEN to create a background job). 2. Use SUBMIT statement like below.
DATA print_parameters TYPE pri_params.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
3. Call the function module JOB_CLOSE (Close Background Request With COMMIT WORK)
I hope that it helps you . Thanks Venkat.O