on 2024 Jan 02 8:24 PM
Hi All,
I'm getting an error AY 218 - no change parameter given for depreciation area 00.
but there is no depreciation area 00 in the chart of depreciation.
please suggest.
Regards,
Charmaine
Request clarification before answering.
Hi the problem could be in the BAdI implementation. Based on some previous incidents please see the following explanation:
The long text of the error message shows the following:
No change parameter given for depreciation area &1
Diagnosis
During creation or change of an asset using function module ASSET_MASTERRECORD_MAINTENANCE, you want to assign values to the fields of depreciation area . However, you did not transfer a line for depreciation area in the change parameter T_ANLBX or DEPRECIATION_AREASX in the call of BAPIs FIXEDASSET_CREATE and FIXEDASSET_CHANGE .
From previous messages this was the response:The reason for the error is that you are not informing the BAPI which contents are to be performed. For each table that you transfer values, like DEPRECIATIONAREAS, there is a table bellow with suffix X, like DEPRECIATIONAREASX. This kind of tables controls the fields that are to be transferred.
Check bellow the long text of error message AY218:
Diagnosis
During creation or change of an asset using function module
ASSET_MASTERRECORD_MAINTENANCE, you want to assign values to the fields
of depreciation area . However, you did not transfer a line for
depreciation area in the change parameter T_ANLBX or
DEPRECIATION_AREASX in the call of BAPIs FIXEDASSET_CREATE and
FIXEDASSET_CHANGE .
Check the documentation of DEPRECIATIONAREAS table:
Description
You can transfer data of depreciation areas using this parameter.
Transfer a * in this table parameter for each depreciation area, in
which data is to be transferred. In addition, a * has to be transferred in the change parameter
DEPRECIATIONAREASX for each depreciation area that is transferred in
this table parameter. These rows in the change parameter have to specify
the fields to be transferred.
Function Module
BAPI_FIXEDASSET_CREATE1
Now the documentation for DEPRECIATIONAREASX table:
Description Change parameter for depreciation area data
You have to transfer a * in this change parameter for each
depreciation area, for which data is transferred in the
DEPRECIATIONAREAS parameter. The AREA field in this * has to have the
same value as the AREA field in the DEPRECIATIONAREAS parameter.
All other fields of the change parameter are allowed to have one of
these two values:
' ' - field contents of the corresponding field of the data parameter
are not transferred
'X' - field contents of the corresponding field of the data parameter
are transferred
Please check with a developer if these criteria are met. If not please proceed to log an OSS message.
Regards, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, are you using a BAdI for the asset creation or just standard SAP?
Regards, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.