on 05-05-2009 6:58 AM
Dear all,
I was facing one problem in purchase order script.i was getting proper print out but
in case material is different the values are moving towards left side,
so the entire alignment is chaning.
means:
my PO contains two materials:
1 is : RA1303300 and 16071.
1st material : ra1303300 and descripton length is more than 20 char.
for this material i was getting proper output.
but 2nd material : 16071 and description length is less than 20 char.
fir this i was getting worg alignment.
description field is it_ekpo-txz01.
my script code is :
/E ELE
IN &IT_EKPO-CNT&,,&IT_EKPO-MATNR(20)&,,&SPACE(3)&
= &IT_EKPO-TXZ01+0(30)&,,&IT_EKPO-QVAL&,,&IT_EKPO-NETPR&,,
= &IT_EKPO-DVAL&,,&SPACE(9)&&IT_EKPO-TOT&
/: IF &IT_EKPO-TXZ01+31(40)& NE ' '
IN ,,,,,,&IT_EKPO-TXZ01+31(40)&
/: ENDIF
plese help me out in this matter.
Hi,
You can get the Perfect output by using suitable paragraph format with Correct Tab alignment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It's depends on the tab positions. Check out Pragraph formats in the script and check the TABS.
Adjust them and try to print out.
See help for if needed further.
http://help.sap.com/saphelp_nw04/helpdata/en/b6/ff0d7c4b9e11d192f20000e829fbc6/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
IN is the paragraph format to that we can create tab spaces.
SAP Scripts tabs reference is taken from left side of the window, we have three alignments
1. left.
2. Right.
3. Center.
For example if we used 10 CM left then it start writing from 10 CM onwards in the forward direction.
If we used 10 CM right, then it start writing from 10 CM in backward direction such that writing of data will end at 10 Cm.
If we used 10 CM center as reference, then it take 10 CM as reference and writes such that center of the word should maintained at 10 CM.
Using this as reference create required tab spaces to you paragraph format IN and use those in appropriate places.
Hope this will give you some idea.
Regards,
Aswini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.