09-24-2008 3:39 PM
Hi all ,
I have exploded all the sub components of the BOM of a given material number and plant .
Now i have all the details , now i would like to assign these materials to workcenters available for a finished product in ROUTING process .
Is there any FM to assign the corresponding components to corresponding work centers in the routing process , so that we have to get the finished product in optimized way .....
Please let me know you view....
if there is no FM , let me know you suggestions ...
Regards
Raj
10-08-2008 12:31 PM
Hi Raj....
Can you help me exploded all the sub components of the BOM of a given material number and plant .
Please help...........
Or atleast let me know your view......
10-08-2008 1:56 PM
this is one the fm's , c_x is X
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
CUOLS = 'X'
DATUV = sy-datum
KNFBA = c_x
KSBVO = c_x
MBWLS = c_x
mehrs = 'X'
mktls = 'X'
MKTLS = 'X'
MDMPS = c_x
MTNRV = p_matnr
WERKS = p_werks
IMPORTING
TOPMAT = l_topmat
DSTST =
TABLES
STB = it_stb
MATCAT =
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8 OTHERS = 9.
regards
Raj