need help on prodution line.
i am getting the Prodution line by using table (MKAL) based on the material in planning table(PLAF).
but the problem here is if i have 2 plannd orders with same material on different prodution line . i am unnable to get exact prodution line for that planned order.
what my select statement in abap is doing it picking up the the first prodution line and adding up all the quatities of that material.
i need some field in some table which changes with planned order and by which i can pick the prodution line accordingly.
i am getting wrong data when i'm linking plaf-matnr = mkal-matnr.
hope u under stand my requirement.
thank you very much...for looking at this thread.