Application Development 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: 

bomcomponent and plant

Former Member
0 Kudos

hi all,

I am fetching the data of main item from subitem of bom, the output is giving correctly.

But my selection criteria is bomcomponent and plant.

how to fetch the data plant wise also.

If I give bomcomponent in selection-screen , it gives all the plant details.

how to give the select query of that select options.

bomcomponent is in stpo table and plant is in mast.

thanks in adv

vidya.

Locating Main Item From Sub Item Of Bom

4 REPLIES 4

Former Member
0 Kudos

Hi,

MAST table has the field STLNR which can be used to retrieve data in combination with the plant.

Regards

0 Kudos

hi sheldon,

thanks for ur reply.

if u don't mind tell me in detail.

I am not getting that one.

how to write the select stats for selectscreen of both bomcomponent and plant.

regards

vidya.

0 Kudos

Hi,

Check the field WRKAN in STKO, see if its useful.

Else you will have to join the three tables STPO, STKO and MAST.

Regards

former_member214131
Active Contributor
0 Kudos

USe FM CSAP_MAT_BOM_READ or CS_BOM_EXPL_MAT_V2...

Best Regards, Murugesh AS