2010 Jan 19 3:54 PM
Hello,
I need get all data for BOM header/item (present and from the past - history)
Could you provide me FM which I can use to get that data?
I need get Change N, Change N To... - all data which we have in CS03
Thanks in advance,
Marcin
2010 Jan 19 4:02 PM
2010 Jan 19 3:59 PM
2010 Jan 19 4:02 PM
2010 Jan 19 4:28 PM
OK, i know but how i can link item with correct line in header?
2010 Jan 19 4:37 PM
Hi,
I didnt exactly get your question,
But what this fm does is,
This function module gives you the child part for the parent parts(FERT) as input.
Get the part no from MARA compared with MARC and then pass to this fm.
Note:This fm only gives you the immediate child level parts(1 level per execution) for the material as input,
Further for multilevel pass the materials obtained from level 1 to get the level 2 and continue till the level ends.
If its a program you should use a recursive logic,Loop till the end of the node.
The input material is the parent for the materials( child item) obtained from fm.
2010 Jan 19 4:44 PM
Using that FM i got: header - 2lines and items 9 lines.
And now i neeed link items to proper header - there we have different change number.
I investigate and i saw that i can use dates: from - to and created on to link it as it is in CS03.
But I'm not sure if it will be correct.
2010 Jan 19 6:13 PM
Hi dont get confused.
The material you pass as input is the parent and the materials you get in STPO table is your child parts for that particular material.
Dont consider any header tables.
2010 Jan 19 7:15 PM