Skip to Content
avatar image
Former Member

routing fm for assign ing the materials to work center

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 08, 2008 at 11:31 AM

    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......

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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