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

Creating a Interface in Class

Former Member
0 Likes
1,362

Hi...

I need to create a class with these 2 interfaces  if_ex_wf_substitute and  IF_BADI_INT. Where both are standard interfaces in SAP it seems. But when i press enter in this interface if_ex_wf_substitute it pop up an error  that the interface not found and do you want to create it ..?? Can anyone please tell  a solution for my problem.

thanks in advance.

Arshad.!!

8 REPLIES 8
Read only

Former Member
0 Likes
1,329

Hi Arshad,

'if_ex_wf_substitute' is a interface but could you tell me about 'IF_BADI_INT'. I tried to replicate your issue and could not find IF_BADI_INT??

Regards,

Deepak.

Read only

0 Likes
1,329

hii deepak.

Sorry actually its typing mistake Its also an interface IF_BADI_INTERFACE..

Regards,

Arshad

Read only

0 Likes
1,329

Hii deepak..

Hope now you got my Problem clearly.

Regards ,

Arshad.

Read only

0 Likes
1,329

Hi Arshad,

SAP standard classes or interfaces depends upon the server version. I checked in my server and I am able to find - IF_EX_WF_SUBSTITUTE interface.

Mine SAP version is ECC 6 ehp3. Please check yours.

Regards

Abhinav

Read only

0 Likes
1,329

hii Abhinav .

My SAP version in ECC 6.0..How can  i fix this problem.

Regards.

Arshad.

Read only

0 Likes
1,329

Hi Arshad,

I have checked in my system and I could see that Interface IF_EX_WF_SUBSTITUTE implments interface IF_BADI_INTERFACE. PFB the screen shot of interface IF_EX_WF_SUBSTITUTE which has IF_BADI_INTERFACE available already.

Regards,

Deepak .

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,329

What is your version, this interface comes with BAdI WF_SUBSTITUTE and can only be imported by Support Package. (ref;: Note 977069 - Substitute API: Providing the BAdI WF_SUBSTITUTE)

Implemented with

SAP_BASIS620SAPKB62061
SAP_BASIS640SAPKB64019
SAP_BASIS700SAPKB70010

Versions

Raymond

Read only

PeterJonker
Active Contributor
0 Likes
1,329

check with transaction code se24 if the interface exists in your system. If it does then you must have made a typing error. If it doesn't exist then, depending on your requirements, you could create the interface yourself ( a z version), but then you need to know which attributes and methods the interface definition holds.