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: 

User Exit MD11 - Very Urgent

graghavendra_sharma
Contributor
0 Kudos

Hi

I have found two user exits for MD11 transaction.

LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg

LMDZU001 User exits in additional planning

But control is not stopping in either of these exits when I execute the transaction MD11.

Can anyone pls help me where exactly these exits are used in MD11 transaction.

raghav

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check this badi

MD_PLDORD_BOMEX_CIF

MD_PLDORD_CHANGE

MD_PLDORD_POST

MD_PLDORD_SCHEDULING

MD_PLDORD_TIME_STAMP

regards

shiba dutta

14 REPLIES 14

Former Member
0 Kudos

I guess it is better ask your functional consultant as they has to provide the details which user exit need to activate and use to solve the purpose.

Former Member
0 Kudos

check this badi

MD_PLDORD_BOMEX_CIF

MD_PLDORD_CHANGE

MD_PLDORD_POST

MD_PLDORD_SCHEDULING

MD_PLDORD_TIME_STAMP

regards

shiba dutta

0 Kudos

Hi

Thanks for your reply.

Unfortunately none of these BADis were serving my requirement.

Pls let me know if you get any more info.

regards

raghav

0 Kudos

but i have used MD_PLDORD_SCHEDULING. Just create the implementation and put a break point in the method . It will trigger when you will press save.

But no idea about others...

regards

shiba dutta

0 Kudos

Hi

I couldn't implement that BADi since i am working on 4.6C. I have to use user exits only.

The issue is:

In MD11 (Create Planned Order),

If the order finish date is in the past, then system should throw an error message instead a warning.

I mean Standard SAP is thowing a warning message, but my requirement says it should be an error message.

Could any help me in this regards

0 Kudos

Yes you are right. I can see both of these exits assigned for this Tcode MD11:

LMDR2001 User exits restr. profiles of opt. pur.ord.-based load

LMDZU001 User exits in additional planning

which you can find in SMOD.

However, both of these exits are not implmented yet which means that they are just empty hooks and nobody has instered any code there.

e.g.

EXIT_SAPLMDZU_001

EXIT_SAPLMDZU_002

EXIT_SAPLMDZU_003 are the empty function mudules assigned for this tcode and as of now they are empty

. If you want you can put your code here and then that code will be executed when you run the tcode MD11.

Please reward the helpful entries.

Regards,

Raman.

0 Kudos

Hi Raman,

Thanks for your response.

I did exactly the same way what you have mentioned. But control is not even reaching that break point.

Can you suggest, if you have any other info.

regards

raghav

0 Kudos

Hi,

Check the folloing BADI's

MD_PLDORD_SCHEDULING

MD_PIR_FLEX_CONS

MD_PLDORD_SCHEDULING

Regards

0 Kudos

quite interesting... I also had a similar problem earlier... still unresolved... so let me know also if you get any solution

Regards,

Raman.

0 Kudos

Hi Kiran,

As i'm working on 4.6C, I did not find these BADi's there.

0 Kudos

planned order changes happen in update tasks. Activate update task debugging and then check..

0 Kudos

Hi

Thanks for the response. Can you pls let me know how do I do that?

Raghav

0 Kudos

before saving the planned order, goto debug mode. In the menu you should be able to find the setting to activate 'update debugging'. Activate this and press F8. Then the control will go to an update task. Here you can put the breakpoint at the required user-exit function module and press F8 to go there.

0 Kudos

Hi

Thanks for your response.

I did follow the procedure. But control did not stop on any of the user exits as you mentioned.

Pls help me if you have more info.

raghav