on 01-09-2009 7:10 AM
Hi experts,
I have two doubts ....... In the smartform i take a templet and inside the templet i m printing basic salary in the colun of templet. But,Problem is it takes so much space (its aCURR field and size is 13) .
I need to do this space minimize. and tell me how we convert this CURR data type to another datatype for print.
now taking space like this /_________________/ i need like that /_______/
Thanks,
Swapnika
you can use &amount+0(10)&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take a new character variable and check out how much length you can provide it for this variable.
Now move the amount field into the new variable and the print it
convert curr to char
SHIFT GWA_INPUT_TABLE-VALUE LEFT DELETING LEADING SPACE.
TRANSLATE GWA_INPUT_TABLE-VALUE USING ', '.
CONDENSE GWA_INPUT_TABLE-VALUE NO-GAPS.
G_AMOUNT = GWA_INPUT_TABLE-VALUE.
now condense this g_amount.
But you need to find out how much big the value may come into the amount field. Depending on this you need to create the new variable.
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.