on 07-16-2007 3:34 AM
Hi Experts,
I am sending the Sap SCRIPT layouts from my print program to a spool request.
When i execute my print program directly (without going to debuggng mode), some part of the texts (headings.. etc) are NOT seen on the layout.
But when i run the print program via debugging mode and later turn the debug off then i am able to see the complete text on the layout from the spool.
Please tell me what more i should have to do have complete texts on my layout on the direct exec of my print prgram?
Thanks
Dany
Is it possible for you to paste some part of you code here. For example call to FM
OPEN_FORM, START_FORM, END_FORM and CLOSE_FORM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawan,
The code is huge and is enclosed in loops.any ways the sample is here
call function 'OPEN_FORM'
exporting
application = 'TX'
archive_index = ' '
archive_params = ' '
device = 'PRINTER'
dialog = ' '
form = space
language = sy-langu
options = zoption
importing
language = sy-langu
exceptions
others = 1.
zoption has :
zoption-tddest = usr01-spld.
zoption-tdimmed = 'X'.
zoption-tddelete = 'X'.
zoption-tdprogram = sy-cprog.
loop at itab.
call function 'START_FORM'
exporting
form = w_form
language = sy-langu
startpage = 'FIRST'.
another loop contains the call to main windows
loop.
endloop.
call function 'END_FORM'
importing
result = zitcpp
exceptions
unopened = 1
bad_pageformat_for_print = 2
others = 3.
endoop
call function 'CLOSE_FORM'
importing
result = zitcpp
exceptions
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
others = 4.
zitcpp has :
zitcpp-tddest = usr01-spld.
zitcpp-tdimmed = 'X'.
zitcpp-tddelete = 'X'.
zitcpp-tdprogram = sy-cprog.
zitcpp-tdnewid = ' '.
Can you please help me with this?
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.