ABAP dump when attempting to Approve Working Times
I am attempting to configure the Manager Self-Service, Approve Time Sheet functionality and running into an ABAP error I don't understand. When in the Approve Time Sheets iView, I can see the employee's submitted time. When I change the Approval drop down to Approve All and click on the Save button, I get a portal error.
Here's the ST22 report.
Now, I've seen several posts about the GETWA_NOT_ASSIGNED error and they talk about the field catalog, however none address this error as it applies to this program CL_HRMSS_AS_CATS_APPROVAL. Can anyone shed some light on how to fix this problem or point out maybe where I've missed some configuration? What is the field catalog being built from?
Garrett Meredith replied
Here's our solution:
I worked closely with our Security team and we performed several traces to fine tune what authorizations we might need. Even though the CATS_APPR_LITE transaction or ABAP dump and portal error didn't give us any indication that we were missing authorizations, we actually were. We added p_pernr and p_orgin authorizations for IT0000-0002, IT0316?, IT0328?, IT2001-2003, and IT2006. We slowly whittled at it until I could see and approve the working times in the portal function and the CATS_APPR_LITE transaction.
I don't understand why the functions needed access to IT0316 and IT0328 since we don't even use them, however they did.
Other than trial and error, what is the best way to determine what authorizations are required to use these SAP transactions and portal applications? It's quite frustrating to troubleshoot issues such as these.