‎2008 Feb 04 12:50 PM
Hi All,
STKO and STPO is the header and item table for BOM.
I've 3 alternative BOMs ,I want to know what is the correct items for 1st and for 2nd and for 3rd alternative BOMs.
Can you please let me know how to find the items for each alternative BOMs
Ashok...
‎2008 Feb 04 12:53 PM
Hi,
Lets assume i have a bom number: 1000000.
Assume that it has 2 alternatives: 10, 20.
Assume that each alternative has 2 items each: 1000, 1010.
Now in STPO, items are not stored according to alternatives of BOM number.
So in order to find out the item number which corresponds to an alternative , you have to pass bom number to STAS and get the alternatives(STLAN) and get the node number STLKN. Using this you have to pass it to STPO to fetch the proper item.
so entries will be:
STPO:
STLNR STLKN ITEM
1000000 000001 1010
1000000 000002 1020
1000000 000003 1010
1000000 000004 1020.
Similarly in STAS:
STLNR STLAN STLKN
1000000 10 000001
1000000 10 000002
1000000 20 000003
1000000 20 000004.
Regards,
Satish
‎2008 Feb 04 12:55 PM
Hello Ashok,
Check the table STAS and KDST.
Regards,
Vasanth
Edited by: Vasanth M on Feb 4, 2008 1:58 PM