Dear PPDS experts,
Lets say,after optimization run,we have the following planned orders in the following sequence:
PROBLEM STATEMENT :
Gradewise sequencing of orders within the same size to be done with priority as A=>B=>C.
REQUIRED RESULT :
How do we go about this ?
If you are using CDP(charcteristic dependent planning in APO) with class 400 then you can use following badi
/SAPAPO/CDPS_ORDDATA metod GET_ORDDATA.
You need fill the structure CI_ORDCUS e with charcteristic grade and size and use above badi to write logic to read these details from the order.
above process will make charcteristic available as sequencing parameter in scheduling strategy and schedule sequence heuristic. So there you can choose required order ascending /descending as required.
I am not sure whether method also works if you use VC in APO side also. You can give a try.
Second option to use genrati and on of set up matrix based on charcteristics. Here you can have set up group and setup matrix based on charcteristic values.
The sequence of sizes is decided by optimization (based on the setup matrix maintained).So we cant use the BAdI /SAPAPO/CDPS_ORDDATA for sorting based on size.
After optimization,the requirement is to sort gradewise within a given size.Here again,if we use BAdI /SAPAPO/CDPS_ORDDATA and give sorting criteria as grade,then sorting will be done for all the orders in the scheduling board.
To arrange the order in required sequence you need some manual intervention or custom sorting logic as seuencing based on size and grade together may change sequence size given by optimizer.
One option is use to use schedule sequence manually heuristic to arrange order in required sequence.