cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP RAP: How to call the default function with multiple instance

09-18-2024 10:46 AM
wilson_lee Product and Topic Expert
463 views 0 comments
0 Likes
SAP Managed Tags
Labels
ABAP RAPCHANGE_SETDefault FunctionDefault ValuesinvocationGrouping
Subscribe

 

Hi Experts,

I need to add some specify logic to determine default value with multiple instance, only if all selected instances have the same status, then the default value can be determined, otherwise, the value should be empty.Behavior Definitions.png
behavior class.pngI have added annotation @Former Member.lineItem: [{ type: #FOR_ACTION, dataAction: 'ChangeStatus', invocationGrouping: #CHANGE_SET }] in metadata extensions, I found that all methods are called as a group except the default function.
Metadata Extensions.png

How could I implement this requirement?

Best Regards,
Wei

0 Likes

Accepted Solutions (0)

Answers (0)