Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit Program

Former Member
0 Likes
411

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

1 REPLY 1
Read only

venkat_o
Active Contributor
0 Likes
337

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