Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

 

Purpose

This article is to provide a check list for the currency related Issues during PO creation.

Overview

This page explains currency determination, decimal conversion and debugging tips.

How the Currency is determined from when the PO is created

Scenarios:

PO is created from Shopping cart.

  1. Create Shopping cart.
  2. Do not assign vendor or contract.
  3. Approve the shopping cart.
  4. SRM PO is created automatically.
  5. Check the PO currency.

Or

  1. Create Shopping cart.
  2. Assign vendor or contract in the shopping cart.
  3. Approve the shopping cart.
  4. SRM PO is created automatically.
  5. Check the PO currency.

Create PO manually.

  1. Assign vendor firstly and then item.
  2. Check the currency determination.

Or

  1. Add item first and then vendor.
  2. Check the currency determination.

Or

  1. Add item from contract.
  2. Check the currency determination.

Or

  1. Add item from catalog
  2. Check the currency determination.

 

Clarification of the standard behavior:

PO is created automatically from   SC

No source of supply is assigned   in the shopping cart

PO is auto-created in saved   status with the same currency as Shopping cart

Edit PO and assign a contract

The SC currency is kept in PO and a warning   message BBP_PD 696 is issued

Edit PO and assign a supplier only

The SC currency is kept in PO and a warning   message BBP_PD 093 is issued

Source of supply is assigned in   the shopping cart

PO is auto-created , in awaiting   for approval or ordered status

If contract is assigned in Shopping cart

Contract currency is taken in PO automatically

If supplier is assigned in Shopping cart

Vendor currency is taken in PO automatically

PO is Created Manually

Currency is initially defaulted   from user attribute maintained in PPOMA_BBP

Add supplier first and then item.

The default currency is not changed , but a   warning message BBP_PD 093 is issued.

Add item first and then supplier.

The default currency is not changed , but a   warning message BBP_PD 093 is issued.

Add item from contract.

The default currency is not changed , but a   warning message BBP_PD 696 is issued.

Add item form catalog.

The default currency is not changed, catalog   price is auto-converted .

Debug Tips

Function module about PO currency determination, and currency check program.

FM : BBP_PD_PO_CREATE

Program : LBBP_PDF2U

Program : LBBP_PDF01

Warning messages

BBP_PD      093   Currency & in purchase order is different to PO currency & of supplier
BBP_PD      696   &1 not defined in contract &2; current exchange rate for &3 is &4

Currency Decimal Issues

Customizing:

Transaction code OB04

Please ensure the TCURX (Transaction code OB04) setting for the currency in SRM and ECC systems are  consistent.

Standard Behavior:

The value of data stored in currency fields depends on the decimal places defined for the currency. Standard is taken as 2. Therefore the value will be the same if the currency is defined for two decimal places (relevant to transaction OY04).

The transaction OY04 allows currency maintenance and its decimals. However, the value in the “Decimals” column doesn’t mean the quantity of decimals. If you place a value of 0 (zero) in this column, so this currency will show values divided by 100. Find below the list of values for “Decimals” column, as well as its behavior:

Decimal   Places    

Value of price in  stored in table

0

/100 (Divide 100)

1

/10  (Divide 10)

2

No Conversion(Standard)

3

* 10 (Multiply 10)

 

For more information about the standard behavior ,please see the Currency integration between SRM and ECC Wiki page.

BAdIs

Please check if there is BAdI implementation which may affect the transfer of the PO currency and value:
Extended Classic Scenario: BADI BBP_ECS_PO_OUT_BADI

Debug Tips

The decimals are converted during PO transfer mapping in FM:  BAPI_CURRENCY_CONV_TO_EXTERNAL

Set breakpoint in BAPI_CURRENCY_CONV_TO_EXTERNAL and debug the re-transfer would be helpful to see how the value are converted and mapped to MM BAPI structure.

Currency Conversion Issue:

Customizing: 

SRM replicates the exchange rates from ECC by means of the report: BBP_GET_EXRATE. You could schedule that report as a job so that SRM brings up-to-date data from ECC. Please ensure the exchange rate maintained in the SRM and ECC systems are consistent.

Transaction Code: OB08

Table: TCURR

Debug Tips:

FM:  CONVERT_TO_FOREIGN_CURRENCY

Multiple currencies on PO

The standard system does not allow multiple currencies on a Purchase Order. PO has the currency at Header level. Even if you create a Shopping Cart with multiple item currencies, the PO will convert them to one.

Control of the PO Header Currency field

Based on Purchase Order status, the header currency field can or cannot be edited.

Currency is not changeable, when:
- we are in display mode,
- we are in a historical version of PO,
- in change version there is any net confirmed quantity or invoiced value for at least one item (actual values are greater than zero),
- we are in Large Document (LDH) mode.

The above logic is placed in the class /SAPSRM/CL_PDO_DYN_MDF_HD_PO, method CURRENCY.

Related Content

Related Documents

Currency integration between SRM and ECC

Related SAP Notes/KBAs

SAP Note: 2149721 - Incorrect limit amount for PO in backend for currency with more than 2 decimals

SAP Note: 2044603 - Pre commitment not cleared for SC & PO XXX: External currency amount too big - unable to convert

SAP Note: 1940617 - Net value is not formatted as per the currency maintained in the PO header

SAP KBA: 1829448 - Currency conversion problem when the Shopping Cart has different currency than the Purchase Order