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 preview Issue

Former Member
0 Likes
416

Hello friends,

I am having a strange issue in the purchase order with the print preview. When i am clicking the print preview icon it actually prints to the printer and i dont see the preview on the screen.

Any suggestions,

Ster.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
386

In your driveer program, control parameter PREVIEW must be set the 'X' when you are in print preview.

Like:



FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.

.....
CONTROL_PARAM-PREVIEW = ENT_SCREEN.   " << import parameter of the Subroutine

    CALL FUNCTION LF_FM_NAME
      EXPORTING
        CONTROL_PARAMETERS = _CONTROL_PARAM
.....

ENDFORM.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
387

In your driveer program, control parameter PREVIEW must be set the 'X' when you are in print preview.

Like:



FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.

.....
CONTROL_PARAM-PREVIEW = ENT_SCREEN.   " << import parameter of the Subroutine

    CALL FUNCTION LF_FM_NAME
      EXPORTING
        CONTROL_PARAMETERS = _CONTROL_PARAM
.....

ENDFORM.

Regards,

Naimesh Patel

Read only

0 Likes
386

Thanks Nimish for the information.

I have done the changes as suggested but it still dosent preview it.

Any more suggestions.

Ster