on 03-25-2008 7:53 AM
i am using the same output type and layout to print the billing document.
My issue is For india the amount is displaying properly(EX : 29,140.00)
for foreing currency it is diaplay 46,47 instead of 46.47
Anyone pls help me out
Hi ,
Based on the currency you can print the country specific amount using SET COUNTRY commnad.
example.
/: if wa_vbap-weark eq 'INR'.
/:set country 'IN'.
/:elseif wa_vbap-weark ea 'USD'.
/:set country 'US'.
......
.....
/:ENDIF
ph wa_vbap-netwr.
This will resolve your issue.
For this you need to get currency value also.
Reward points if useful,
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
There is a command in SAPScript for setting the currency, number system, etc., to country specific formats. Use the command SET COUNTRY to change the display format of the currency in your script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use this:
/: SET COUNTRY ' '
Before you display, if the problem still persists then try using /: SET COUNTRY 'IN' (or 'SG' OR 'GB' ).
If the problem still persists after you do this also...then we gotta manually change this by calling subroutines...
Regards,
Narendra.
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.