Application Development 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: 

Enhancement spot creation error

Former Member
0 Kudos

Hi all,

i tried to create an enhancement spot , in that i troed to give an interface name .

i am getting an error :

Interface IF_XXXX_ BADI does not include interface IF_BADI_INTERFACE.

can anyone let me know what the problem is if possible with some example .

Regards,

Ry

4 REPLIES 4

Former Member
0 Kudos

Hi Roby,

If you are creating an enhnacement spot for a BADI definition then you have to include the interface IF_BADI_INTERFACE under the interface tab of the interface which you specify in the enhancement spot.

See any standard enhancement spot for example.

see badi BADI_SD_SALES_BASIC which has interface IF_EX_BADI_SD_SALES_BASIC and check the interface tab.

Also may be the interface already exists or may be not created properly at first go so it needs to be removed completely and then try giving the name agian otherwise you can also try some other name.

revert for further clarifications.

regards,

Vikas

<b>Always reward points to helpful suggestions.</b>

Message was edited by:

Vikas Taneja

0 Kudos

hi, i have added the interface , but still i get the same error , let me know please , thank you .

Ry

0 Kudos

Hi Roby,

Once the interface for an enhancement spot is created you have to delete it completely as some part of it would still exist if you just delete it from se24 or se18.

the classes which actually implements the interface or enhancement spot / implementations at times are left and thats why when you create it again it will not ask you for Package assignment if you will observe.

So i will suggest to try checking the Spot components from se80 transaction and delete it completely. Also check if the entry still exists in tadir table which i am sure will be there even after you delete as i also encountered the same issue once.

Thats why i suggested you to create it with a new name for E-spot and interface too and check otherwise may be change the tadir entry as well.

Hope this helps.

regards,

Vikas

<b>Always reward points to useful suggestions.</b>

0 Kudos

Thanks for Answer.