Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How find which method-class will be selected?

Hello sap gurus,

I have another question:

There are 2 the same methods: customer_exit_event_save, BUT in different classes.

One for the class CL_EX_BCA_PO_CUSTOMER_EXIT, another from the class ZCL_IM_BCA_PO_CUSTOMER_EXI

Not fully clear how the system decide which exactly method should be executed.

Hereby having executed a code(see below) in one case we are executing a method: customer_exit_event_save from the class CL_EX_BCA_PO_CUSTOMER_EXIT,

In the another case u2013 the same method customer_exit_event_save, BUT from the class ZCL_IM_BCA_PO_CUSTOMER_EXI !!!

IF NOT g_exit_obj_cust_exit IS INITIAL.

CALL METHOD g_exit_obj_cust_exit->customer_exit_event_save

EXPORTING

flt_val = l_flt_country

i_header = l_str_po_hd

i_sender = l_str_po_snd

i_receiver = l_tab_po_rcv

i_payment_note = l_tab_po_nt

i_item_info = l_str_item_info

IMPORTING

e_header = l_str_po_hd

e_sender = l_str_po_snd

e_receiver = l_tab_po_rcv

e_note = l_tab_po_nt

EXCEPTIONS

raised_customer = 1.

Do we have any table, where spesific method is selected?

Many thanks in advance.

Edited by: Paul Birch on Oct 16, 2008 2:50 PM

Not what you were looking for? Ask a question