10-01-2008 8:31 AM
Dear All ,
I Want to link between finish mat. between raw material with batch number using ,
I am refer t-code BMBC in that t-code i enter batch no. of finish mat. and i find out last batch is nothing but raw material . but i cant find link between this two batch.i want link with table . on wch 2 table are link .
please give me solution.
Regards ,
Nikhil.
10-01-2008 12:14 PM
Use Function module 'CHVW_EXPLODE_ALL'.
Top down sounds like the functionality you want to use.
c_bottom_up(10) VALUE '00 X B T',
c_top_down(10) VALUE '00 X T T'
so:
w_model = c_top_down.
CALL FUNCTION 'CHVW_EXPLODE_ALL'
EXPORTING
i_matnr = i_matnr-matnr
i_werks = i_t001w-werks
i_charg = i_matnr-charg
i_dfchvw = w_model
TABLES
t_shadow = i_shadow
EXCEPTIONS
invalid_input_data = 1
OTHERS = 2.