Functionality With the method BAPI_COSTESTIMATE_CREATE_SPLIT> you can importcost estimates from non-SAP systems into the system or create them inthe system. In addition to the header information, it supplies data on the costcomponent split, partner cost component split, direct partner costcomponent split, and auxiliary cost component split. A currency can be transferred into the CURRENCY> field. Thetransferred cost component split information is converted accordinglyand saved in the valuation view specified by the costing variant.Notes A check is made against authorization object K_KEKO, in which thefollowing parameters must be set:
- Activity 16 Create/Change>
- Costing variant
- Company code
The sum of the partner cost component splits must equal the main split. The partner version assigned to the costing variant defines the partnerterms for partner> and direct partner>. All cost components to be transferred refer to the cost componentstructure assigned to the costing variant. The customizing settings forthe cost components are taken into account. You can see the settings intransaction OKTZ Define Cost Component Structure>. You must always transfer the main cost component split. The partner version defines the tables to be transferred. For example,if the company code> and profit center> are defined aspartner and direct partner, the table PARNTER_COST_COMPONENTS mustcontain values for the characteristics company code> andprofit center>. The characteristic controlling area> mustalways be transferred. For these cost estimates, the field BAPI_CREATED in database table KEKOis set internally in the cost estimate header. The main cost component split and the auxiliary split should betreated the same; that is, all information for the main cost componentsplit also applies to the auxiliary split.>
Note: Tables for the auxiliary cost component split end with thesuffix "AS".>>Further information Test program: See ABAP program SAPBAPITESTCREATESPLIT Description The following parameters are returned:
- Message type: S Success, E Error, W Warning, I Info, A Abort
- Messages, message class
- Messages, message number
- Message text
- Messages, message variable
- Parameter name
- Row in parameter
- Field in parameter
- System (logical system) where the message originated
Description Characterizes the cost estimate header. For more information, see Execute Test Run>.Description Cost component split information for the individual cost components. Description Cost component split information for the individual cost components inthe auxiliary split. Description Cost component split information on the direct partner businessarea>.Description Cost component split information on the direct partner businessarea> in the auxiliary split.Description Cost component split information on the direct partner companycode. >Description Cost component split information on the direct partner company code > in the auxiliary split.Description Cost component split information on the direct partner plant>.Description Cost component split information on the direct partner plant> inthe auxiliary split.Description Cost component split information on the direct partner profitcenter>.Description Cost component split information on the direct partner profitcenter> in the auxiliary split.Description Cost component split information on the individual partners. Description Cost component split information on the individual partners in theauxiliary split.
|