Application Development 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: 

BAdi - ME_PROCESS_PO_CUST not trigger.

Former Member
0 Kudos

Hi all,

I create a implementation under BAdi ME_PROCESS_PO_CUST,

Use method , POST,

This function that send email to user when PO has been release.

Now in test environment this BAdi ,ZME_PROCESS_PO_CUST~POST has normally,

In PRD800 is not be trigger when i transport to PD800.

Can you tell me the reasons why happed it and teching me how to solve it ?

Thanks,

Regards,

Alex Yeung

1 ACCEPTED SOLUTION

Former Member

Fixed .

Thanks .

35 REPLIES 35

former_member262988
Active Contributor
0 Kudos

Hi,

This badi can only be implemented once ...check whether there are multiple implementations.

Thanks,

Shailaja Ainala.

0 Kudos

Hi Shailaja Ainala,

How to check it ?

Use table:SXC_EXIT to check it or another way ?

0 Kudos

Hello,

When u Implement the BADI by providing the BADI name , U can find one Check box with Multiple Use if that is selected then u can have multiple imlementations otherwise not .

Or U can see SE18 BADI Definition as well withint he attributes.

Regards,

0 Kudos

Hi shishupalreddy ,

Box 'Multiple Usability' is not selected,

Can we to change the 'Multiple Usability' status ?

Alex Yeung

0 Kudos

Hello,

No We cant change ....It will be provided by SAP.

Regards

0 Kudos

Hi Alex,

To see all the implementation of the BADI. GO to SE18, click on Enhancement Implementation -> Overview. It will give you all the implementation of the BADI.

IF the multiple implementation check box is not tick then you can create just one implementation of the BADI. In that case you have to write your code in the existing implementation.

Regards,

Manish

0 Kudos

Hi shishupalreddy ,

ok,Don't to change it .

0 Kudos

Hi Manish,

I check it exist and only a implementation name ,But this standard implementation provide by SAP.

I don't to change it ,

'CON_FIN_SUBCONTRACT' standard implementation,

Regards,

Alex

0 Kudos

Who will be help me ?

0 Kudos

Hi

Try to insert an break-point in fm MEPOBADI_POST: this fm should trigger the method POST of the BADI

Max

0 Kudos

Hi Alex,

In response to your post

Hi Manish,

I check it exist and only a implementation name ,But this standard implementation provide by SAP.

I don't to change it ,

'CON_FIN_SUBCONTRACT' standard implementation,

Regards,

Alex

-


I want to say that if there is just one implementation in the production system and that too a standard one, then please check that your implementation is correctly transported or activated as you arte not able to see it your production sustem. It means its not there in the system.

Hope this will help you.

Regards,

Manish

0 Kudos

Hi Manish,

Yes, i confirm, I has transport to PD and it is active ,

Beacuse of i login PD to check, there are active.

0 Kudos

Hi Alex

I am facing the same issue, but in development server.....have you been able to resolve it??

Thanks

0 Kudos

Hello,

Sorry , don't solution,

What's status with you ?can you share your's issue on here ?

Alex Yeung

0 Kudos

No body to help me ,

0 Kudos

Hi

Have you checked what's happens in fm MEPOBADI_POST? Here the method post is called

Max

0 Kudos

Hi Alex,

Did you check BADI in ZME_PROCESS_PO_CUST~POST in PRD800?

Check whether the BADI is in active status.

Hope it helps.

Regards,

Manish

0 Kudos

Hi Manish,

Thanks,

I set the breake-point in here ,but the method 'MEPOBADI_POST' is not trigger , and i check this status is active,

I don't know how to solution it , Can you give me some well advise ?

Alex

0 Kudos

Hi Manish,

Yes i'm sure ,this BAdi still PRD system and it is active.

Alex

0 Kudos

please dont confuse us....

BADI ME_PROCESS_PO_CUST is not multiple use type. So it should have only one implementation.

sap is not given implementation for badi definition BADI ME_PROCESS_PO_CUST. I dont know how you are saying sap is given implemention part CON_FIN_SUBCONTRACT.

your are saying that you had been implemented one implementation ZME_PROCESS_PO_CUST for badi definition BADI ME_PROCESS_PO_CUST.

if sap is given implementation CON_FIN_SUBCONTRACT then you could not able to implement implementaion ZME_PROCESS_PO_CUST . because this BADI is not having multiple use implementaion.

I think you have to check two points.

in your PRD800 system do following check and give it to me

To see all the implementation of the BADI ME_PROCESS_PO_CUST . GO to SE18, click on Enhancement Implementation -> Overview. It will give you all the implementation of the BADI.

if you have implementation as ZME_PROCESS_PO_CUST then you implementaion sucessfully transported to PRD800.

If your implementation is there then do check actionvation check in two level.

1. method level ZME_PROCESS_PO_CUST ~post

2. Implementation level.

if above all the conditions are ok then you should not have any problem.

let me know if you have any help.

Regards,

Peranandam

0 Kudos

Hi Peranandam,

Thank you ,

I check the implementation of the BADI ME_PROCESS_PO_CUST in our PRD system and find two implementation in here ,

1. CON_FIN_SUBCONTRACT,

2.ZME_PROCESS_PO_CUST,

And i check they ,implementation 'CON_FIN_SUBCONTRACT' provide by SAP,

Implementation 'CON_FIN_SUBCONTRACT' details info. as below,

Implementation: 'CON_FIN_SUBCONTRACT'

Description: 'Connection of subcontracting to Logistics Integration'.

Package : CON_FIN_CO,

Interface name: IF_EX_ME_PROCESS_PO_CUST,

Name of iplementing class:CL_IM_CON_FIN_SUBCONTRACT.

status :Active,

Another implementation ZME_PROCESS_PO_CUST created by me ,

It is active status,

And the code post in method ZME_PROCESS_PO_CUST ~post,

All the details, but not trigger,

How to check others setting or change ,Can you help me ?

Thank you ,

Alex Yeung

0 Kudos

Hi Peranandam,

Implementation : CON_FIN_SUBCONTRACT provide by SAP ,

I try to change it but not ,you can to login your's system to check it ,

Implementation :CON_FIN_SUBCONTRACT is not change ,

This implementation function is

When Purchase Order has been release then send email to notice the user and tell him(her) ,purchase order already post,

They will notice the vendor .So i use the BAdi to check the release status of the purchase order ,

How to solution it at this now? Can you help to provide another way to solution it ?

Thank you !

Alex

Former Member

Fixed .

Thanks .

0 Kudos

Hi,

How did u fix this?

Regards,

Venkanna

0 Kudos

Hi Venkanna,

Due to BAdi ME_PROCESS_PO_CUST is not multiple use type. So it should have only one implementation,

it's that say, you just only to create only one class implementation, and delete all inactive's implementation ,

Try it ,if U have others question,please update on here, I will reply U ASAP,,,,,

Regards,

Alex

0 Kudos

Hi Venkanna,

Because of i don't know what's question has appear, so did not to provide the best solution way ,,,

If you think to know how to solution the implementation is not trigger , please give me a error message or useful issue on here,..Thanks,

Regards,

Alex

0 Kudos

Hi Alex ,

me too facing similar problem.

this badi is getting triggered in development, but not in quality and production.

please let me know what is d issue in this badi.

and the other thing is when am trying to write code in method post it is giving message

"Changes to IF_EX_ME_PROCESS_PO_CUST~POST are forbidden by SAP".

Main issue is this badi itself is not triggering in quality n production.

I will very thank ful for ur quick responce.

thanks in advance,

Mahammad Farooq

0 Kudos

Hi Mahammad Farooq,

Standarding code provode by SAP of the IF_EX_ME_PROCESS_PO_CUST~POST ,

Due to BAdi ME_PROCESS_PO_CUST is not multiple use type. So it should have only one implementation,

it's that say, you just only to create one class implementation,

So I think, May be you need to do the fellowing check,

Check 1, How many implementation is exist,

Check 2,The calss implementation has active or inactive,

About the solutoin way ,i suggest use the fellowing step,

Step 1, Use SE19 to create a "New BAdI' on BAdI - ME_PROCESS_PO_CUST,

Step 2, If you have created this class implementation ,create the class,

Step 3, Set "BREAK-POINT" inside the BAdI and debug it.

If you not to solution this BAdI ,you can print the screen into the word and send to me discuss these,

Help it's useful,

Thanks,

0 Kudos

Hi Alex,

there are two implementations exists for this badi

1. CON_FIN_SUBCONTRACT - standard. in which no method has been implemnted

2. ZME_PROCESS_PO_CUST -- i created this impelmentation, in this i implemented method PROCESS_ITEM,

i transported this implemented badi to quality after testing in development.

it is working well and fine in development. But in quality and production too this implemntation is not getting triggered.

there is no use of keeping break point caz this badi itself is not getting triggerd.

i tried deleting the implementation and again creating the request and proceeded all the steps from the first and transported to quality but in vain.

this badi has the status active/implemnted in quality.

i think u got wat is d issue.

Thanks for the reply.

0 Kudos

Hi Mahammad,

I already told you BAdI ME_PROCESS_PO_CUST is not multiple use type. So it should have only one implementation.

I have a question to ask you ,

You use SE18 to saw the BAdi ME_PROCESS_PO_CUST and

click overview to view the implementation,

Question ...

In this here,Have you found 2 implementation ,first CON_FIN_SUBCONTRACT and another is ZME_PROCESS_PO_CUST?

If yes,

Suggest the below step,

1, Delete the implementation, ZME_PROCESS_PO_CUST .

2. Use SE19 to create 'New BAdI',

3. Base on Step 2 is oK now ,go to create the implementation class,

4. In the class interface, write the code ,set break point and debug,

-


Therefore ,i suggestion you must to delete implementation ZME_PROCESS_PO_CUST

0 Kudos

Hi Mahammad,

I already told you BAdI ME_PROCESS_PO_CUST is not multiple use type. So it should have only one implementation.

I have a question to ask you ,

You use SE18 to saw the BAdi ME_PROCESS_PO_CUST and

click overview to view the implementation,

Question ...

In this here,Have you found 2 implementation ,first CON_FIN_SUBCONTRACT and another is ZME_PROCESS_PO_CUST?

If yes,

Suggest the below step,

1, Delete the implementation, ZME_PROCESS_PO_CUST .

2. Use SE19 to create 'New BAdI',

3. Base on Step 2 is oK now ,go to create the implementation class,

4. In the class interface, write the code ,set break point and debug,

-


Regars

Alex

0 Kudos

Fixed.

Thank you alex for ur valuable suggestion.

0 Kudos

Hi Mahammad,

Even me facing the same issue...Can u guide me how to do it..

Regards & Thanks,

Ramesh

Edited by: ramesh goud on Dec 16, 2009 10:52 AM

Former Member
0 Kudos

Hello,

I was also facing this issue. Just implement Note 1132293 and it's solved.

regards,

0 Kudos

Ismael,

Do you have the description of the note?

Thanks