on 09-03-2009 6:38 AM
HI
How to align the Currency fields like amounts and qty fields in left justified. Pls let me know.
Thanks
Anitha
Hi,
For left side moving you must declare the corresponding fields as CHAR type or N Type.
then Move Currency values into that fields using Program lines node.
In that program lines node write like :
WRITE in_val TO in_val LEFT-JUSTIFIED.
Display In_val in required position using Text node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create a paragraph format as left aligned in smart style and assign this to your value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anvi,
First check the style name you are using in your form.
Go to T/Code smartstyles
there put z* f4 and find that style name or else you create one.
If style name is present then choose that and click on Paragraph formats
and click on each listed type such as A1, A2 etc......
While clicking it you can see the Preview of letters fonts and size ..
in that choose any type whilch is left aligned and also see the font size and style
For ex you have choosen style zsd_inv and paragraph style as A1.
then go to forms and assign that style in the output tab
and choose General attributes and then click the text where you have assigned the itab of curreny field
Go to editor --> change editor then in Tag coloumn Give that choosen paragraph Type
Save and Activate
Then at output you can see the required field left aligned
Regards,
Vinu.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Define variables for currency and amount.
data: v_currenvy TYPE string,
v_amount TYPE string.
Now, pass the value of currency and amount fields to respective variables and use shift statement as
SHIFT v_currency LEFT DELETING LEADING SPACES.
SHIFT v_amount LEFT DELETING LEADING SPACES.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Have tried creating a paragraph format with left aligned in smartstyles used by the smartform?? If yes and if it does not work,then you can create a variable and pass the value to this variable.make this variable as type Character with the paragraph format left aligned.Hope it solves you problem.
Thanks,
Ahsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.