Hi Jepi.
Im afraid i dont understand what you mean with modify with a refference caracteristic. With your 1st post i have in mind something like this, so the SAP_08 = 5000
( SAP_09 - 1 ) DIV SAP_08 + 1 ) * SAP_02
((5000 - 1) div 5000 + 1 ) * 1 = (4999div5000 + 1) * 1 = (0+1)*1 = 1
((6500 - 1) div 5000 + 1 ) * 1 = (1 + 1) * 1 = 2
((10100 - 1) div 5000 + 1 ) * 1 = (2 + 1) * 1 = 3
**************************************************************
SAP_09 is Lot size (of your production order)
SAP_08 is base quantity (of your operation, e.g. 3 Pieces) > 5000
SAP_02 is the required time based on base quantity (e.g. machine time of 30 min per 3 Pieces)
SAP_09 is filled automatically by production order, SAP_08 and SAP_02 you have to maintain in your routing operation.
**************************************************************
If you give more details, maybe someone in the forum could give you the idea that solve compleatly your requirement.
Arturo.