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

PO Check!

Former Member
0 Likes
2,462

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,325

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

17 REPLIES 17
Read only

Former Member
0 Likes
2,325

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

Read only

Former Member
0 Likes
2,326

Hi,

This badi is not for multiple implementation. Include your code with conditions in exitisting implementation.

Regards

Vinod

Read only

0 Likes
2,325

HI!

I've tried editing the existing implementation butu it denies editing it.

Any other alternative to acheive the result.

Thanks in advance,

Parwez

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

Hi Mirza,

Deactivate the active implementation and add your code to the exsting code and activate it again.

--

Reddy

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

>

> 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

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

Good luck.

--

Reddy

Note: Mark the usefull answers

Read only

0 Likes
2,325

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

Read only

0 Likes
2,325

Dont actuivate those include structures. let it be. Even though project can be actiavted.

Check your logic is working now?

--

Reddy

Read only

0 Likes
2,325

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.

Read only

0 Likes
2,325

By the wayz i've warded you ur points.

Cheers.

Read only

Former Member
0 Likes
2,325

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