cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LO-VC BOM Explosion into Routing

Thorsten7
Newcomer
0 Kudos
157

Hello,

I need to calculate the times for routing with a FUBA. For this I need an explodet BOM at runtime. In PMEVC an CS50 used seccessful this FUBA "CUKO_DDB_BOM_POSITION_GET".

This is my current coding.

CALL FUNCTION 'CUKO_DDB_HAS_ACT_ROOT_INSTANCE'
 IMPORTING
   ROOT_INSTANCE       = lv_instance.

lv_result     = 'X'.
lv_masterdate = ' '.
lv_enforce    = ' '.

CALL FUNCTION 'CUKO_DDB_BOM_POSITION_GET'
 EXPORTING
   OBJECT_INSTANCE          = lv_instance
   RESULT                   = lv_result
   MASTERDATA               = lv_masterdate
 IMPORTING
   BOM_POSITION             = wa_bom_position
 TABLES
   T_BOM_POSITION           = it_T_BOM_POSITION
 EXCEPTIONS
   INSTANCE_NOT_FOUND       = 1
   INSTANCE_IS_A_ROOT       = 2
   OTHERS                   = 3

But in VA01, VA02 and MD50 doesn´t work. Does anyone have a solution for how I can get to the BOM into VA01, VA02 and MD50 at runtime?

I could use the FUBA CS_BOM_EXPL_MAT_V2 and the CUOBJ number, but there is no CUOBJ in the VA01 yet.

Best regards and thanks for help.

Thorsten

Accepted Solutions (0)

Answers (0)