‎2008 Aug 06 3:46 PM
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.
‎2008 Aug 06 3:59 PM
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
‎2008 Aug 06 3:59 PM
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
‎2008 Aug 06 4:15 PM
Thanks Nimish for the information.
I have done the changes as suggested but it still dosent preview it.
Any more suggestions.
Ster