Hi,
We've successfully configured SAP Frioi Approve Purchase Requisition App and users are able to approve through this app. Recently a user pointed out an error while approving a PR through App which states "Action execution failed as purchase requisition is locked". After debug we found that this error is generated in CL_GBAPP_APV_PR_API->SET_DECISION->
go_factory->create_header( EXPORTING im_tcode = 'ME54N'
im_document = ls_document
im_protect = go_const->yes
im_bapi = go_const->yes
IMPORTING ex_instance = lo_header.
It was observed that lo_header object reference is initial and due to this the said error is being thrown. We checked that specific PR in backend if it is locked but didn't find anything locked. We also checked the authorisations at both end (front end / backend) but no authorisation issue found. Kindly share your expertise to solve this issue as this error seems to be wrong error message.
Your urgent reply will be highly appreciable.
(Note : user is able to release it from backend )