Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI method errror

Former Member
0 Likes
1,317

Need to implement a method in the BADI. And have to create Implementing Class, Interface and method.

Procedure:

-- Create the Implementing class ZCL_IM_EXTRACT

-- Create the implementing interface IF_EX_OPENHUB_TRANSFORM

-- Create the method TRANSFORM

-- When I run try to activate the method I get this error "CLASS ZCL_IM_EXTRACT does not contain an interface IF_EX_OPENHUB_TRANSFORM"

Solution:

-- I see the interface name IF_EX_OPENHUB_TRANSFORM in the interface tab of the Implementation. And below that I see the Name of Implementing class as ZCL_IM_EXTRACT.

Wondering If I have done some procedural error. Please suggest.

Regards,

Sandhya

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
753

Hi Sandhya,

first a small question: did you use SE19? Doesn't look like, but would be the easiest (only?) way for implementation of BADI.

Regards,

Christian

4 REPLIES 4
Read only

christian_wohlfahrt
Active Contributor
0 Likes
754

Hi Sandhya,

first a small question: did you use SE19? Doesn't look like, but would be the easiest (only?) way for implementation of BADI.

Regards,

Christian

Read only

0 Likes
753

I have used the SE24 for creation of class and then SE19 to create the implemention, interface and method..

Wondring if there is a error in the procedure followed. You any one let me know the correct proedure for creating the class, implementation, interface and method..

Thanks again,

Sandhya

Read only

0 Likes
753

Hi Sandhya,

probably the step with SE24 caused the problem.

Just create a new try only using SE19 (if you like to use same name, rename 'old' implementation).

Then standard definition from SAP is input parameter -> definition is automatically assigned to your implementation. You just need to make some coding lines in desired method.

Afterwards activate your code AND the whole BADI implementation (entry screen SE19).

Regards,

Christian

Read only

0 Likes
753

I was trying to activate the method and i am gettin errors. But as you suggested I activated the Class first and then the BADI method. it works..thx