2024 Jul 07 1:18 PM
Dear all
Please help me.
I am studying RAP.
I am investigating if it is possible to implement the following requirements, but I don't know if it can be achieved using buffer.
Please give me some ideas.
Execute custom action with multiple lines selected from Fiori Elements in Material per plant.
The custom action calls the RAP BO of the purchase request.
The result is to create a purchase requisition with multiple details.
I have confirmed that it can be executed with one selected row.
However, multiple purchase requisitions were created when multiple Materials were selected. I want to have multiple details in one purchase requisition.
The data is flowing to the RAP keys one code at a time.
The same goes for the save method.
I expect that the data will be stored in Buffer and the registration process will be executed in the last save method, is this possible?
Translated with DeepL.com (free version)
2025 Jan 20 8:20 AM
Maybe you can try this annotation for your action button:
@ui.lineItem: [{ position: 20,label: 'Item Number'}
,{ type: #FOR_ACTION,
dataAction: 'approveItem',
label: 'Approve',
position:10,
invocationGrouping: #CHANGE_SET,
importance: #HIGH}]
invocationGrouping: #CHANGE_SET
This annotation allows the custom button to process multiple line selections at once
2025 Mar 17 8:44 AM