Skip to Content

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

Interface cannot be used !! how to solve this

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 ?

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question