Hi experts,
I have a problem with implementation that I'm designing.
Current situation:
While MRP run (MD02 or background) new Schedule Lines are being created in reference to MM Scheduling Agreement.
Example:
04.08.2014 | SchLne | 5500000415/00010 | 200 | ||
04.08.2014 | IndReq | VSFB | 200- | ||
05.08.2014 | SchLne | 5500000415/00010 | 300 | ||
05.08.2014 | IndReq | VSFB | 300- |
2 Schedule Lines where created - for wuantity 200 and 300.
Target:
There is a need to create more than oneSchedule Line per day during MRP run. According to example there should be for example 2 Schedule Lines in 04/08 and 3 Schedule Lines in 05/08 all for quantity = 100. There is possibility to change Schedule Lines in ME38, but there is a need to make a change during creatin while MRP run.
04.08.2014 | IndReq | VSFB | 200- | ||
04.08.2014 | SchLne | 5500000415/00010 * | 100 | ||
04.08.2014 | SchLne | 5500000415/00010 * | 100 | ||
05.08.2014 | IndReq | VSFB | 300- | ||
06.08.2014 | SchLne | 5500000415/00010 * | 100 | ||
06.08.2014 | SchLne | 5500000415/00010 * | 100 | ||
06.08.2014 | SchLne | 5500000415/00010 * | 100 |
So instead of creating only 2 Schedule Lines, MRP should create 5.
I'm looking for a BADI/user-exit to edit Schedule Lines which are to be created by MRP and change it tn reference to the needs.
I found only one BADI:
BADI: MD_CHANGE_MRP_DATA
method: CHANGE_MDPSX_MDBS
The priblem is that this method is only being executed when there are Schedule Lines which already exist.
Maybe some of you have done some extension similar to mine? Please give me advice where I should put extension.
Thanks in advance!