09-24-2008 1:22 PM
HI all,
I am creating a Badi. I have created an interface and in that i have created two methods.
1st method name is : GET_USER_EMAILID & its parameters are
parameter type Associated type
sy-uname
USERNAME Importing
EMAILID changing AD_SMTPADR
2nd method name is : GET_USER_ADDRESS_DATA & its parameters are
parameter type Associated type
UNAME Importing SY-UNAME
ADDRESSDATA changing USR03
===========================================
But i am getting Error like Interface cannot be used.
both the methods are Instance methods.
How do i solve this ?
09-24-2008 1:37 PM
Hi,
If i understand you correctly, you created a Badi and added a interface. But the interface is not active and hence forth the BADI is also inactive.
Can you provide little more details ?
Thanks,
KD
09-24-2008 1:37 PM
Hi,
If i understand you correctly, you created a Badi and added a interface. But the interface is not active and hence forth the BADI is also inactive.
Can you provide little more details ?
Thanks,
KD
09-24-2008 1:50 PM
Hi,
If you follow the below steps, you would not get any error msg
1) Create a classical BADI . It should propose a name for the interface
2) Create methods in the Interface and activate it
3) After the interface is active then save the BADI.
Thanks,
KD