Hi Guys,
hobe anybody can help.
I created a customer enhancement spot and in there a badi definition. This badi has a interface which inherits the interface IF_BADI_INTERFACE.
Name of the enhancement spot: ZTEST_EH
Name of the badi definition: ZTEST_BADI_D
Interfacename : ZIF_TEST_BADI_D
Badi is defined as single use.
The interface has one methode called change_address with importing parameter iv_partner and changing parameter cv_address.
At the moment i want no implementation of the badi. I only want to insert the badi call in my class and implement the badi when i need it.
So in my class i insert following code:
data: obj_badi type ref to ZTEST_BADI_D. get badi obj_badi. call badi->change_address exporting iv_partner = lv_partner changing cv_address = lv_address.
If i try to activate my coding, i get the message that the method CHANGE_ADDRESS ist unknokn or private.
Can anybody help?
Regards,
Anton