cancel
Showing results for 
Search instead for 
Did you mean: 

Multilevel BOM Explosion CS12 using FM CS_BOM_EXPL_MAT_V2, how to explode bom?

1,575

Hello,

I'm trying to do execute FM CS_BOM_EXPL_MAT_V2 in SE37 to get that for a FS custom tcode required but I'm not able to explode the BOM, Table STB is coming with 0 entries and TOPMAT export parameter is coming with values.

Here are the fields that I'm putting in the FM:

CAPID: PP01
DATUV: Current Date
EMENG: 1
MKTLS: X
MEHRS: X
MTNRV: MATNR
STLAL_: 1
STLAN: 1
STPST: 0
SVWVO: X
WERKS: WERKS
VRSVO: X

Can someone please tell if I'm missing something? Or what else is needed to get the component list like in CS12.

Thank you, regards!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member412
Participant
0 Kudos

Hi the parameters you have provided are correct - they should work

But for testing I really hope you are not giving ABAP field names....as shown in the question. There should be actual values only and you may enter testing in debug mode if you want to enhance/check the FM. I have tested with these exact parameters below - but note with actual values for MTNRV, WERKS, DATUV....the screenshot attached for STB success reference

Thanks,

Anil .

0 Kudos

This is the result I am getting, only TOPMAT table is with value..

I am using the same values not sure what can be wrong..

former_member412
Participant
0 Kudos

Hi,

Ok yes you are passing values into the parameters..Did you execute CS12 for the material and check? Does it have output - for the same application area PP01?

Also you can add parameter SANFRO (or was it SANFRU? not sure pls check) = X (for Production usage BOM explosion)

Thanks,

Anil

former_member412
Participant
0 Kudos

Also, @alejandro.pena-cantu, try these two FMs and first get output:

CS_BOM_EXPLOSION; CS_BOM_EXPL_KND_V1. The following used for motivation: multilevel BOM explosion answer

0 Kudos

Still not working :/, is it possible to be some bug in S4/HANA cloud?