1. Goto SE38 . 2. Give program name and click on create . 3. Give title and click on save . 4. Write code. REPORT zab_rp_oops_pfstatus_ucomm . TABLES : ekko , ekpo . TYPES : BEGIN OF ty_ekko , ebeln TYPE ekko - ebeln , bukrs TYPE ekko - bukrs , bstyp TYPE ekko - bstyp , bsart TYPE ekko - bsart , END OF ty_ekko . TYPES : BEGIN OF ty_ekpo , ebeln TYPE ekpo - ebeln , ebelp TYPE ekpo - ebelp , matnr TYPE ekpo - matnr , werks TYPE ekpo - werks , END OF ty_ekpo . DATA : lt_ekko TYPE TABLE OF ty_ekko , lr_ekko TYPE ty_ekko , lt_ekpo TYPE TABLE OF ty_ekpo , lr_ekpo TYPE ty_ekpo . DATA : lo_salv1 TYPE REF TO cl_salv_table , lo_salv2 TYPE REF TO cl_salv_table , lo_events TYPE REF TO cl_salv_events_table , lo_grid TYPE REF TO cl_gui_alv_grid , lt_rows TYPE lvc_t_row , lr_rows TYPE
Enhancements * Will enhance the sap functionality in customer name space. * Customer name space-> (z or y) Modifications * Will enhance the sap functionality in sap name space. * Name should not start with z or y. Types 1. Implicit and Explicit enhancements { enhancements } 2. Customer exit. { enhancements } 3. Badi { enhancements } 4. User exit { modification } Implicit * Implicit point is available at the starting or at the last of program. * Subroutines, function modules etc. Explicit * Explicit point & section are available at any line. * Point - It will not give default implementation . - You can only add additional codes, you can't replace the existing code. * Section - It will give default implementation . - You can change or replace the existing code. BADI - Badi is an enhancement. we enhance the sap functionalities in customer name space. -
Comments
Post a Comment