SAP Function BAPI_CONSLEDGER_GETTOTALS - Display Totals Records

Parameter Reference Type Length Default Optional Text
CONSCHART BAPI1026-CONSCHART C 2 Consolidation Chart of Accounts
CONSDIMENSION BAPI1026-CONSDIMENSION C 2 Dimension
CONSGROUP BAPI1026-CONSGROUP C 18 Consolidation Group
CONSITEM_FLG BAPI1026-CONSITEM_FLG C 1 X FS Item Flag
CONSPARTNER_FLG BAPI1026-CONSPARTNER_FLG C 1 X Partner Flag
CONSSUBITEM_FLG BAPI1026-CONSSUBITEM_FLG C 1 X Subitem Flag
CONSUNIT_FLG BAPI1026-CONSUNIT_FLG C 1 X Consolidation Unit Flag
CONSVERSION BAPI1026-CONSVERSION C 3 Version
FISCALYEAR BAPI1026-FISCALYEAR N 4 Year
FROM_PERIOD BAPI1026-FROM_PERIOD N 3 From Period
TO_PERIOD BAPI1026-TO_PERIOD N 3 To Period
TRANSCURR_FLG BAPI1026-TRANSCURR_FLG C 1 X Transaction Currency Flag

Parameter Reference Type Length Text
RETURN BAPIRETURN1 u 470 Return Code

Parameter Reference Length Optional Text
CONSITEM_RA BAPI1026_CONSITEM_RA 23 Selection Options for FS Items
CONSPARTNER_RA BAPI1026_CONSPARTNER_RA 39 Selection Options for Partners
CONSSUBITEM_RA BAPI1026_CONSSUBITEM_RA 23 Selection Options for Subitems
CONSUNIT_RA BAPI1026_CONSUNIT_RA 39 Selection Options for Consolidation Unit
TOTALS_LIST BAPI1026_TOTALS_LIST 212 List of Totals Records
TRANSCURR_RA BAPI1026_TRANSCURR_RA 13 Selection Options for Transaction Currency

Functionality
You receive a list of the totals records with this method. It ispossible to explain the totals records in detail with the help of theindicator.
Problems which occur are returned as a message in a return code.

Notes
All authorization checks take place which are executed with a displaywithin a SAP transaction. Messages are returned in the parameterRETURN. You will find possible return values in the parameterdocumentation. The key fields used by the method are described underthe parameters.

Description
Error message to the method

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

Authorization checks 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 HV 026 Ranges: value & in field SIGN is invalid. E, I. arepermissible.
E HV 027 Ranges: value & in field OPTION is invalid(EQ,NE,GE,LE,LT,BT,NB,CP,NP)
E GK 153 &1 &2 is not available in the dimension &3
E GK 182 The version & is not defined
E GK 049 Enter valid period values between 1 and 16
E GK 100 Cons chart of accounts & is not available
E GK 277 The consolidation group & does not contain anyconsolidation units
E GK 198 Local currency of cons unit & is not maintained
E GK 664 Ledger invalid
E G0 031 The cons group & does not contain the specified consunits
E B1 537 & initial, currency amount & in & was transferredwithout currency

Description
You will find information on the meaning of the cons chart of accountsin the glossary: Consolidationchart of accounts

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

Description
You will find information on the meaning of the consolidation group inthe glossary: Consolidation group

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

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

Description
You will find information on the to period in the corresponding dataelement documentation: From period

Description
You will find information on the meaning of the to period in thecorresponding data element documentation: To period

Description
You can specify the selection conditions for the FS items with the helpof this table. The table has the structure.

Structure
SIGN Sign
OPTION Option
LOW FS itme
HIGH FS item

Description
You can specify the selection conditions for the partner units with the
help of this table. The table has the structure.

Structure
SIGN Sign
OPTION Option
LOW Partner unit
HIGH Partner unit

Description
You can specify the selection conditions for the FS items with the helpof this table. The table has the structure.

Structure
SIGN Sign
OPTION Option
LOW Subitem
HIGH Subitem

Description
You can specify the selection conditions for the consolidation unitswith the help of this table. The table has the structure.

Structure
SIGN Sign
OPTION Option
LOW Investee unit
HIGH Investee unit

Description
The list of the consolidation units are returned in a structure.Information on individual fields are listed below.

Structure
CONSUNIT Consolidation unit
CONSITEM FS item
CONSSUBITEMCAT Subitem category
CONSSUBITEM Subitem
CONSPARTNER Partner unit
TRANS_CURRENCY Transaction currency

TRANS_CURRENCY_ISO
LOCAL_CURRENCY Local currency
LOCAL_CURRENCY_ISO
GROUP_CURRENCY Group currency
GROUP_CURRENCY_ISO
UNIT_OF_MEASURE Unit of measure
UNIT_OF_MEASURE_ISO
TRANS_VALUE1
LOCAL_VALUE1
GROUP_VALUE1
QUANTITY1
TRANS_VALUE2
LOCAL_VALUE2
GROUP_VALUE2
QUANTITY2
TRANS_VALUE3
GROUP_VALUE3
QUANTITY3

Description
The selection conditions for the partner units are entered with thehelp of this table. The table has the structure.

Aufbau der Sturktur
SIGN Sign
OPTION Option
LOW Transaction currency
HIGH Transaction currency