‎2007 Jul 19 12:16 AM
HI,
I'm currently facing problems in alignment below are my SAPScript codes:
Q2 &ZVXX_OE_SO_ITEM-GU_QTY(5)&,,
&ZVXX_OE_SO_ITEM-KWMENG(7)&
,,<C1>&ZVXX_OE_SO_ITEM-DESCRIPTION1(C)&</>
,,&ZVXX_OE_SO_ITEM-HERKL(C)&
,,,,,,&ZVXX_OE_SO_ITEM-UNIT_PRICE(12)&
,,&ZVXX_OE_SO_ITEM-AMOUNT(12)&
In the ZVXX_OE_SO_ITEM-DESCRIPTION1 the text is too long so it always moves the next fields to be displayed.. since this is text, the number of characters is not always the same. What I want to do is to cut it to 25 characters but still indicate that it should be character? (C) How will do that?
And for unit price and amount. How will I format it to only display 8 integer values and 2 decimals only. Thanks a loT!
‎2007 Jul 19 3:50 AM
Restrict the text to desired length, ,,
<C1>&ZVXX_OE_SO_ITEM-DESCRIPTION1(<b>30</b>C)&<>
or only other alternative is to reduce the font size.
Regards,
SaiRam
‎2007 Jul 19 3:46 AM
Refer:
http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
Your solution:
1. ZVXX_OE_SO_ITEM-DESCRIPTION1
/: DEFINE DESC_25 = &ZVXX_OE_SO_ITEM-DESCRIPTION1(25)&
Now use this new 25 char length variable for display.
2. ZVXX_OE_SO_ITEM-UNIT_PRICE
,,,,,,&ZVXX_OE_SO_ITEM-UNIT_PRICE(8.2)&
Regards,
A.Singh
‎2007 Jul 19 3:50 AM
Restrict the text to desired length, ,,
<C1>&ZVXX_OE_SO_ITEM-DESCRIPTION1(<b>30</b>C)&<>
or only other alternative is to reduce the font size.
Regards,
SaiRam