10-20-2008 12:44 PM
Hi all,
I have requirement where I donu2019t want the print output dialog screen to be displayed, and the script needs to be directly printed to the output device.
I am actually passing the following parameters
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = ''
FORM = 'ZUSP2P_PICK_PO_L'
LANGUAGE = SY-LANGU
OPTIONS = LS_ITCPO
In the ls_itcpo, I am passing the following details,
LS_ITCPO-TDPREVIEW = ' '.
LS_ITCPO-TDIMMED = 'X'.
LS_ITCPO-TDNOPREV = 'X'.
LS_ITCPO-TDPROGRAM = SY-REPID.
LS_ITCPO-TDNEWID = 'X'.
LS_ITCPO-TDDEST = P_TDDEST.
I donu2019t want this screen to be displayed. Please suggest me a solution.
10-20-2008 12:51 PM
Hi ,
provide space for dialogue parameter, i hope it will solve ur problem
10-20-2008 12:51 PM
Hi ,
provide space for dialogue parameter, i hope it will solve ur problem
10-20-2008 1:32 PM
10-21-2008 5:57 AM
Hi Shobana,
In the structure ls_itcpo , please pass the value of the No print preview as LS_ITCPO-TDNOPREV = '1' instead of passing the value as 'X'.
This field will accept both numeric or text value.
Hope this will solve your problem.
Thanks
Booma