Posts

Showing posts from July, 2025

Prechecks in RAP

  What is Prechecks     *  Prechecks is used to validate data before it can reach to Transactional Buffer.     *  You can prevent illegal changes from reaching the transactional buffer by prechecking modify operations.     *  During PRECHECK implementation, we can implement validation logic and based on result generate FAILED and REPORTED parameters which can be used to display Error on Fiori frontend. Advantage     *  If application is a draft enabled application, then these inconsistent values have already been stored in draft tables and transactional buffers. How to Implement Prechecks     *  Prechecks can be defined in the behavior definition and implemented it in the behavior implementation class.      create (precheck);       update (precheck); Coding part will update soon  ****** *********** ******* ***** * Thank You ****** ******* *** *** *** ** ***

Side effects using RAP

1. What is side effect?     *  A change effect occurs when modifying one field automatically updates other fields. 2. How to implement side effects.     * There are annotations available which helps implementing side effects behavior on UI.     * Source properties- Properties on which you want to trigger the side effect behavior.     * Target properties - Properties you want to manipulate as results of side effects.                                              Refer -  Determination in RAP                                        Refer -  Adding virtual elements in RAP Coding part will update soon  ****** *********** ******* ***** * Thank You ****** ******* *** *** *** ** ***

Classical report example in ABAP

Image
It's nothing but to display the entire information in a single list. INITIALIZATION:     It's an event which is triggered before displaying the selection-screen.      ADV: -  it's used to provide the default values to the selection-screen. AT SELECTION-SCREEN:  It's an event which is triggered after providing the input to the screen & before leaving the selection-screen.      ADV: -  This is used to validate the given input. START-OF-SELECTION:   It's an event which is triggered after leaving the selection-screen & before display the output. ADV: -  This is used to fetch the data from data base & place into internal table. END-OF-SELECTION :  It's an event which is triggered after completion of the logic.      ADV: -  This is used to display the output . TOP-OF-PAGE:     It's an event which is triggered at the top of each page. ...