Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BOM item

Former Member
0 Likes
1,012

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

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
975

CSAP_MAT_BOM_READ.

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

7 REPLIES 7
Read only

shivananddeshmu
Explorer
0 Likes
975

This message was moderated.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
976

CSAP_MAT_BOM_READ.

Read only

0 Likes
975

OK, i know but how i can link item with correct line in header?

Read only

0 Likes
975

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.

Read only

0 Likes
975

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.

Read only

0 Likes
975

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.

Read only

0 Likes
975

Hi,

I need link theme.

Thank you for your input.

BR,

E