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***************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).