cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RAP / Restful Application Programming Model: Generate a PopUp prior to performing the Create-Method

Zerhat
Explorer
0 Kudos
850

Hi all,

in the context of ABAP RAP in an unmanaged scenario, BDEF, BIMP and appropiate CDS-Views (mostly compositions) have been defined. OData V2 is used in context of the unmanaged RAP BO.

On the initial list-report-page, there exists the CRUD-create-button. If the button is pressed, the RAP-create-method runs. I would like to implement the app such that:
1. First a pop-up is generated with some mandatory fields
2. after the mandatory fields have been entered and the pop-up is confirmed, that only then the actual CRUD-create-method is run.

So in essence, the process should be:
1. Press Button
2. PopUp generates
3. PopUp is filled by user and confirmed (=> This should automatically start the CRUD-create)
4. Some logic is performed, fields (for example FirstName and LastName) from the pop-up are taken, some extra logic is performed to get some additional fields and data from some tables and the results should then be filled into the corresponding fields when entering the CRUD-create-method
5. CRUD-create-method is automatically run after the pop-up had been confirmed, inside the UI the fields FirstName and LastName are automatically filled (possibly read-only now) and some more fields are additionally filled based on FirstName and LastName (for example, Street)

The idea is to have some necessary fields be filled in the PopUp which then directly pre-fill some more fields when entering the CRUD-create-method. Can that be implemented purely in RAP?

Thanks in advance for every answer and for taking the time!

Accepted Solutions (0)

Answers (0)