Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

quantity field printing in comma

0 Kudos
697

in output quantity value as 64.198 and but in ouput printing in comma format as 64,198.would please give me a solution

8 REPLIES 8

shantraj
Explorer
600

This should be handled in language settings.

'.' is read as ',' Comma in German numbers and viceversa.

Functionals will be able to help you to change the language and check.

DominikTylczyn
Active Contributor
600

Hello alagu123

Go to SU3, tab "Defaults" and set decimal notation you need:

Best regards

Dominik Tylczynski

0 Kudos
600

i have check using su3 tab

JackGraus
Active Contributor
600

This depends on your 'output printing' application. When using SAP Smartform or SAP adobe form then in general the output format is in the format of your output partner and country. Where for instance for language EN and country US when using Smartform this results in general using decimal '.' as this is an US country setting. Similar for Adobe form where this lead to local parameter EN/US also resulting in '.' as decimal. For other country / languages the result formatting can be different.

Sandra_Rossi
Active Contributor
0 Kudos
600

As everybody told you, the format of displayed/printed numbers is dependent on the user settings/country of recipient.

I hope you understand. If not, please provide details about what you don't understand.

600

now it is working fine based on country setting ,thanks for help

abap11
Explorer
0 Kudos
600

One solution to this will be before printing move the quantity value to a temporary variable of the char datatype and use

** REPLACE ALL OCCURRENCES OF ',' WITH '.' **

(But you cant able to perform total subtotal to this column as it will be of type char)

Best Regards,

Sitesh

Sandra_Rossi
Active Contributor
0 Kudos
600

Thanks. If it's solved, could you mark one of the answers as Accepted (will appear as Best Answer), or post your own one? (which you can mark as Accepted)