‎2011 Mar 10 11:17 AM
Hi gurus,
I implement the BADI ARC_PM_QMEL_PREPROCESS with implementation ZARC_PM_QMEL_PREPROCESS.
In the class of implementation I add new method (named METODA) that I need to call (from external programm) before the method of interface class (in my case, the interface is IF_EX_ARC_PM_QMEL_PREPROCESS, with method PREPROCESS_CHECK ).
1.A working example:
-
DATA: LREF_ARC_NOTIFY_PREPROCESS TYPE REF TO ARC_PM_QMEL_PREPROCESS.
-
--> call method PREPROCESS_CHECK of this implementation
CALL BADI lref_arc_notify_preprocess->preprocess_check
EXPORTING
is_iviqmel = ls_selc
CHANGING
c_archive_flg = gv_archive_flg
ct_mess_table = lt_mess_table .
-
where the method preprocess_check is defined in interface class ( IF_EX_ARC_PM_QMEL_PREPROCESS)
2.A short dump example:
CALL BADI lref_arc_notify_preprocess->('METODA').
where the method is not defined in interface class IF_EX_ARC_PM_QMEL_PREPROCESS but is defined in implementation CLASS.
Can you help me with an idea of a way to call the method that I built it
‎2011 Mar 10 12:24 PM