Functionality Using this method, you can change asset master records. Notes In order to change a fixed asset using this method, you need to have thesame as authorization as for changing an asset in dialog mode. Description This parameter returns information on any errors that may occur whenyou change an asset master record. Value range The fields of this parameter can have the following values: TYPE ID NUMBER Meaning E BAPI1022 008 Asset was changed S AA 291 No changes were made E BAPI1022 003 Master data field not changeable E BAPI1022 004 Depreciation area field not changeable E BAPI1022 005 Depreciation area not defined In addition, these parameter can return additional system messages fromclasses (IDs) AA and AY, which are also issued when assets are changedin dialog mode. In certain cases, the fields PARAMETER, ROW and FIELD of the RETURNparameter are also filled. They inform you in which field, in whichentry parameter (and in the case of table parameters DEPRECIATIONAREASand DEPRECIATIONAREASX: in which table row) the cause of the error canbe found. This information is especially important for system messages number 003and 004 in class BAPI1022. Description You can use this parameter to transfer the group box for "Allocations." INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for group box "Allocations" INCLUDE AM_BAPI1022_CHIND_DEF Description You have to transfer the main asset number using this parameter.Entering a main asset number is mandatory in order in order for thesystem to identify the asset to be changed. Default None Description You have to transfer the company code using this parameter. Entering acompany code is mandatory in order in order for the system to identifythe asset to be changed. Default None Description You can use this parameter to transfer the data of the "General Data"group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for group box "General Data." INCLUDE AM_BAPI1022_CHIND_DEF Description Set the indicator, if the asset master record to be changed is a groupasset. Description You can use this parameter to transfer the data of the "Insurance"group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for group box "Insurance." INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Inventory"group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Inventory" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "InvestmentAccount Assignment" group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Investment Account Assignment" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Leasing" groupbox. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Leasing" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Net WorthValuation" group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Net Worth Tax" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Origin" groupbox. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Origin" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "PostingInformation" group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Posting Information" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Real Estate"group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Real Estate" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You have to transfer the asset sub-number using this parameter.Entering an asset sub-number is mandatory in order in order for thesystem to identify the asset to be changed. Default None Description You can use this parameter to transfer the data of the "Time-DependentData" group box. INCLUDE AM_BAPI1022_CHIND_CHANGE Description Change parameter for "Time-Dependent Data" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer data of depreciation areas.Therefore, you should transfer a line in this table parameter for eachdepreciation area that you want to transfer to the data. In addition, you have to transfer a line in the change parameterDEPRECIATIONAREASX for each depreciation area that you transfer in thistable parameter. The fields to be transferred must be specified inthese lines. Description Change parameter for depreciation area data You have to transfer a line in this change parameter, as well, for eachdepreciation area, for which data is transferred using theDEPRECIATIONAREAS parameter. The AREA field in this line must have thesame value as the AREA field in the DEPRECIATIONAREAS parameter. All other fields of the change parameter are allowed to have one of twovalues: ' ' - field contents of the corresponding field of the data parameterare not transferred 'X' - field contents of the corresponding field of the data parameterare transferred Description INCLUDE AM_BAPI1022_EXTENSIONIN Description Using this table, you can add, or change or delete existing investmentsupport depreciation areas on a fixed asset.
- Add investment support depreciation areas
You need a row for each new investment support depreciation area. Foreach row, fill the INV_SUPPORT_KEY> field with an investmentsupport key that is valid in the chart of depreciation to which theasset being created belongs. The CHANGE_IND> field has to containan 'I' for 'Insert'.
- Delete investment support depreciation areas
To delete an existing investment support depreciation area in an assetto be changed, enter the investment support key in a row of the tablein the INV_SUPPORT_KEY> field. Set the CHANGE_IND> field to'D' for 'Delete'.
- Change investment support depreciation area
To replace an existing investment support depreciation area with adifferent one in the asset being changed, you have to first delete theold area and then add the new one. For this you need two rows in thetable. In the first, you fill the INV_SUPPORT_KEY> field with theinvestment support key of the existing depreciation area, and set theCHANGE_IND> to 'D' for 'Delete'. The second row has to containthe investment support key of the new depreciation area in theINV_SUPPORT_KEY> field, and an 'I' in the CHANGE_IND>field. Example:> Investment support key I1> exists in the asset master record. Youwant to change the support key to I2>. The table should then looklike this:
,,INV_SUPPORT_KEY,,CHANGE_IND>
,,I1,,D>
,,I2,,I>
|