Skip to Content
0

LIMIT PLAN ORDER QUANTITY AS PER SALES ORDER

Apr 15 at 04:59 PM

76

avatar image
Former Member

Hi,

We are creating manual plan orders again sales order and in our situation there could be multiple plan orders against a single sales order. I recently got a task to put a control on quantity of plan order that it(quantity) should not exceed sales order's quantity, and in case of multiple plan order, cumulative quantity of all plan orders which are against one sales order should not exceed.

I have found Business Add-In (BAdI) MD_PLDORD_CHANGE but according to its documentation I can't place error message inside that. Moreover, I tried to place soft and hard break point after creating implementation of it but the breakpoints never hit during the whole process of creating and/ or changing plan order.


I have thoroughly checked SDN for my issue but couldn't able to find any solution.


Any solution (standard/ technical) will be appreciated


Thanks in advance,

Sumaira Goplanai


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

RAJA SEKHARA REDDY BANNURU Apr 16 at 02:35 AM
0

Hi Sumaira Goplanai

==================================================================================='
Task to put a control on quantity of plan order that it(quantity) should not exceed sales order's quantity, and in case of multiple plan order, cumulative quantity of all plan orders which are against one sales order should not exceed.
=================================================================================='

Creation of the Planned Order Quantity, based on the incoming Sales order quantity, mainly depends on up the following parameters
What is the Strategy group assigned, in the Material master ( Check, in MRP3, View) ?
What is the Lot sizing Procedure assigned, in the Material Master (Check in MRP 1 View) ?
What is the MRP Type assigned in the Material Master (Check in MRP 1 View) ?

Could you please share these inputs, to understand the current situation/requirement more better & to propose the most suitable solution.

Thanks for your quick feedback/inputs : Best Regards : Raja

Share
10 |10000 characters needed characters left characters exceeded
Venkatesh Babu Apr 16 at 10:27 AM
0

Hi Sumaira,

If you are creating a manual planned order

system won't validate the planned order quantity with sales order quantity i.e. we can create a planned order more than sale order quantity

if you want to restrict you have to try with the enhancement only

Regards,

Venkatesh Babu


md04.png (6.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Can you please guide us about possible enhancement for our case?

0
Caetano Almeida
Apr 16 at 02:02 PM
0

Hello

For sure you will need an enhancement here, since MRP will not limit the quantity.

You are also right regarding the error message: you cannot use this BAdI to trigger an error message, as it may interrupt the MRP execution in background.

Regarding your break-point, the BAdI will only be called when a new planned order is generated by MRP or when an existing planned order is changed. In addition, if you run MRP in parallel, it will trigger the execution in a different process and your break-point will not be reached.

I suggest you to delete the existing planned orders and then run MRP again in transaction MD03, in order to reach your break-points.

Regards,

Caetano

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Caetano,

Thanks for your reply, we are creating Manual plan orders as described in question and not running MRP. Can you suggest any alternate other then Badi?

0
avatar image
Former Member Apr 16 at 07:28 AM
0

What is the Strategy group assigned, in the Material master ( Check, in MRP3, View)

Strategy group: 20 with requirement type KMSE

What is the Lot sizing Procedure assigned, in the Material Master (Check in MRP 1 View)

Lot Size:EX Lot for lot

What is the MRP Type assigned in the Material Master (Check in MRP 1 View)

MRP Type: PD

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Thanks for the quick reply & feedback

As per the inputs mentioned, if the Strategy Group : 20, with Lot Size Ex & MRP Type : PD,
System should create the Planned Order Quantity same as that of the Sales Order Quantity, during MRP Run.
This planned is linked with the corresponding Sales Order( Quantity of Planned Order = Sales Order Quantity)
Please find the attached screen shot of the same, for your Quick Ref)
But, if it is standard 20 Strategy, then the Requirement Type = KE ( attached screen shot in EHP6 System)
(But, in the Mentioned case, it is KMSE)
Please check your Requirement Type settings, if there exists any Problem, compared to the Standard.
Hope, this will be some useful info. Kindly let me know, for any further assistance required.

Thanks & Regards : Raja



hzen9.png (70.9 kB)
ibjyf.png (37.2 kB)
0
Former Member

Thanks, but there is slight miscommunication from my functional team, we are using Strategy Group 89 - Assembly proc. w. characteristics plng


I am again sorry for miscommunication, Can you please recommend any solution regarding this scenario.

0