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: 

PO PDF output type

former_member590160
Discoverer
0 Kudos

Hi,

I have used a below in PO PDF print ANEU type:

WRITE konv-kbetr TO out-value LEFT-JUSTIFIED.

In Dev system the value are as follows after execution: konv-kbetr = 22000.00 and out-value =22,000.00

In Pre Prod the values are konv-kbetr = 22000.00 and out-value = 22.000,00.

Can anyone tell me the reason for the above values or ways to correct it.

Both the systems have same decimal notation set up. Please suggest

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos
  1. You forgot the CURRENCY cur option in the WRITE statement.
  2. Could you elaborate on 'Both the systems have same decimal notation set up.', I would have expected a reference to user master record or to current formatting setting of the language environment (and vendor master data)
  3. This information is available in online documentation.

0 Kudos

The main issue is in Dev it is correct but in pre prod . and , are getting exchanged. Can you tell me the possible reasons for this?

"Both the systems have same decimal notation set up" - for my user ID settings in SU01 tcode, the decimal notation setting is same in both the system.

0 Kudos
  • Language of vendor
  • Currency of PO (create a PO with one of currencies defined in OY04, those with 0 or 3 decimal places)

0 Kudos

As indicated in the links provided by Raymond, in ABAP, the statement SET COUNTRY is often used in smart forms (and other media) because a form may be targeted to a recipient in another country, so that the date, time and number formats match the recipient's habits.

JL23
Active Contributor
0 Kudos

The decimals defined in your user profile are your preferences how numbers will be shown in your SAP system to you.

How decimals in a purchase order are printed depends on the country settings for the country of the vendor. customizing transaction OY01

I would recommend to keep it as SAP designed it, as you have to imagine that the receiver of your PO must be able to understand what you want, otherwise it may happen that you get hundred thousand instead of just 100

just depending what the recipient understands when seeing

100.000 or 100,000