Fonction SAP BAPI_COST_ELEM_FIXACCOUNT_GET - Read Fixed Account Assignment for Company Code/Business Area/Cost Element

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUS_AREA BAPIFIXACCOUNTS-BUS_AREA C 4 SPACE X Business area
COMP_CODE BAPIFIXACCOUNTS-COMP_CODE C 4 Company code
COST_ELEM BAPIFIXACCOUNTS-COST_ELEM C 10 Cost element

Paramètre Reférence Type Long. Description
COSTCENTER BAPIFIXACCOUNTS-COSTCENTER C 10 Cost center
CO_AREA BAPIFIXACCOUNTS-CO_AREA C 4 Controlling area
ORDERID BAPIFIXACCOUNTS-ORDERID C 12 Order
RETURN BAPIRETURN u 452 Return parameter

Functionality
This method supplies the account assignment stored in Customizing for CO(that is, a cost center and/or overhead order) for a given combinationof company code, business area, and cost element.
If no controlling area is assigned to the company code, the method doesnot provide a result. Since this a legitimate situation from a businessperspective, no error message is issued.
If no account assignment is specified in Customizing for CO at the levelof the company code, business area, and cost element, the system returnsan account assignment at the company code and cost element level.
If no account assignment is stored at the level of the company code andcost element, the system returns an "E" in the Type field of the RETURNstructure.

Description
Mandatory: The company code that is to be searched for in the case of adefault account assignment.