Posts

Update multiple records/ Pass default values to Dialog box in RAP using Unmanaged scenario

Image
                    Refer:-  Custom entity/Action dialog in RAP using Unmanaged scenario ******************* pass default values to dialog box ******************************** Step 1:   Change the abstract entity and add annotation . @EndUserText.label: 'Abstart entity for status field' @Metadata.allowExtensions: true define abstract entity ZA_AB_STUH_13 //with parameters parameter_name : parameter_type { @UI.defaultValue: 'X' // Passing always true to dialog box. stu_status : abap_boolean ; } Testing:                * Preview the application.                 * Click on go to see all records.               * Select record and click on update status.               * Dialog box appears with default value Yes. **********...

Custom entity/Action dialog in RAP using Unmanaged scenario

Image
A custom action is like a button (e.g., Approve , Submit ) shown in the Fiori app. A dialog is a popup where the user can enter some input before performing the action.                    Refer:-  Determination + Side effects(On Modify) in RAP Unmanaged                    Refer:-  Determination + Side effects (On Save) in RAP Unmanaged Step 1:   Create behavior definition for abstract entity.          * Right click on Core data service - New - data definition.          * Give name and description.          * Click on Next.          * Select Abstract entity with parameters and click on finish. @EndUserText.label: 'Abstart entity for status field' @Metadata.allowExtensions: true define abstract entity ZA_AB_STUH_13 //with parameters parameter_name : paramet...