Posts

Showing posts from July, 2025

Unmanaged scenario-DELETE- basic example in RAP

Image
                                  Refer -   Unmanaged scenario-create- basic example in RAP                                  Refer -   Unmanaged scenario-UPDATE- basic example in RAP Step 1:   Change the API class and add logic for delete.                    * While adding class definition                          -  go to main class select method definition and click on F2 to see parameters. CLASS zcl_ab_stuh_12 DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. TYPES: tt_create_student TYPE TABLE FOR CREATE ziv_ab_stuh_12 , tt_map_early TYPE RESPONSE FOR MAPPED EARLY ziv_ab_stuh_12 , tt_failed_earl...

Unmanaged scenario-UPDATE- basic example in RAP

Image
                     Refer -   Unmanaged scenario-create- basic example in RAP Step 1:   Create a structure to update the values.               *    Right click on data dictionary- new - structure.               *  Give structure name, click on next and click on finish. @EndUserText.label : 'Student update Structure' @AbapCatalog.enhancement.category : #NOT_EXTENSIBLE define structure zstr_up_stuh { key id : xsdboolean not null; stu_id : xsdboolean ; stu_name : xsdboolean ; stu_age : xsdboolean ; stu_course : xsdboolean ; stu_cour_dur : xsdboolean ; stu_status : xsdboolean ; stu_gender : xsdboolean ; stu_gen_desc : xsdboolean ; stu_dob : xsdboolean ; last_ch_time : xsdboolean ; last_ch_date : xsdboolean ; } Step 2:   Change the behavior d...