Fonction SAP BAPI_COSTCENTER_GETLIST1 - List of Cost Centers for Selection Criteria (1)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESS_AREA_FROM BAPI0012_GEN-BUS_AREA C 4 X Business Area
BUSINESS_AREA_TO BAPI0012_GEN-BUS_AREA C 4 X Business Area
COMPANYCODE_FROM BAPI0012_GEN-COMP_CODE C 4 X Company code (from value)
COMPANYCODE_TO BAPI0012_GEN-COMP_CODE C 4 X Company code (to value)
CONTROLLINGAREA BAPI0012_GEN-CO_AREA C 4 Controlling area
COSTCENTERGROUP BAPI0012_GEN-COST_CTR_GRP C 15 X Cost center group
COSTCENTER_FROM BAPI0012_GEN-COSTCENTER C 10 X Cost center (from value)
COSTCENTER_TO BAPI0012_GEN-COSTCENTER C 10 X Cost center (to value)
DATE_FROM BAPI0012_GEN-SOME_DATE D 8 SY-DATUM X Validity period: Start
DATE_TO BAPI0012_GEN-SOME_DATE D 8 X Validity period: End
MASTER_DATA_INACTIVE BAPI0012_GEN-MASTER_DATA_INACTIVE C 1 X Master Record Inactive
PERSON_IN_CHARGE_FROM BAPI0012_GEN-PERS_IN_CHRG C 20 X Person responsible (from value)
PERSON_IN_CHARGE_TO BAPI0012_GEN-PERS_IN_CHRG C 20 X Person responsible (to value)
PERSON_IN_CHARGE_USER_FROM BAPI0012_GEN-PERSON_IN_CHARGE_USER C 12 X User Responsible (From-Value)
PERSON_IN_CHARGE_USER_TO BAPI0012_GEN-PERSON_IN_CHARGE_USER C 12 X User Responsible (To-Value)

Paramètre Reférence Long. Facultatif Description
COSTCENTERLIST BAPI0012_CCLIST 75 Return table: Cost center list
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 Return parameter (error table)

Functionality
The module identifies a list of cost centers that conform to theselection criteria in the interface.

Notes
Afterwards, you can use the function module BAPI_COSTCENTER_GETDETAIL1to determine more detail information for a single cost center.

Further information
For more information, see the SAP Library under Cost Center Accounting.

Description
Business area / "From value" for the selection.

Description
Business area / "To value" for the selection.

Description
Company code / "From value" for the selection.

Description
Company code / "To value" for the selection.

Description
Controlling area from which the cost centers originate.

Description
Cost center group that the cost centers to be chosen are to be assignedto.

Description
Cost center / "From value" for the selection.

Description
Cost center / "To value" for the selection.

Description
Start of selection period.

Default
The current date.

Description
End of selection period.

Description
X = Read inactive master records

Value range
SPACE, X

Default
SPACE

Description
Cost center manager / "From value" for the selection.

Description
Cost center manager / "To value" for the selection.

Description
User Responsible for Cost Center / From-Value for the Selection.

Description
User Responsible for Cost Center / To-Value for the Selection.

Default

Description
List of cost centers that match the selection criteria.
INCLUDE ACC_NO_BAPI_EXTENSION OBJECT DOKU ID TX
INCLUDE ACC_NO_BAPI_EXTENSION OBJECT DOKU ID TX

Description
Return structure for errors and system messages.