cancel
Showing results for 
Search instead for 
Did you mean: 

Sequencing planned orders in APO

Former Member
0 Kudos

Hello everyone.

I was hoping to get some pointers for a certain requirement in APO.

Industry: Automotive/truck manufacturing

Scenario:

SNP planned orders are converted to PP/DS planned order for the next one week. Each order is of 1 piece; there are several orders per day. The planned orders are to be sequenced in APO for the next day. No setup optimization is required. Now, assume there are 5 different categories if vehicles to be produced on a single resource, viz. A, B, C, D, & E. The orders must be sequenced such that there are at least 5 other vehicles of any category after each vehicle of category A. Similarly, there must be at least 4 other vehicles of any category after each vehicle of category B. Again, at least 2 vehicles of category C must be produced together. Refer example below:

E.g.: A-> B-> C-> C-> E-> B-> A-> D

There are multiple constraints of this sort. The final outcome must be a sequence of orders as given above.

Any options available to handle this scenario in APO?

Regards,

Arpan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Arpan,

I have implemented something similar few month ago. I used the product priority to do the sequences. After generation of the PPDS orders I used heuristic Schedule Sequence by priority (ascending). Then the orders are extracted, modified (with your logic) and saved as final plan in APO.

The big challenge is to implement your logic. You have to create a program to manipulate them based on the rules. For me it was something like if the priorities 1, 2, 3 are already planned (firmed and fixed), the next orders in sequence must be 4, 5, 6, etc and the orders with priority 1, 2 and 3 must be postpone with 15 days in the future and realigned to the others orders in ascending sequence.

To extract PPDS orders you can use BAPI_MOSRVAPS_GETLIST2. To modify and change you can use BAPI_MOSRVAPS_SAVEMULTI3.

Hope that can help you!

Thanks.

Regards, Marius

Former Member
0 Kudos

Thanks Marius.

Though this isn't exactly my requirement. it sure did give me a good idea. Will explore that and post here if it turns out to be useful.

Regards,

Arpan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Arpan,

In APO, you will have to use ISAuto for this purpose.

You can look at using qty, block and KnM kind of constraints for resolving your sequencing problem. You can access them from t-code /n/sapapo/seq1 & /n/sapapo/seq2.

Block can take care of you C-C kind of contraints. KnM will take care of your 5 vehicles following A category vehicle.

Good luck.

Regards,

Vinay

Former Member
0 Kudos

Hi Vinay.

Thanks for the input. I'm familiar with block planning, but not so much with KnM constraints. Any document or threads available online that I could read up on that?

Appreciate your help.

-Arpan

Former Member
0 Kudos

Sorry for the late reply arpan.

You can access all SAP documentation for your requirement in below link. Explore Model mix planning in detail to cover all aspects of sequencing for automotive industry.

All the best!

Regards,

Vinay

K-in-M Restriction - Model Mix Planning - SAP Library

Former Member
0 Kudos

Thanks again, Vinay.