Functionality Caution! Method CreateFromData will not be supported in the future.Method CreateFromData1 will take over its functions on the same objecttype (BUS1022). If you have already used the CreateFromData method, then you have tochange over to using the new method. If you are planning to use the CreateFromData for the first time, donot use it. Instead use the CreateFromData1 method. Notes You need the same authorizations for creating an asset using thismethod as you do for creating an asset in dialog mode. Description In this parameter, the system returns the key of the asset created,which consists of the company code, main asset number and assetsub-number. Description This parameter returns information on any errors that may occur whenyou create an asset master record. Value range The fields of this parameter can have the following values: TYPE ID NUMBER Meaning S BAPI1022 007 Asset master record was created E BAPI1022 001 Parameter field GENERALDATA-ASSETCLASS not filled E BAPI1022 002 Par. ASSET not filled (when creating sub-number) 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 createdin 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 data of the "Allocations"group box. INCLUDE AM_BAPI1022_CHIND_CREATE Description Change parameter for "Allocations" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer a main asset number.Transferring a main asset number is only allowed if the new asset isbeing created in an asset class with external number assignment. Ifthis requirement is fulfilled, it is also mandatory that you enter amain asset number. Default None Description You have to transfer the company code using this paramter. Entering acompany code is mandatory for creating a fixed asset. Default None Description You can use this parameter to specify that you are creating an assetsub-number rather than an main asset number. Value range ' ' - A main asset record is created 'X' - An asset sub-number is created Default ' ' Description You can use this parameter to transfer the data of the "General Data"group box. INCLUDE AM_BAPI1022_CHIND_CREATE Description Change parameter for "General Data" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Insurance"group box. INCLUDE AM_BAPI1022_CHIND_CREATE Description Change parameter for "Insurance" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to transfer the data of the "Inventory"group box. INCLUDE AM_BAPI1022_CHIND_CREATE 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_CREATE Description Change parameter for "Investment Account Assignment" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description Description You can use this parameter to transfer the data of the "Leasing" groupbox. INCLUDE AM_BAPI1022_CHIND_CREATE Description Change parameter for "Leasing" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description Description You can use this parameter to transfer the data of the "Net WorthValuation" group box. INCLUDE AM_BAPI1022_CHIND_CREATE Description Change parameter for "Net Worth Valuation" 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_CREATE 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_CREATE 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_CREATE Description Change parameter for "Real Estate" group box. INCLUDE AM_BAPI1022_CHIND_DEF Description You can use this parameter to specify an asset that should be used as areference for the asset you are creating. You make this specificationby entering a company code, an asset main number, and possibly an assetsub-number. The system transfers the fields from the reference assetthat are specified in the screen layout control of the asset class.This function corresponds to the function in dialog mode for creatingan asset using a reference. Default None Description You can transfer an asset sub-number using this parameter. Transferringan asset sub-number is only allowed, if an asset (main number orsub-number) is being created in an asset class with external numberassignment. If the asset is being created in an asset class withexternal number assignment, entering an asset sub-number is mandatory. Default None Description You can use this parameter to transfer the data of the "Time-DependentData" group box. INCLUDE AM_BAPI1022_CHIND_CREATE 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 |