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

print parameter

Former Member
0 Likes
1,309

I have a print preview in my script, when i click PRINT I need pop up dialog box which normally comes up when we click on PRINT in print preview window. Which parameter do I need to set in the FM open_form for this.

11 REPLIES 11
Read only

Former Member
0 Likes
1,204

Hi,

In import parameter OPTIONS, pass ITCPO-TDPREVIEW = 'X'

Thanks.

Read only

venkat_o
Active Contributor
0 Likes
1,204

Hi Sharma, Try this way.

CALL FUNCTION 'OPEN_FORM'
     EXPORTING
          dialog = 'X'
          -
          -
          - ...
Thanks Venkat.O

Read only

Former Member
0 Likes
1,204

Hello

DIALOG = 'X'.

Read only

0 Likes
1,204

This message was moderated.

Read only

0 Likes
1,204

no,,

I am already in the preview window...now when I select PRINT from here I need a POP UP ...which shows like number of pages etc...

Read only

0 Likes
1,204

Hi Sharma,

Have you checked the below one.


DATA:options TYPE itcpo.

options-tdpreview = 'X'. "Print preview

CALL FUNCTION 'OPEN_FORM'
 EXPORTING
   dialog                            = 'X'
   form                              = 'ZTEST_FORM'
   language                          = sy-langu
   options                           = options
      - 
      - 
      - ....

Thanks

Venkat.O

Read only

0 Likes
1,204

Hello

I think it is impossible to get print parameters from preview.

Read only

Former Member
0 Likes
1,204

Hi ,

click on this link.this may be helpful to you.

[http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset.htm]

PLease let me know if you have any issues on this.

Thanks,

Rajeshwar.

Read only

0 Likes
1,204

this still is not the solution

Read only

Former Member
0 Likes
1,204

This message was moderated.

Read only

Former Member
0 Likes
1,204

hi Kushagra ,

i think if you set the importparameter 'MODE' to 'BATCH' it would work also in background.

Perhaps you also set 'NO_DIALOG' with 'X'.

or you can Try below FM -

L_HU_PRINT

L_PRINT_PARAM_FIND

L_PRINT_PARAM_FIND_40

L_PRINT_TO_LABELS

L_PRINT_TO_MULTIPLE

L_PRINT_TO_MULTIPLE_REF

L_PRINT_TO_POSTING_CHANGES

L_PRINT_TO_SINGLE

L_PRINT_TO_SU

Regards

Saurabh Goel