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

Cannot Activate BADI Implementation due to Class Warnings

Former Member
0 Likes
2,978

I have implemented a BADI in our SAP Payment Engine module. I have activated the class, but when I try to activate the actual BADI implementation, I get a message "Implementing class <Class Name Here> of BAdI implementation <BAdI Implemenation Name Here> contains warnings." and the implemenation will not activate. I have looked at the class warnings and nothing stands out as being problematic. I have experienced this problem before and I basically ended up creating the implemenation, immediately activating the auto-generated class, activating the implementation and then writing the source code and activating the class. Anyonce else experience this issue with a classic BAdI?

I have implemented a BADI in our SAP Payment Engine module. I have activated the class, but when I try to activate the actual BADI implementation, I get a message "Implementing class <Class Name Here> of BAdI implementation <BAdI Implemenation Name Here> contains warnings." and the implemenation will not activate. I have looked at the class warnings and nothing stands out as being problematic. I have experienced this problem before and I basically ended up creating the implemenation, immediately activating the auto-generated class, activating the implementation and then writing the source code and activating the class. Anyonce else experience this issue with a classic BAdI?

7 REPLIES 7
Read only

former_member189905
Participant
0 Likes
1,935

Hi Darryl, 

do you have implemented the enhancement spot that is the container of your BADI ?

Read only

0 Likes
1,935

Hi Khalid,

I'm having this issue with a Classic BAdI, not with a new BAdI based on an Enhancement Spot. I'm not sure if your question applies in this case.

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
1,935

Did you try commenting the code in the implementation class, activating the implementation and then uncommenting the code and activating the class?

Read only

Former Member
0 Likes
1,935

Hi Kumar,

I had this same idea but unfortunately it didn't resolve the issue.

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
1,935

You mean to say even when you commented the code in the implementation class and tried activating the BAdI implementation, you still got the message saying "warnings in implementation class"?

Read only

Former Member
0 Likes
1,935

Exactly. Very strange no? When I recreated the implementation and class (with new names), I deleted the ones that were causing problems. I wish I hadn't now so I could post screen shots.

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
1,935

Strange indeed. But don't worry about screenshots, I believe you.