on 2024 Sep 26 11:51 AM
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
Request clarification before answering.
User | Count |
---|---|
19 | |
10 | |
8 | |
8 | |
7 | |
7 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.