on 04-18-2016 10:03 PM
Hello,
We are facing a problem in the production system where FIORI app is setup for Purchase Order Approval and Tracking. A month ago we detected that users who usually approve orders through FIORI don't release the purchase order in SAP Backend.
Here I detail the analisys performed:
Gateway Error Log shows a backend error, no authorization for a release process.
This is the error Context:
@3T\QCollapse @ | .ERROR_CONTEXT | |
..ERROR_INFO | No authorization for a release process | |
@3T\QCollapse @ | ..ERROR_RESOLUTION | |
...SAP_NOTE | See SAP Note 1797736 for error analysis | |
...LINK_TO_SAP_NOTE | https://service.sap.com/sap/support/notes/1797736 | |
@3T\QCollapse @ | ..SERVICE_INFO | |
...NAMESPACE | /SAP/ | |
...SERVICE_NAME | GBAPP_POAPPROVAL | |
...VERSION | 0001 | |
...SYSTEM_ALIAS | PRDCLNT500 | |
...DESTINATION | NONE | |
@3T\QCollapse @ | ..SYSTEM_INFO | |
...REQUEST_ID | 005056931E601ED681B2F1B3B77B70B9 | |
...REQUEST_URI | /sap/opu/odata/SAP/GBAPP_POAPPROVAL;mo/ApplyDecision?sap-client=500&SAP__Origin=%27LOCAL%27&WorkitemID=%27000000020942%2 | |
...REMOTE_ADDRESS | 127.0.0.1 | |
...APPLICATION_SERVER | erpprdas_PRD_01 | |
...HUB_VERSION_INFO | System PRD/500, NW Release 7.40, SAP_GWFND SP10, Internal GWFND Version 011 | |
...BACKEND_VERSION_INFO | System PRD/500, NW Release 7.40, SAP_GWFND SP10, Internal GWBEP Version 011 |
In the backend monitor I see the following in the Application Log:
I've tried a Replay from SAP Netweaver Application Log for the HTTP POST, but it didn't help either, it returned same information about the lack of authorization for the release process.
Then I switched on the system trace to get more details on, because I got confused with the error message I see in the Gateway Log where it says the user has no authorization for a release process but in the GW App Log the error is: "The Data Service Request could not be understood due to malformed syntax".
The trace analysis didn't show any authorization error, but what I found at the exactly error time is this kernel error:
15:58:20,365 BUFF 7 TOLE Prog: SAPLOLEA Row: 1.522 Buffer: I SearchString SAP.DATAPROVIDER.1 3E
15:58:20,365 BUFF 1 TOLE Prog: SAPLOLEA Row: 1.523 Buffer: I SearchString
15:58:20,365 BUFF 1 TOLE Prog: SAPLOLEA Row: 1.528 Buffer: I SearchString
15:58:20,365 BUFF 3 TOLE Prog: SAPLOLEA Row: 1.544 Buffer: I SearchString SAP.DATAPROVIDER.1 3E
15:58:20,365 BUFF 1 TOLE Prog: SAPLOLEA Row: 1.545 Buffer: I SearchString
15:58:20,365 BUFF 1 TOLE Prog: SAPLOLEA Row: 1.550 Buffer: I SearchString
15:58:20,365 CMOD rscpLengthOfBasi Parameter:
15:58:20,365 CMOD GetCPInfo Parameter:
15:58:20,365 CMOD rscpKindiOfCP Parameter:
15:58:20,365 CMOD GetCPInfo Parameter:
15:58:20,365 User @(#) $Id: //bas/ Row: 2.359 Comment: rscpe__error 32 at rscpu86r.c(13;213) "dest buffer overflow" (,)
15:58:20,365 User @(#) $Id: //bas/ Row: 2.359 Comment: rscpe__error 32 at rscpc (20;12369) "convert output buffer over
Any idea what is the reason or which buffer refers the overflow?
HI Alejandro If the PO is released but the workitem is not completed it sounds like this is a workflow problem, rather than a Fiori problem. Suggest you check both the workflow log & the event log to see what is happening when the PO is released.. Might be a sequencing issue or a deadlock race.
Folks in the Business Workflow forum can help with that if you need it.
Rgds
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alejandro,
Good analysis, few questions :
1. What does su53 in your backend(ecc) system say (generally s_rfc, s_rfcacl and s_develop auth objects is required)
2. are managers able to release the purchase orders from SAP Inbox ? (ideally it goes to me29n for release) If you are able to release here, you shd then check for odata or ui specific error
3. if above are correct, check for S notes for any program error. Provide your odata and ui components sp versions.
4. Thoroughly check for auth errors in both gw and backend.
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks both for your replies. I know that error description gives the idea of authorization problem, but I activated a trace with ST01 and no authorization error came up.
We have advanced in the analysis and now we have a different approach of the problem. This is what we found.
We believe that the problem is not related to FIORI, but instead with workflow and this is why:
- We saw in TX SWI1 that there were workitems with status "READY" linked to Purchase Orders already released. The correct status should be "COMPLETED". We confirmed this doing a few tests in the our test system.
Those workitems with status "READY" are showed in FIORI as Purchase Orders awaiting for release. So when the user tries to release it, he gets an error (this is what is showed in the Gateway error log as "The user has no authorization for a release process"). The real source of this error is the Purchase Order is already released, we checked it in backend, but we cannot find what was the reason that the workflow didn't update the status to "COMPLETED" when the PO was released at all.
The folowing images is an example of many Purchase Orders with the status "READY" but they are already released:
So, to prove the what we think, we changed the release status for the purchase order in SM29n in order to have it pending for release again.
After that we approved it in backend again and we could see that the status in SWI1 updated to "COMPLETED" and in FIORI disappear from the purchase orders list for approval.
We were not able till now to reproduce error. Any suggestion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Does the user have necessary authorizations for releasing purchase orders in the back end ERP system? Have you checked in the SU53 transaction in the back end system if there are any errors pertaining to missing authorizations for release process? This looks more like an authorization issue rather than an issue with the Fiori app itself.
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.