‎2007 Feb 27 8:05 AM
HELLO ONCE AGAIN,
please tell me how to put a heading in the sap script..i tried in d header of the script but its not enough v really need a big heading representing our company....
wit regards
vijay
‎2007 Feb 27 8:06 AM
Create a Paragraph Format in the Script with a large Font.
Use that paragraph format in the text element foor the Heading.
Refer this link:
http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
REgards,
Ravi
‎2007 Feb 27 8:16 AM
but d problem is it is a predefined sap script and der is 8 paragraph formats so couldnt create new..please help me out
‎2007 Feb 27 8:25 AM
HI Vijay,
Copy the script to a new layout and make the changes. You need to make changes in some way or the other to get the required result.
regards,
Ravi
‎2007 Feb 27 8:29 AM
‎2007 Feb 27 8:24 AM
hi,
simply u can hard coding or also pass column heading in variable .
/:ph &material_no&,,&material type&,,----->variable
or
/:ph material number ,, material type,,--->hard coded.
ph-paragraph format.
_________________________________________________________________
In main window
use control commands TOP and ENDTOP.
/: TOP
colhead1 colhead2.....and so on
/: ENDTOP.
this TOP and ENDTOP should be at the beginning of Main window.
or
you create a WINDOW with the COLUMN HEADER Texts and call this in all the pages.
____________________________________________________________________
just use SYSTEM Variable to check its not equal to 1.
/: TOP
/: IF &PAGE& <> '1'
your headingds
/: ENDIF
/: ENDTOP
this way we are not printing heading in first page.
below is the logic to print headings ONLY on First page.
and also write the same headings just after you are printing your text.
/: IF &PAGE& = '1'
H1 ,,LINIT,, BIN,,PICK QTY,,UoM,,BATCH,,DESC.,,PRODUCT,,IC
= ,,TO.,,PRODUCT DESC.,,INV QTY,,CLS,,WT
H1 ,,,,,,,,,,,,,, ID,,,,LN#
H1 &ULINE(130)&
/: ENDIF
this /: IF &PAGE& = '1' is to check its not printing for all the pages.just for 1st page,where after printing some text,this heading will appear.
________________________________________________________________
try giving like this...
/: if &nextpage& > 1
/: top
--
--
/: endtop
/: endif
hope this helps,
do reward if it helps,
cheers!
sri
‎2007 Feb 28 5:46 AM