Symptom
Getting an exception while trying to change the package assignment of an object in ABAP Environment as per Changing the Package Assignment of Development Objects | SAP Help Portal.
Environment
SAP S/4HANA Cloud Public Edition, ABAP Environment
Reproducing the Issue
- Open ABAP Environment.
- Project Explorer > Select an object and right-click.
- Choose "Change Package Assignment..."
- Trying to change a object from package ABC to package XYZ
- Getting the following error:
An exception has been caught while processing the refactoring 'Change Package Assignment'
Error when performing change: Execution of request "POST /sap/bc/adt/refactorings?step=execute" for destination XYZ (system https://my123456-api.s4hana.ondemand.com) failed: HTTP/1.1 500 Internal Server Error
Execution of request "POST /sap/bc/adt/refactorings?step=execute" for destination XYZ (system https://my123456-api.s4hana.ondemand.com) failed: HTTP/1.1 500 Internal Server Error
Cause
In an attempt to solve be able to change a local transport request to a transportable transport request, the transport layer of the transport request that contains the select object has been changed from local (Empty) to "/YSID_ATO/"
Resolution
- Open the local request that contains the object and change the transport layer to local (Empty).
- Release the local transport request that contains the object
- Proceed with changing the object package as per Changing the Package Assignment of Development Objects | SAP Help Portal
See Also
Changing the Package Assignment of Development Objects | SAP Help Portal
Keywords
An exception has been caught while processing the refactoring, Change Package Assignment, Error when performing change: Execution of request "POST /sap/bc/adt/refactorings?step=execute" for destination XYZ, HTTP/1.1 500 Internal Server Error, "Change Package Assignment...", s/4hana cloud, abap environment, public edition, adt, eclipse, , KBA , BC-DWB-AIE , Installation and infrastructure for ABAP tools in Eclipse , BC-SRV-APS-EXT-SL , Manage and Import Software Collections , Problem