01-12-2010 3:11 PM
Hello all,
there is a normal ABAP report that writes with the WRITE command on a form (sheet of paper) .
Now I should make the font smaller on a special block of this form (an address field).
I think I can only use the command PRINT-CONTROL in this case. I tried it with PRINT-CONTROL SIZE xy and PRINT-CONTROL FUNCTION 'SIXXX', but nothing happened.
In the ABAP docu they say that PRINT-CONTROL can only be used together with NEW-PAGE PRINT ON or SUBMIT TO SAP-SPOOL . But it didn't work at all.
A small example:
write: / 'Before print-control.'.
PRINT-CONTROL SIZE 2.
write: / 'After print-control size 2.'.
PRINT-CONTROL FUNCTION 'SI008'.
write: / 'After print-control function SI008'.
Also I use NEW-PAGE PRINT ON nothing happens.
Please, what can I do?
After a long time searching in the internet I didn't found an adequate solution. Can you help me?
01-13-2010 3:42 PM
01-13-2010 3:48 PM
If you need different font sizes in the same spool request, I don't know of any solution other than SAPScript or Smartforms.
Rob
01-14-2010 10:14 AM
Ok, just a last question:
if i can't change the font size in ABAP, for what is there the PRINT-CONTROL SIZE and PRINT-CONTROL FUNCTION 'SIxxx' respectively?
Thanks for your answer!
Greetings,
KleinerEisbaer
01-20-2010 7:55 AM
Somebody who knows something about this PRINT-CONTROL?
What is it good for?
10-31-2013 2:32 PM
Hi, Check this link:
http://help.sap.com/saphelp_nw70/helpdata/en/d9/4a95e351ea11d189570000e829fbbd/content.htm
Regards