SAP Function BAPI_CONSUNIT_GETCURRENCY - Procure Reporting Currency

Parameter Reference Type Length Default Optional Text
CONSDIMENSION BAPI1024-CONSDIMENSION C 2 Dimension
CONSGROUP BAPI1024-CONSGROUP C 18 Consolidation Group
CONSUNIT BAPI1024-CONSUNIT C 18 Consolidation Unit
CONSVERSION BAPI1024-CONSVERSION C 3 Version
FISCALYEAR BAPI1024-FISCALYEAR N 4 Year
PERIOD BAPI1024-PERIOD N 3 Period

Parameter Reference Type Length Text
COLLECT_CURRENCY BAPI1024-CURRENCY C 5 Currency Key
COLLECT_CURRENCY_ISO BAPI1024-CURRENCY_ISO C 3 Currency Key in ISO Code
RETURN BAPIRETURN1 u 470 Return Code

Functionality
The key to the reporting currency are determined with this method.Problems which occur are returned as a message in a return code.

Notes
All authorization checks take place which are also executed with adisplay within an SAP transaction. Messages are returned in theparameter RETURN. You find possible return values in the parameterdocumentation.
The key fields which are used by the method are described under theparameters.

Description
You will find information on the meaning in the corresponding dataelement documentation: Reporting currency

Description
You will find information on the meaning of the currency in thecorresponding data element documentation: Reporting
currency in ISO-Code

Description
Error message to method

Value range
In case of error the following message is returned.

Authorization check message
Type ID Number Message
E GK 051 No authorization "&" for & "&"

Verification message
Type ID Number Message
E GK 150 Dimension & is not available
E GK 180 &1 &2 is nor available in dimension &3
E GK 182 The version & is not defined
E GK 049 Enter valid period values between 1 and 16
E GK 664 Ledger is invalid

Description
You will find information on the meaning of dimension in the glossary:Dimension

Description
You will find information on the meaning of consolidation group in theglossary: Consolidation group

Description
You will find information on the meaning of consolidation unit in theglossary: Consolidation unit

Description
You will find information on the meaning of version in the glossary:Version

Description
You will find information on the meaning of fiscal year in thecorresponding data element definition: fiscal year

Description
You will find information on the meaning of the period in thecorresponding data element definition: Period