2010 May 05 7:17 AM
Dear Experts!
My requrement is to verify the PO document date w.r.t. delivery date. i.e. PO date should not exceed delivery date.
For this i found the BAdi ME_PROCESS_PO_CUST but iam unable to implement it as it throws an errro saying already implementations are active.
Could you please suggest me further alternatives as to how to proceed or any enhancements ar any other approach.
thanks in advance.
regards,
Parwez
2010 May 05 7:27 AM
Hi,
This badi is not for multiple implementation. Include your code with conditions in exitisting implementation.
Regards
Vinod
Check if some body is already editing the implementation.
that is the perfect BADi for you.
I hope when u r trying customer exit, you have already created project and activated it.
--
Reddy
2010 May 05 7:22 AM
Hi Mizra,
as ME_PROCESS_PO_CUST is single used BADI, we can have only one active implementation. But you can still add your code in the existing implementation. dont create new implimentation..just change.
hope it works!
--
Reddy
2010 May 05 7:27 AM
Hi,
This badi is not for multiple implementation. Include your code with conditions in exitisting implementation.
Regards
Vinod
2010 May 07 5:15 AM
HI!
I've tried editing the existing implementation butu it denies editing it.
Any other alternative to acheive the result.
Thanks in advance,
Parwez
2010 May 07 6:25 AM
Check if some body is already editing the implementation.
that is the perfect BADi for you.
I hope when u r trying customer exit, you have already created project and activated it.
--
Reddy
2010 May 07 7:22 AM
HI Reddy!
Sorry i din't get ur point of project?
Actually am newbie for badi's.
Could you please eloborate how should i go ahead implementing thgis badi.
Awaiting ur kind response.
Thanks in advance.
Parwez
2010 May 07 7:46 AM
Hi Mirza,
Alternative for the BADI I have suggested to use Customer exit: Use enhancement MM06E005 & probably exit: EXIT_SAPMM06E_012.
If you want to try the customer exit, you need to create project in CMOD and assign enhancement MM06E005 and write code in Zinclude in FM EXIT_SAPMM06E_012. and activate the zinclude and project. Then you can check whether exit is trigger or not.
Regarding BADI, if some body already editing the implementation, other changes can be blocked by trasport request. What error you are getting when you are editing the existing implementation of the BADI.
--
Reddy
2010 May 07 5:29 PM
Hi!
thanks for your kind response.
By the wayz when i've tried creating a project and assigning the exit MM06E005 , it throws an errror that LO020 project already uses the exit.
When i try editing the BAdi it says that you cannot change the active implementations.
any other suggestions,
Thanks for your patience,
Awaiting your reply...
Parwez
2010 May 10 6:58 AM
Hi Mirza,
Deactivate the active implementation and add your code to the exsting code and activate it again.
--
Reddy
2010 May 10 3:32 PM
Hi Reddy!
Thanks for your kind concern.
But actually the existing implementation is not a custom implementation , its a standard implementation done by SAP itself so i feel that its not really the correct method to disturb the standard ones.
Might be my assumption is wrong but do suggest me if it is really the right procedure to go on...
Have you done like this to any standard implementations.
Thanks a lot for your kind response.
Awaiting ur rerply.
Regards,
Mirza
2010 May 11 6:15 AM
>
> By the wayz when i've tried creating a project and assigning the exit MM06E005 , it throws an errror that LO020 project already uses the exit.
>
If you do not want to deactivate standard BADI implementation, you can write code in the exit MM06E005, as it was already included in a project, you need not to create one again.
Just append your code in the zinclude and activate it.
Try this!
--
Reddy
2010 May 11 3:28 PM
Hi Reddy!
Yes am doing the same thing qactually i used the M06E0004 exit as it was triggering at PO save anyhow now iam trying it with appending my code as that too started working .
i'll write to you as soon as it is finished .
By the wayz thanks a lot reddy for your patience...
Can i have ur mail id plss..
Thanks and Regards,
Parwez
2010 May 12 6:00 AM
2010 May 13 6:37 AM
Hi Reddy!
Well everything went on very fine but at the end when i was trying to activate my project it threw an error saying that two include ci_ekkodb and ci_ekpodb are in active.
So in order to activate them i entered into the include structure and tried assignig some fields so that i can activate the structure but activation went on throwing warning messages and now coz of this structures my actual ekko and ekpo tables became inactive
Can you suggest wot fields do i have to enter in order to activate the ci_ekkodb and ci_ekpodb structures to get the system to normal.
Thanks in advance.
Parwez
2010 May 13 8:53 AM
Dont actuivate those include structures. let it be. Even though project can be actiavted.
Check your logic is working now?
--
Reddy
2010 May 14 11:50 AM
Hi Reddy!
Thanks a lot for your answers.
Actually i've tried activating the project but it throws an error message saying that the includes are inactive.
Anywayz now the problem is solved.
I went back to exit M06E0004 and tried the same code it worked well.
Thanks a lot
By the wayz i've asked for ur mail coz i need to ask you another doubt.
2010 May 14 11:51 AM
2010 May 11 7:47 AM
Hi ,
Can u check the Multiple use check box is ticked. If so u can do the implementation for that BADI.
With Regards,
Sumodh.P
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |