SAP Tutorials Blog


 


BAdI interface


Create a BAdI interface with the name ZIF_DEMO_ABAP_CONVERTER.


Note that only importing and changing parameters are possible here. For display purposes, the method definition includes an importing parameter having a reference to the classrun output. In the executable example class, the calling class implements the classrun and supplies a bound interface reference variable when calling the BAdI method.


INTERFACE zif_demo_abap_converter

  PUBLIC .


  INTERFACES if_badi_interface .

  METHODS convert IMPORTING content TYPE any

                            out     TYPE REF TO if_oo_adt_classrun_out.

ENDINTERFACE.



Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com