on 01-16-2007 4:55 PM
Hello Experts,
I have two text fields in the MAIN window which I want to Right-Align.
Both the text fields are basically amount fields also containing the sign. These are text fields because I am getting the values in these fields from the subroutine defined in my SAPScript form. Now when I try to align these two fields I am getting them properly.
These are appearing as:
1.29 1.29
1.29 1.27
12925.00 -234.56
-3173.00 5176.21
Thanks in Advance
Hi,
Okay try this..
DATA: V_CHAR(20).
READ TABLE IT_OUTPAR INDEX 1.
WRITE: V_VALUE TO V_CHAR RIGHT-JUSTIFIED.
IT_OUTPAR-VALUE = V_CHAR.
MODIFY IT_OUTPAR INDEX 1.
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I believe you may not be able to see it in the debugging...Execute the form completely..and check it in the output..
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you are moving the value to the internal table of ITCSY..Use WRITE right justified..
Example..
READ TABLE IT_OUTPAR INDEX 1.
WRITE: V_VALUE TO IT_OUTPAR-VALUE RIGHT-JUSTIFIED.
MODIFY IT_OUTPAR INDEX 1.
Thanks,
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the Paragraph format, use the Alignment as RIGHT and write the Symbol as &Symbol(R)&. if the Problem still coming, then write a Perform in the Script, and in the Form just move it to a Integer format and print it
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For right justified..use &symbol(R)&
Check this link
http://help.sap.com/saphelp_46c/helpdata/EN/d1/8034a0454211d189710000e8322d00/content.htm
THanks
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.