cancel
Showing results for 
Search instead for 
Did you mean: 

Change Recipient in the Purchasing Flexible Workflow

Hi Expert,

I have a question on Flexible workflow

I have a requirement to display all the assigned users of all workflow steps when you open/display the document.

I found that

  • if I assign the recipient in the flexible workflow step into "User" and I manually input the user name, it will show the user name in the recipient on the header workflow. (red color)
  • If I assign the recipient in the flexible workflow step into Role and I chose BAdI determination, it will show the text "BAdI agent determination" in the recipient on the header workflow (blue color)

See the figures below,

and I also notice that the recipients in this WF template will also be displayed in the header of the document when we open/display it.

see the figure below,

back to the requirement:
  • To show all the assigned users when we open the document.

Yes, I can achieve it when i select the "user" option when I create a workflow. but I still need to use BAdI to determine the agent for steps 4 and 5.

is there any way that I can do to change the text "BAdI Agent Determination" into the user (when I choose Role and BAdI agent determination) likes when I use the "user" option in the workflow?

Thanks.

Fanuel Abednego

former_member493285
Participant
0 Kudos

Dear Fanuel,

Unfortunately, it seems to be taking longer than usual for your question to be answered. You might want to try an alternative route to speed things up.

Please check if a similar question has already been asked in the Community. We have found that sometimes questions that have been answered before are no longer receiving responses.

The easiest way to do this, is to visit the All Questions page and search for your specific topic.

You could also check the SAP Support Portal and search for SAP Notes, SAP Knowledge Base Articles and more.

If all of this doesn’t work, I would suggest that you create a support ticket. All you need to do is log onto the SAP Support Portal with your S-user ID and password: http://service.sap.com/message

Thanks,

Mozi

Accepted Solutions (1)

Accepted Solutions (1)

mark_daley
Explorer
0 Kudos

Hi Fanuel,

I understand the requirement, I think you'd have to change the behaviour of the SAP transaction (ie ME23N/54N) to get the recipients of the BADI logic and display them, perhap via implicit enhancement.

Answers (1)

Answers (1)

giaco0000001
Explorer
0 Kudos

Hi, I think you should append multiple users to changing parameter of the BADI APPROVERLIST (it is a table parameter). Then select "all of the recipients" if to go to next level you wait all the recipients to approve or "one of the recipients" if just one is sufficient, according to your business need.