on ‎2024 May 30 8:35 AM
Hi experts
Why does the BAPI BAPI_FIXEDASSET_CHANGE return an error when inserting depreciation intervals?
I am inserting a new 2024 depreciation interval onto an asset using the BAPI_FIXEDASSET_CHANGE but the BAPI returns an error (not a warning) stating "Fiscal year 2023 is already closed in Financial Accounting".
If I temporarily open 2023, the BAPI returns a success message without warning or error.
If I do it via the front-end, it works with a warning, not an error.
How do I ignore this error when executing the BAPI?
Thanks
Request clarification before answering.
Hi,
This error generally comes when FI (OB52) period is closed, but asset period is kept open.
Hence, check if Fiscal year 2023 is closed in OAAQ for Asset accounting as well.
Regards,
Gavin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @GavinMonteiro3. The work around you suggest is easy enough to do.
Was just hoping to know why the BAPI returns an error but the front-end returns a warning.
I need to implement a bulk programmatic/ABAP solution.
| User | Count |
|---|---|
| 38 | |
| 22 | |
| 18 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.