cancel
Showing results for 
Search instead for 
Did you mean: 

Modification in consumption based period determination in PPDS

Former Member
0 Kudos

Hi,

Existing PPDS Heusristic calculates first period for periodic lot size based on current date  next period is determined from end of first period and so on.

We want calculation of period starting from date on which first shortage is there.

There is SAP Note 866278 through which this can be achived but this will e applicable for all the heuristic which use function Module /SAPAPO/RRP_LOTSIZE_STD(ex-SAP_PP_002,SAP_PP_003,SAP_PP_004,SAP_PP_SL01, SAP_PP_017.

We want to use it only for few products. Also we want to have option of go back standarad heuristic if in future business need it.

Please suggest

 

Accepted Solutions (0)

Answers (1)

Answers (1)

rajkj
Active Contributor
0 Kudos

Hi Santosh,

1. Only few products need to use custom lot size start period

Maintain a location product or product specific value (t.code /SAPAPO/MAT1) so as to access this value and decide to run the custom lot start period.

  • SPRO path - IMG > APO > Master Data > Maintain freely definable attributes
  • From the peg id from the BAdI method's importing parameter (/SAPAPO/OM_IO_PP_TAB), you can access mat id and loc id that in turn can be used to retrieve the value maintained in the product master record.

2. Only the heuristic SAP_PP_004 needs to access the custom implementation

Use function module SYSTEM_CALLSTACK to check whether the algorithm /SAPAPO/HEU_PEGID_PERIODIC_LOT is in the called function modules list (similar to debugging). If the algorithm is already called, then set your custom period, otherwise, leave it to the SAP standard.

  • May be your ABAP expert is more resourceful and helpful. He/her can suggest you a better idea.

Or  go for a new heuristic model off SAP_PP_04 as described in the following link

http://help.sap.com/saphelp_SCM700_ehp02/helpdata/en/44/c1703713bf277ee10000009b38f8cf/content.htm

Thanks,

Rajesh