Posts

Showing posts with the label AMDP

Create AMDP class and fetch data based on student branch*

Image
                                                             Refer -  Introduction to AMDP                                                              Example -  Sample AMDP example Step 1:  Right click on ABAP project -- New -- ABAP class. Step 2:  Select package, Give class name and description. Step 3:  Click and next and click on finish. Step 4:  Write Code. CLASS ycl_ab_amdp_stu1 DEFINITION   PUBLIC   FINAL   CREATE PUBLIC .     PUBLIC SECTION.     INTERFACES : if_amdp_marker_hdb .     TYPES: begin of ls_stu ,  ...

Create AMDP class and fetch data based on student branch

Image
                                                             Refer -  Introduction to AMDP Step 1: Right click on ABAP project -- New -- ABAP class. Step 2: Select package, Give class name and description. Step 3: Click and next and click on finish. Step 4: Write Code. CLASS ycl_ab_amdp_stu DEFINITION   PUBLIC   FINAL   CREATE PUBLIC.   PUBLIC SECTION.     INTERFACES: if_amdp_marker_hdb .     TYPES: begin of ls_stu ,            stu_id TYPE ystu_id ,            stu_name TYPE ystu_name ,            stu_branch TYPE ystu_branch ,            stu_marks TYPE...

Introduction to AMDP in SAP S4HANA.

       * AMDP -- ABAP managed database procedures.     * It is a framework for managing and calling stored/database procedure and database function in as ABAP.      * The AMDP manages AMDP procedures and functions. ------------------------------------------------------------------------------------------------------------------------------     * AMDP is a global class that contains special tag interface that starts with IF_AMDP_MARKER_*.     * For HANA database  IF_AMDP_MARKER_HDB. -------------------------------------------------------------------------------------------------------------------------------     * Constructors can't be implemented as AMDP methods.     * There are two types of AMDP methods.               1. AMDP procedure implementation.               2. AMDP function implementation.      1...