‎2007 Jul 07 1:18 PM
Hi Experts,
In a classical ABAP report we make use of
write:/20 'Text'.to print text from the 20th column. Can we do something similar in a SAP Script Page Window. I have a box and lines drawn. Now I want the text to start exactly after the vertical line(column). Is there a way to do in SAP Script.
Regards
Abdullah.
‎2007 Jul 07 1:52 PM
Hi
You can do one thing. you can straight away write the field
&BSEG-SGTXT&
in two lines straight with offset.
in the first line T1 &BSEG-SGTXT+0(25)&
In second line T1 &BSEG-SGTXT+25(25)&
first write like this and see, is it printing or not.
Reward all helpfull answers
Regards
Pavan
‎2007 Jul 07 1:52 PM
Hi
You can do one thing. you can straight away write the field
&BSEG-SGTXT&
in two lines straight with offset.
in the first line T1 &BSEG-SGTXT+0(25)&
In second line T1 &BSEG-SGTXT+25(25)&
first write like this and see, is it printing or not.
Reward all helpfull answers
Regards
Pavan
‎2007 Jul 07 2:03 PM
Hi,
It takes the characters from using the offset and displays it. I dont want to print a few characters of the fields. I want to position them on my form so that they are displayed in the correct places.
Regards
Abdullah
‎2007 Jul 07 3:20 PM
Hi,
You must use paragraph formats tabs configuration.
You make a paragraph format with a tabulation (that you can measure in characters, CM, inches...) that outputs your text wherever you want on the line.
then in your window,put your text with this format (let's assume its name is PF)
on the classical editor, tabs are represented by ",," (double comma).
Reward if it helps.
‎2007 Jul 07 3:26 PM
Create a haracter/paragraph format as per the requirement and provide the Tab settings in in.
e.g. Tab 1 Position 20.
Use that format on your tesxt.
Refer the links to know in details -
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRFORM/BCSRVSCRFORM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBERG/BCDWBERG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
Regards,
Amit
reward all helpful replies.
‎2007 Jul 07 3:41 PM
You can use Paragraph format in SE71 Transaction,
here you can able to see Tab position ,give first tab would be 20 char alignment would be Left or right.
If you need design the box ,then i am giving simple example below :
POSITION WINDOW
BOX WIDTH '74' CH HEIGHT '36.5' LN FRAME 10 TW
POSITION WINDOW
BOX WIDTH '74' CH HEIGHT '3.1' LN FRAME 10 TW INTENSITY 10
POSITION XORIGIN '0.9' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '3.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '5.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '7.2' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '8.3' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '9.5' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '12.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '14.5' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '17.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '19.7' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
Thanks
Seshu