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 Explosion Problem

Former Member
0 Likes
1,100

Hi All,

Is there any way to include the stock related information like vendor consignment stock,QI restricted stock etc of the material in BOM Explosion using the function CS_BOM_EXPL_MAT_V2 or using any other function.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,053

SORRY IT WILL ONLY EXPLODE THE BOM AND IT IS ENTIRELY GIVING THE BOM RELATED DATA. FOR OTHER THING WHY DONT YOU TRY TO FETCH THE RECORD FROM TABLES LIKE QALS OR ANY OTHER TABLE?

REGARDS

SHIBA DUTTA

8 REPLIES 8
Read only

Former Member
0 Likes
1,053

USE THAT FN MODULE AS I TOLD EARLIER.

YOU HAVE TO PASS

CAPID = 'PP01'.

DATUV = SY-DATUM.

MEHRS = 'X'. <FOR MULTI LEVEL>.

WERKS = <PLANT>

MTNRV = <HEADER MATERIAL NO>.

STLAL,STLAN FOR ALTERNATIVE AND BOM USAGE BUT NOT MANDATORY.

IT MAY BE HELPFUL

REGARDS

SHIBA DUTTA

Read only

0 Likes
1,053

Thanks Shiba for ur help,

I used the function . It is giving all other information but not the information related to stock, i want to include the stock related information in the structure used in the above function.

Read only

Former Member
0 Likes
1,054

SORRY IT WILL ONLY EXPLODE THE BOM AND IT IS ENTIRELY GIVING THE BOM RELATED DATA. FOR OTHER THING WHY DONT YOU TRY TO FETCH THE RECORD FROM TABLES LIKE QALS OR ANY OTHER TABLE?

REGARDS

SHIBA DUTTA

Read only

0 Likes
1,053

Ya i tried that but i am not getting a common field between the structure stpox and the table MKOL and MARD which i can use as selection criteria in the query.

Read only

0 Likes
1,053

IN MKOL AND MARD MATNR FIELD IS THERE AND YOUR COMPONENT NAME IN STPOX STRUCURE IS IDNRK.

I.E. IDNRK MUST MATCH WITH MATNR.

BUT DONT KNOW IT WILL HELP YOU OR NOT.

REGARDS

SHIBA DUTTA

Read only

0 Likes
1,053

Thanks Shiba,

If it is the case that IDNRK should match with MATNR , then my problem is solved.

Thanks a lot SHIBA.

Read only

0 Likes
1,053

JUST CHECK IN DEBUGGING MODE WITH SOME SAMPLE VALUE . I THINK IT WILL SOLVE YOUR PROBLEM.

REGARDS

SHIBA DUTTA

Read only

Clemenss
Active Contributor
0 Likes
1,053

... correct: IDNRK (identification number of component) is the same as MATNR (material number).

See also this ABAP:

<a href="http://www.ionutz.ro/sap/abap010.htm">Multi-Level Bom with Location Balance</a>

Regards,

Clemens