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

issue in spool printing

Former Member
0 Likes
554

hi experts,

I have a program in which I am submitting another program via its selection screen to SAP-POOL and printing the output . something like this:


SUBMIT z_tstpicklist TO SAP-SPOOL
        SPOOL PARAMETERS params WITHOUT SPOOL
        DYNPRO USING SELECTION-SCREEN 1000
                          WITH p_werks = p_werks
                          WITH s_wadat IN s_wadat
                          WITH s_kunnr IN s_kunnr
                          WITH s_vbeln IN s_vbeln
                          WITH r_bar   = r_bar
                          WITH p_rpt   = p_rpt
                         WITH p_pal = p_pal
                         with p_seq = p_seq
                          AND RETURN.

Now the problem is.... the output is being printed, but along with it another page containing the selection parameters of the submitted program is also being printed.

I dont want the selection page to print. How can I suppress it?

Thank you all in advance.

goldie.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

Hi Goldie,

You don't include the code where you populate the spool parameters in params, but the field that triggers is extra page is PRBIG. Set this to blank and you will remove the extra page.

Regards,

Nick

3 REPLIES 3
Read only

Former Member
0 Likes
535

Hi Goldie,

You don't include the code where you populate the spool parameters in params, but the field that triggers is extra page is PRBIG. Set this to blank and you will remove the extra page.

Regards,

Nick

Read only

0 Likes
534

Hi Nick,

I am actually getting the spool parameters from the FM 'GET_PRINT_PARAMETERS'.

But I shall change the PRBIG parameter and try it.

Thanks for the tip.

goldie.

Read only

0 Likes
534

Thank you Nick,

That solved the problem.

goldie.