cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP request failed - internal server error in Approve Purchase Orders app

saurabh_vakil
Active Contributor
0 Likes
1,808

Hello Experts,

We have configured the standard Approve Purchase Orders app in our central hub deployment Fiori landscape. We have activated the corresponding OData service GBAPP_POAPPROVAL with the system alias of the back-end ERP system in the front-end server. Also we have assigned the roles SAP_MM_TCR_T_X1 and SAP_MM_BCR_BUYER_X1 in front-end server and SAP_MM_PO_APV_APP in the back-end ERP system. The user also has the copy of the role SAP_UI2_USER_700 assigned with the authorizations added for INTEROP and PAGE_BUILDER_PERS services.

Our test user also has the S_RFCACL role assigned in the back-end system. Also we have configured the workflow task ID of the PO approval workflow at the corresponding path in SPRO in the back-end system.

Now when we login to the Fiori Launchpad with the test user,  we see the Approve Purchase Orders tile with "Error" instead of the work-item count. Below are the errors that we see in developer condole of Google Chrome:

Also the error logs from the transaction /IWFND/ERROR_LOG are as shown below:

Can anyone please help us out in determining why this issue might be occurring?

Regards,

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

vicenteveiga
Participant
0 Likes

Hi saurabh,

Have you tested the GBAPP_POAPPROVAL service in Activate and Maintain Services (tcode /n/IWFND/MAINT_SERVICE)? Does it returns 500 internal server error?

Also, in SU53, you can check which authorizations are missing. What I do when I face authorization problems, is to create a new Z role with the missing authorizations and set it to my test users: In Role Maintenance (PFCG), create a new Z role, then in Authorizations tab, propose a new Authorization name. Click in "Change Authorization Data" and manually add the missing Authorization Objects (indicated in SU53). Then generate & save the profile and add your user in the "Users" tab (don't forget to do the User Comparison).

Hope it helps.

Regards,

Vicente

saurabh_vakil
Active Contributor
0 Likes

Thanks for your response Vicente!

I just deleted the existing OData Service and activated it again, and now the errors I mentioned above are not coming now.

Now I have another question: currently there are 2 clients in the back-end ERP system (for e.g. 100 & 110) and a DEV gateway system where I am performing the front-end Fiori configurations. Currently I have activated the OData service GBAPP_POAPPROVAL by selecting the system alias that points to the 100 ERP client. But the test users and the test data exists in the 110 ERP client. How do I make the OData service connect to the 110 client and pull the work item data and display in the Fiori app?

Is it required to delete the OData service again and activate it using system alias that points to 110 client? Or would it work if I just add the 110 system alias in the already activated OData service and make the 110 system alias as the default system?

Regards,

Saurabh

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes

Saurabh, Adding a new System Alias for 110 and making it as default will work.

saurabh_vakil
Active Contributor
0 Likes

Thanks Krishna, I will do this and update the result in this thread.

Regards,

Saurabh

vicenteveiga
Participant
0 Likes

Hi Saurabh,

You can create a new ABAP connection with client 110, maintain a new system alias and add it to the system aliases for your service. That way, you can always change between them when you want to use the test client or the default client

saurabh_vakil
Active Contributor

Answers (0)