cancel
Showing results for 
Search instead for 
Did you mean: 

RAP - Create mandatory fields Popup

lars_kr
Participant
809

Hi Community,

I have a managed RAP app and when I mark fields as mandatory, a popup with exactly these fields opens when I create it. After the popup, I get to the object page as usual and can enter the other fields.

create.PNGb_create.PNG

Can I switch off this pop-up? I think it only came with oData V4.
It would be even better if I could influence which mandatory fields are in this popup and which are not. The reason is, I have several mandatory fields but they are all split across different sections in the object page. It would only be important to enter the first two via the popup right from the start.

For Example:

I have marked several fields as mandatory, but only the first two are used in the popup.

b_create_1.PNG

regards 

Lars

View Entire Topic
JessieCheah
Product and Topic Expert
Product and Topic Expert

Hi Lars,

to add on to the other answers. The pop up appears when you create because it is either a key field which is not filled in in the backend, or because you have used mandatory:create in the BDEF. 

To mark other fields with the red asterix in UI, field ( mandatory )... suffices. However please take note that there is no runtime check from framework for these particular fields, you have to implement your own validation.
Ref 1 https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/abenbdl_field_char.htm#!ABAP_VARIANT_2@2@ 
Ref 2 https://help.sap.com/docs/abap-cloud/abap-rap/instance-feature-control?version=sap_btp#static-featur...

Regards,
Jessie