Fonction SAP BAPI_0051_GET_TOTALS - Get FM budget totals

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
F_MNGT_AREA BAPI_0051_FIELDS-FM_AREA C 4 Financial management area
GET_PERIOD BAPI_0051_FIELDS-GET_PERIOD C 1 X Period data required
MAX_ROWS BAPI_0051_FIELDS-BAPIMAXROW I 4 X Maximum of lines

Paramètre Reférence Long. Facultatif Description
ITEM_DATA BAPI_0051_ITEM_GET 199 Total line for budget data
PERIOD_DATA BAPI_0051_PERIOD_GET 33 X Period value for budget data
RETURN BAPIRET2 548 Return messages
SEL_BUDGET_CATEGORY BAPI_0051_SELBUDCAT 7 X Budget category
SEL_BUDGET_TYPE BAPI_0051_SELBUDTYPE 11 X Budget type
SEL_CASH_YEAR BAPI_0051_SELCEFFYEAR 11 X Selection criteria for year of cash effectivity
SEL_COMMITMENT_ITEM BAPI_0051_SELCMMTITEM 51 X Commitment item
SEL_FISCAL_YEAR BAPI_0051_SELFISCYEAR 11 X Fiscal year
SEL_FUNCTIONAL_AREA BAPI_0051_SELFUNCAREA 35 X Functionnal area
SEL_FUND BAPI_0051_SELFUND 23 X Fund
SEL_FUNDS_CENTER BAPI_0051_SELFDSCTR 35 X Funds center
SEL_GRANT BAPI_0051_SELGRANT_NBR 43 X Grant
SEL_MEASURE BAPI_0051_SELMEASURE 51 X Funded program
SEL_PERIOD BAPI_0051_SELPERIOD 9 X Period
SEL_PROCESS BAPI_0051_SELPROCESS 11 X Process
SEL_VALUE_TYPE BAPI_0051_SELVALTYPE 7 X Value type
SEL_VERSION BAPI_0051_SELVERSION 9 X Version
SEL_WORKFLOW_STATE BAPI_0051_SELWFSTATE 5 X Workflow status

Functionality
This method allows you to read budgeting data (totals) according to thespecified selection criteria.

Notes
The following authorization objects are checked with activity 03(display):
,,F_FICB_FKR Financial management area
,,F_FMBU_VER Version and budget category
,,F_FMBU_ACC Account assignment
INCLUDE BAPI_RET

Description
This parameter is an import parameter.
INCLUDE BAPI_DATAELEMENT
For further information, please see: FMArea.

Value range

Description
This parameter is an import parameter.
INCLUDE BAPI_DATAELEMENT
Also see: GetPeriod.

Value range

Description
This parameter is an import parameter.
INCLUDE BAPI_DATAELEMENT
Also see: Maxrows.

Value range

Description
This table contains the budget data (totals) corresponding to thespecified selection criteria.
INCLUDE BAPI_DATAELEMENT

Value range

Description
This table contains the period values per item.
INCLUDE BAPI_DATAELEMENT

Value range

Description
INCLUDE BAPI_TABLE

Value range

Authorization messages
TYPE ,,ID ,,NUMBER ,,MESSAGE
E,,F6,,702,,No authorization for FM area &1 activity &2
I,,FMBAPI,,033,,Entries not selected because of authorization

Processing messages
TYPE,,ID,,NUMBER,,MESSAGE
I,,FMBAPI,,015,,No item matches your selection
I,,FMBAPI,,016,,&1 items have been selected

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the budget type.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the budget type is not taken into account forselection.

Description
This table allows you to specify selection criteria on the year of casheffectivity. It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the year of cash effectivity is not taken intoaccount for selection.

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the grant. It isan import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the grant is not taken into account forselection.

Description
This table allows you to specify selection criteria on the fundedprogram. It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiunded program is not taken into account forselection.

Description
This table allows you to specify selection criteria on the period. It isan import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the period is not taken into account forselection.

Description
This table allows you to specify selection criteria on the budgetingprocess. It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the process is not taken into account forselection.

Description
This table allows you to specify selection criteria on the value type.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the value type is not taken into account forselection.

Description
This table allows you to specify selection criteria for the fiscal year.It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the fiscal year is not taken into account forselection.

Description
This table allows you to specify selection criteria on the workflowstatus. It is an import parameter.
INCLUDE BAPI_DATAELEMENT

Value range

Default
If the table is empty, the workflow status is not taken into account forselection.