Posts

Showing posts with the label inheritance

Local multiple inheritance using parameters.

Image
  1. Goto  SE38. 2. Give  program  name and click on  create. 3. Give  description  and select type  executable program . 4. Write  code. REPORT  zab_rp_mi_local . DATA :  lv_erzet  TYPE  erzet ,       lv_erdat  TYPE  erdat ,       lv_vbtyp  TYPE  vbtyp ,       lv_ernam  TYPE  ernam . PARAMETERS :  p_vbeln  TYPE  vbeln . PARAMETERS :  p_r1  TYPE  c  RADIOBUTTON  GROUP  g1 ,             p_r2  TYPE  c  RADIOBUTTON  GROUP  g1 . INTERFACE   if_sale .    METHODS  sale      IMPORTING  pvbeln  TYPE  vbeln      EXPORTING  perzet  TYPE  erzet         ...

Global multiple inheritance using parameters.

Image
* Multiple inheritance is possible through interfaces. Steps to create global interfaces.  Create interface 1.      1. Goto T-code  SE24 .       2. Give  name  and click on create, select  interface  and press enter.       3. Give  description,  Press enter.      4. Give  method name, level, description.       5.  Save  and  activate.      6. Click on  parameters  and give parameters.           7.  Save  and  activate  and go back. Create interface 2.      1. Goto T-code  SE24 .      2. Give  name  and click on create, select  interface  and press enter.      3. Give  description,  Press enter.       4. Give  method name, level, description.      ...