cancel
Showing results for 
Search instead for 
Did you mean: 

STPO table issue.

deepu_p2
Active Participant
0 Kudos

I want the list of bom components from the STPO table. when I go in to STPO table I have 50 lines in the table for the BOM number where as I have only 6 lines in cs02 table. ( I took alternative bom in to consideration and STAS table deleted intems in to consideration). how to get the exact list of current BOM line items.

I am Using ECM.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Call function module CSAP_MAT_BOM_READ manually or in a Z program.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi there,

are You about to build query / z* program with using DB-tables MAST / STAS / STKO / STPO?

Have You tried to check what is the result with using material BOM logical database? tr. action SE36 / ldb CMC test with certain material no. How many lines did You get for STPOB node? If it is ok, than use this ldb for building the report

Br

deepu_p2
Active Participant
0 Kudos

I am trying to get the BOM components from STPo table to perform some comparision between actual BOM and process order BOM.

MY requirement is also quiet simple. I want to get the active BOM information from STPO table. But since I have ECM its storing all the changes and past data too. I just want to get the active data till data from STPo table.

Former Member
0 Kudos

STPO table does not hold validity end date, so iti is hard to deduct the actual items from it. The FM I suggested works for it. If you really have to go through the table, you can try by excluding old items using previous node and counter fields, which are VGKNT and VGPZL.