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

How to implement class interfaces

Former Member
0 Likes
11,051

Hi all,

We are getting the below error message

Error message is Interfacemethod "IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_BEFORE has not yet been implemented".

Could somebody tell me how can i implement a class interface.

Class interface: ZCL_IM_ATP_WM

Appreicate your help.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
5,673

Go to your class ZCL_IM_ATP_WM, go to the methods tab, double click on the method IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_BEFORE, and write some code in there, save and activate. You method is now implemented.

REgards,

Rich Heilman

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
5,674

Go to your class ZCL_IM_ATP_WM, go to the methods tab, double click on the method IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_BEFORE, and write some code in there, save and activate. You method is now implemented.

REgards,

Rich Heilman

Read only

0 Likes
5,673

Hi,

while double clicking on the method IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_

BEFORE

Error message is Interfacemethod "IF_EX_LE_SHP_DELIVERY_PROC~SAVE_AND_PUBLISH_BEFORE has not yet been implemented".

It is not opening to write my code.

Any suggestion.

Thank you

Mamatha

Read only

0 Likes
5,673

Hi Mamatha,

1. Define your class

2. Define methods and parameters

3 Give your interface name in the interface tab

4. Save and activate

It will show warning messages ignore them

5. Go to methods tab and double click it will work i have done it

Regards

Pavan

Read only

0 Likes
5,673

Hi All,

Thank you so much for your response.

I give me an idea to look further into my issue.

I assume data was not saved properly in the transprot. we regenerated the transport and seems to work now.

Appreciate your help.

points added to all .

Read only

Former Member
0 Likes
5,673

Hi mamatha,

Provide your inreface name in the Interface tab of the class.

Then go to the interface method and write your code to implement the same

Regards

Pavan

Read only

Former Member
0 Likes
5,673

resolved.