cancel
Showing results for 
Search instead for 
Did you mean: 

S4HANA Cloud BADI - How to use Enhancement of Flexible Workflow Properties

cryan_marco
Explorer
0 Kudos

Hi,

We are using My Inbox to approve a flexible workflow for PR in S4HANA Cloud system. We want to include some custom attributes and based on the documentation, looks like it can be done using this BADI MMPUR_WFL_CONTEXT_ENHANCE (Enhancement of Flexible Workflow Properties).

Below is the code in the BADI to keep it really simple.

I've created the custom tile as per documentation

My Inbox is opening fine using the custom tile and showAdditionalAttributes=true is added in the URL.. but I can't see any of the custom attributes.

If I click the Multi-Select in My Inbox, I can see the custom attributes columns in the list but no values.

Can somebody please advise what I'm missing here?

Thanks,

Ryan

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

We helped you to accept the answer, since there were no updates after 7 days.

You can unaccept it anytime if you have further questions.

Accepted Solutions (1)

Accepted Solutions (1)

DennisLeslie
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ryan,

The parameter show additional attributes alters the list view to show the custom attributes. When you select just one item in the inbox, it is showing you the details of the page.

You can consider adding the multi_select_summary option to the Custom Tile URL so that it always lands in the multiselect mode or to turn on the expertMode=true.

/ui#WorkflowTask-displayInbox?allItems=true&showAdditionalAttributes=true&/multi_select_summary

Regards,

Dennis

cryan_marco
Explorer
0 Kudos

Hi Dennis,

Thanks for your reply. The expert mode doesn't show the custom attributes columns, even in personalise columns.

As for the Multi Select Summary, the columns are there but values are not. Please see last screenshot in original post.

Anything else I can try?

Regards,

Ryan

Answers (1)

Answers (1)

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos