cancel
Showing results for 
Search instead for 
Did you mean: 

Printing issue

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.