Skip to Content
-1

PO PDF output type

Nov 30, 2017 at 11:24 AM

30

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Nov 30, 2017 at 12:48 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Nov 30, 2017 at 12:16 PM
0
  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.
Show 3 Share
10 |10000 characters needed characters left characters exceeded

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
  • Language of vendor
  • Currency of PO (create a PO with one of currencies defined in OY04, those with 0 or 3 decimal places)
0

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.

0