‎2013 Oct 18 11:03 AM
Hi,
I was working on a SAPScript. I wanted to know if there was any way of setting the position of text elements, as in giving co-ordinates in X and Y terms.
Also, can we change the order in which the text elements are displayed in the script?
‎2013 Oct 18 11:19 AM
You can not postion text elements. You can contol what to be written when by WRITE_FORM in your driver program.
‎2013 Oct 18 11:19 AM
You can not postion text elements. You can contol what to be written when by WRITE_FORM in your driver program.
‎2013 Oct 18 11:25 AM
Hi Siddharth,
You can control vertical positioning in a text element by inserting blank lines. And you can control horizontal positioning through TABS in paragraph format.
For example, if you want to give 2CM space before the text you can create a TAB of width 2 CM in the paragraph format and then in the text element you can mention the text after the tab. (given by ,,).
Thanks,
Ajay Bose
‎2013 Oct 18 12:11 PM
Hi Siddharth,
To change the order of the text elements you have to change the print programm.
regards,
Teresa Gonçalves
‎2013 Oct 18 1:00 PM
Thanks for the answers everyone. Now where do I find these specific elements in the driver program? I copied this Z Script from a standard script. It has two driver programs as I see in the Form -> Check -> Texts list. I can't seem to find the code where the text elements are being called.
‎2013 Oct 18 1:33 PM
‎2013 Oct 18 2:14 PM
The name of the standard script is PSFC_STD_LAYOUT and I want to use it for printing Pick List for shop floor printing.
‎2013 Oct 18 3:22 PM
‎2013 Oct 21 7:59 AM
Yes, PSFCGISS is one of them, there is also PSFCPICK. I am confused, which one of them is called first?
‎2013 Oct 21 8:05 AM
Pleas check in NACE. Ask your functional which output type it is attached to. You will be able to find corresponding driver program in NACE. Seconldy these programs will have the call of text elements.
‎2013 Oct 21 10:57 AM
Check OPK8. You can also put breakpoints in both programs to see which one is called first.
‎2013 Oct 21 8:04 AM
hi Siddarth ,
Yes You Can Set Position of Your element
in Page Window Ta-be You set left,upper margin
and height,width of paragraph
I Hope this is Helpful for this Problem.
Thanks
PRAVEEN