11-07-2006 11:14 AM
Hi Guys,
I have a requirement in sapscript to display text as below:
ITEM MATERIAL UNIT
10 123456 1KG
<b>Material 123456</b>
Obviously the Header text "Material 123456" needed to be display parallel with the column MATERIAL. FYI, im using code below in SAPScript to display my Header text:
<b>INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH A1</b>
So what i did was, for paragraph A1, under option "Outline" i put
6 Char
for "Number margin". Where 6th position is the start position for Header text "Material 123456".
But after all the above, it doesn't work as expected because the Header text still display at position 1 from the window.
Could u pls advice on what went wrong?
Thanks in advance.
11-07-2006 11:22 AM
did u save and activate again and if you are using in differnt client and testing in different client,
u need to copy again
11-07-2006 11:24 AM
Hi,
My understanding is that you are using a standard text to print the header
i.e ITEM MATERIAL UNIT.
are you using any paragaram format in this standard text to print this header.
this should be like below
p1 ITEM,,MATERIAL,,UNIT.
base on the tab option of paragram p1 the header will be display as per the requiremnt.
And to print the 'Material 123456' u have to use the another paragram format as bleow.
p2 ,,Material 123456(or any thing as required)
Here the tabs should be same for both the parameters.
Hope this will help you.
Regards,
Satya.
11-07-2006 11:35 AM
Hi Guys,
FYI, i can not use TAB function for the text display because im using the standard text
<b>INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH A1</b>
And the paragraph is <b>A1</b>.
Please comment how can i display the standard text start from position 6, but not position 1(as always defaulted by system).
thanks in advance.
11-07-2006 11:40 AM
Use the tabs for the Paragraph format and give the length for the Header text after how many characters or cm is to be dispalyed.
Eg
In Tab specify 6 cm for the Paragraph format P1
11-07-2006 11:40 AM
set this paragraph format to print in the center or watever position u want..
11-07-2006 11:43 AM
Hi kishan negi,
Thanks for your reply. As what i explained, i did set the paragraph A1 as below:
<b>for paragraph A1, under option "Outline" i put
6 Char for "Number margin".</b>