Technical Articles
SWIA error “Package does not exist” in S4 HANA
Hi,
In this blog I will discuss one issue which I face after S/4 HANA conversion in SWIA (WI Administration Report). In SWIA when assigning workitem to another user agent. System was giving following error.
“Exception condition “PACKAGE_DOES_NOT_EXIST” triggered”.
Although the error was clear as it shows that package does not exist. But the error was coming in standard tcode SWIA that’s why I was worried may be there is some thing is missing during conversion or standard package is missing. That’s why I spent a lot time in searching sap notes or any solution available on SCN. Finally when I debug it I found the solution how to resolve it. I am sharing the solution so that in future if any one face the same error he can fix it easily.
How to reproduce the issue.
- Run SWIA.
- Select any Workitem having status READY.
- Click on Assign Agents.
Assign Agent
Following Dump comes.
Assign Agent Dump
Solution:
Reason for this error is that some customize Z Package is missing.
- On the dump screen click on “Debugger button”.
- Click on Standard function module lcl_get_package_attributes parameter lv_package as shown below. This will show the Z package name which is missing.
lv_package
3. Go to SE80. Create that missing Z package.
This will resolve the issue.
SWIA
For more info please follow: https://blogs.sap.com/
Thanks for sharing the usefully information.
It helped a lot.
Please share more blogs related to workflows, Fiori and PI.
Thanks,
Ayaz