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

why does Fiori LeaveRequets -Onbehalf function converts status "Posted" to "Informed"?

NewbeeDevloper
Discoverer
0 Kudos
333

Dear all,

with the Fiori app "My leave requests -Onbehalf funtion" I am facing a problem. As a Employee/Leave-Requester I see the leave requests with correct status as in SENT, APPROVED or REJECTED. But after running RPTARQPOST, my manager /approver sees the "POSTED" status entry as "INFORMED", as an Employees (Leave requester) I see as the status as "APPROVED".
Is there any Settings that i can change so the approver also sees Status as "APPROVED" or "POSTED" instead of "INFORMED"

I am very new to SAP and Fiori.If am posting this Question in wrong place , please do tell me where i can post for better reach.

Any help would be much appreciated .

Thanks in Advance.

NewBee

View Entire Topic
masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you go deep into the RPTARQPOST code, you may find a hint. The login is in the backend side, not Fiori frontend side.

https://community.sap.com/t5/forums/searchpage/tab/message?q=RPTARQPOST%20AND%20informed&noSynonym=f...

NewbeeDevloper
Discoverer
0 Kudos

@masa_139 Thank you very much for your Time and Input. After lot of debugging (starting the Instance as a Employee and then with Onbehalf-Function), I found that both looks very similar except during Onbehalf function it calls a custom body IF_EX_PT_ABS_REQ~AUTH_CHECK_AND_ANONYMIZE_DATA where data is anonymized by removing Subtyp, Enddate, Begindate etc which changes the “uni-request” After this a function UNPACK_REQUEST_LIST is called, where we can see difference in Status Texts and many Null parameters in Onbehalf Instance. So we removed Anonymizing function for Approver. Now its working as expected.

Ask a Question