cancel
Showing results for 
Search instead for 
Did you mean: 

Approve Request for Earmarked Funds Fiori Application

former_member204264
Participant
0 Kudos

Dear experts,

I'm configuring Approve Request application in Fiori for Eanmarked Funds scenario (specifically for 'FMRE' business object, 'WS99900008' Workflow template ID, 'TS99900020' Task ID). The problem is that Approve/Reject process for this Task doesn't have any user decision, instead 'FMX4' transaction is called for this process, and if I use 'APPROVE_RESERVATION'  module function (like it's used in 'APPROVE' method for BO 'FMRE') in /IWWRK/IF_WF_WI_BEFORE_UPD_IB~BEFORE_UPDATE method, an error about no user decision appears while I'm debugging.



At last, Work Item has following state:



While If work item is approved using transaction 'FMX4' online:


How could I implement decision in method /IWWRK/IF_WF_WI_BEFORE_UPD_IB~BEFORE_UPDATE for this case? Any idea?

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Muñoz,

What is the status in application side?

If application side is OK but workflow side has some issue, check workflow template. You may need to code same in the BEFORE_UPDATE method.

+ Check if there is any workflow container is controlled in the workflow template.

+ Check if there is any workflow event is controlled in the workflow template.

Regards, Masa

SAP Customer Experience Group - CEG

former_member204264
Participant
0 Kudos

Hi Mass,

I've solved issue simulating 'APPROVE_RESERVATION' function using a Batch Input. Also, as you suggested I had a small error when passing the value to the container for '_WI_RESULT' in each case.

Thanks for your reply.

Answers (0)