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

Error in BADI

Former Member
0 Likes
1,318

Dear Experts,

I have implemented BADI method

Error in class pool ZCL_IM_ME_PURCHDOC_POSTED of BAdI implementation ZME_PURCHDOC_POSTED. Even after trying many times I get message as Object type ZCL_IM_ME_PURCHDOC_POSTED does not exist while clicking the implementation class in SE19 Tcode in quality system.

I found 1 thread in this forum [BADI error|/thread/944225 [original link is broken];. But there is no solution. Can you please tell me how to rectify this error. I see that there is no syntax problem in BADI method.

KR,

Bharath

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
943

Hi,

Did you check whether it is woking fine in development system? What is the transport logs says? If both are fine, can you try to delete and reimplement? By the way what is the BADI definition name. It looks like you have some syntax error in your code.

Thanks,

Vinod.

2 REPLIES 2
Read only

vinod_vemuru2
Active Contributor
0 Likes
944

Hi,

Did you check whether it is woking fine in development system? What is the transport logs says? If both are fine, can you try to delete and reimplement? By the way what is the BADI definition name. It looks like you have some syntax error in your code.

Thanks,

Vinod.

Read only

0 Likes
943

Dear Vinod,

Thanks a lot for your reply. The problem was while creating the BADI implementation class I have specified a TR. But I did not transport this TR to Quality. Other than this TR I kept making changes in BADI and created a new TR and tried transporting it. That is why I got the message implementation class does not exist. I deleted the BADI implementation and moved this TR first to quality. Then again created a implementation in a new TR and sent to quality. Now its working fine. Lesson learnt is while creating BADI we are prompted to enter TR almost 3 times. All time its better to specify a single TR and move that alone to quality.

KR,

Bharath