Table ITCPO - SAPscript output interface
Spool Control
Print Immediately - itcpo-tdimmed = 'X'.
Delete after print - itcpo-tddelete
= 'X'.
New spool request - itcpo-tdnewid = 'X'.
Output device - itcpo-tddest
= 'SAP1'.
Calling layout script from ABAP/4
call function 'OPEN_FORM'
exporting
form = space
language = 'E'
device = 'PRINTER'
options = itcpo
dialog = 'X'
exceptions form = 5.
call function 'START_FORM'
exporting
form = 'ZSAP_FORM'
language = 'E'
startpage = 'FIRST'.
call function 'WRITE_FORM'
exporting
window = 'MAIN'
type = 'BODY'
element = 'HEADER_TEXT'.
call function 'END_FORM'.
call function 'CLOSE_FORM'.
Return to :-
SAP ABAP/4 Programming, Basis Administration,
Configuration Hints and Tips
(c) www.sap-basis-abap.com All material on this site is
Copyright.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
All product names are trademarks of their respective
companies. The site www.sap-basis-abap.com is in no way affiliated
with SAP AG.
Any unauthorised copying or mirroring is prohibited.