cancel
Showing results for 
Search instead for 
Did you mean: 

output issue relating to currency format

shakeer_khan
Participant
0 Kudos

hi,

i have a an issue where in the invoicing format(net amount) is xx.xxx,xx no the client wants the invoicing format to be in xx,xxx.xx here the biling type is fv(final invoice) when i check in vf03 we have the required format i.e xx,xxx.xx but when the output is issued to print there is a change in the invoicing format pls guide

regards

shakeer khan

Accepted Solutions (0)

Answers (2)

Answers (2)

shakeer_khan
Participant
0 Kudos

thanks for the reply

Former Member
0 Kudos

Hi,

Generally RFC call uses the RFC user settings, and they seem to be "decimal point" in

your case. This is why the ABAP function returns a different value than when you try it

yourself in SE37. You can change the RFC user settings, or you use the "-currentuser" option

in "Call" to issue the call for the user that is currently logged on.

Alternatively, you can change the decimal point into a decimal comma with GuiXT means.

This is a little bit tricky since the "decimalseparator" option in the "Set" command defines both

the input and the output of the number. Use the following coding to avoid this difficulty,

making the number an integer number (no decimals) first:

// example: V[temp_price] is "123,456.50"

set V[x] "&V[temp_price] " * 100 decimalseparator= "."

Set V[x] "&V[x]" / 100 decimals=2 decimalseparator= "," groupseparator= "."

// Now V[x] is "123.456,50"

Regards

Raj