cancel
Showing results for 
Search instead for 
Did you mean: 

Routing Script (to decide optional step)

former_member557371
Participant
0 Kudos

I need the simple Custom Routing script, which can decide where to
go after PREP operation is completed (example routing mention above)

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If you are looking for general help on scripting, start here: Routing Scripts for Next-Step Selection - SAP Manufacturing Execution (SAP ME) - SAP Library

If you are looking for specific help for the scenario above, you need to provide the business requirements for correctly choosing the next step after Prep.

former_member557371
Participant
0 Kudos

I am looking for specific scenario -

Note - I am using SAP ME v15 and working on the Non-Serialized
(order) Processing functionality (using Relax routing)

Requirement – Instead of operator chosing the next step (Assembly or Paint or Debug) always manually script should do that based on this below mention rule

Logic

Go to the operation

where SFC Qty already in queue is least (minimum) and

If in case it is equal in
all the three or two operations , ask the operator for the manual selection.

Thanks

0 Kudos

Very strange requirement:

- names of the operations imply the different nature of each operation;

- however, distributing SFCs by qty in work at those operations sounds as all operations are equal.

I guess you will have to use executeQuery to get those Qty's:

Methods Available for Scripts - SAP Manufacturing Execution (SAP ME) - SAP Library

Regards,

Sergiy

0 Kudos

And if you are going to execute your custom SELECT queries, you have to consider their performance and impact on basic SAP ME functionality.