on 08-13-2009 3:42 PM
Hi
Which fuction must use for inserting amount mask in Smartform, for example:
Now: 159,00
Wish:*159,00*
Thanks in advance.
Hi,
use following logic in program lines
data: lv_netwr type netwr,
lv_amount type char17.
lv_netwr = '123456.56'. "<------- Amount
WRITE lv_netwr TO lv_amount CURRENCY 'INR'."<------ Currency key
TRANSLATE lv_amount USING ' *'.
Regards,
Raju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below printing in the smartform add program lines and do the formating there and then print.
For your senario in the program lines do like below:
data: lv_starts(2) value '**'.
data: lv_amt(13).
lv_amt = amount<----like 159,00
concatenate lv_starts lv_amt lv_starts into lv_amt.
Then in place of actual amt write lv_amt.
Regards,
Himanshu
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 | |
10 | |
7 | |
6 | |
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.