Fonction SAP BAPI_CONTROLLINGAREA_GETDETAIL - List Detail Information for Controlling Area

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREAID BAPI0004_2-CO_AREA C 4 Controlling Area (Key)

Paramètre Reférence Type Long. Description
CONTROLLINGAREA_DETAIL BAPI0004_2 u 136 Details for controlling area
RETURN BAPIRETURN u 452 Return Code

Functionality
Supplies the following details about a controllingarea:

  • Name

  • Currency

  • Chart of accounts

  • Fiscal year variant
  • Example
    DATA: CONTROLLINGAREAID LIKE BAPI0004_2-CO_AREA ,
    CONTROLLINGAREA_DETAIL LIKE BAPI0004_2 ,
    RETURN LIKE BAPIRETURN .
    CONTROLLINGAREAID = '0001'.
    CALL FUNCTION 'BAPI_CONTROLLINGAREA_GETDETAIL'
    EXPORTING
    CONTROLLINGAREAID = CONTROLLINGAREAID
    IMPORTING
    CONTROLLINGAREA_DETAIL = CONTROLLINGAREA_DETAIL
    RETURN = RETURN
    EXCEPTIONS
    OTHERS = 1 .

    Notes
    You require system authorization for objectS_TABU_DIS and table class KC.
    You can determine existing controlling area keys withControllingArea.GetList (BAPI_CONTROLLINGAREA_GETLIST).
    Messages are returned in parameter RETURN. You can find the returnvalues and their meanings in the parameter documentation.

    Description
    The parameter structure holds selected information on thecontrolling area, such as the currency or chart ofaccounts.

    Description
    Method return code.

    Value range
    Type Code Meaning
    E(rror) KZ600 No authorization for displaying controlling areas
    E(rror) KZ601 Controlling area X does not exist
    Blank Blank Method ended sucessfully

    Description
    Key for controlling area for which the R/3 System is todetermine detailed information.

953472xRPM data extraction updates