cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating a overwrite method in class

Former Member
0 Kudos

Hello,

I am trying to create an overwrite method in the class CL_SWF_POWL_DETAILS_WD_ASSIST. While activating the method I am getting below error.

Type "LCL_YWF07_SWF_IMPLN" is unknown.

Please give your expert advice.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Szczerbowski
Active Participant
0 Kudos

Every time or only once? I assume you tried removing and adding this overwrite again?

Former Member
0 Kudos

Hi Michal,

Thanks for reply.

Yes we did try to remove the error again and again.

But the part of code is getting automatically generated so we do not have any information how to remove the error.

Is there any place where we need to declare type LCL_YWF07_SWF_IMPLN in the program.

Thanks & Regards

Saransh Shrivastava

SuhaSaha
Advisor
Advisor
0 Kudos

Is there any place where we need to declare type LCL_YWF07_SWF_IMPLN in the program.

The Enhancement framework generates this local class when you define a pre-/post-/overwrite exit. Afaik, you cannot manually define or change it.

Szczerbowski
Active Participant
0 Kudos

Sorry I can't reproduce this error, you need to check for OSS notes relevant for your system and Enhancement Framework or directly with SAP Support by raising OSS Incident.