Fonction SAP BAPI_COPAQUERY_GETACC_ACTDATA - BAPI COPAQuery.GetAccountBasedActualData

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREA BAPI1168-CO_AREA C 4 Controlling area
MAXRECORDS BAPI1168-NUM_OF_RECORDS N 8 Maximum number of records to be returned
OPERATINGCONCERN BAPI1168-OP_CONCERN C 4 Operating concern from which data is to be read
VALUATIONTYPE BAPI1168-VALUATION_TYPE N 1 Valuation view

Paramètre Reférence Long. Facultatif Description
RESULTDATA BAPI_COPA_DATA 91 Output: selected (aggregated) data
RETURN BAPIRET2 548 Output: Messages
SELECTEDFIELDS BAPI_COPA_FIELD 30 Input: Fields to be returned
SELECTION BAPI_COPA_SELECTION 133 Input: Selection criterion for data

Functionality
This method is used to read actual data in account-based ProfitabilityAnalysis.
For more information and an example, see the documentation forCOPAQuery.GetCostActualData (function moduleBAPI_COPAQUERY_GETCOST_ACTDATA).
INCLUDE COPAQUERY_MAXRECORDS OBJECT DOKU ID TX

Description
For information on the significance of the operating concern, see therelevant glossary definition:Operating concern.

Description
Determines the valuation view for which data is to be read.

Value range
0 = legal valuation
1 = group valuation
2 = profit center valuation
INCLUDE COPAQUERY_FIELDLIST OBJECT DOKU ID TX
INCLUDE COPAQUERY_SELECTION OBJECT DOKU ID TX