Skip to Content

Need function modules to create production order with serial number (will be used for Z t-code)

Dear experts,

I am creating a new z transaction to create a production order instead of using CO01 with input parameters as Material , order type, WBS element, Plant and serial number. In FM - BAPI_PRODORD_CREATE, there is no option of assigning a serial number as input. But my requirement is to enter the serial number as input parameter while creating a new production order. I checked several FM's but i couldnt find the right one.

I would like to know if there is any FM's for achieving this or we can create a new FM for this functionality



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 25, 2017 at 10:51 AM

    HI Balakrishnan

    If you want a serial number to be generated specific to client requirement and assigned in Production order during creation of the same , I would suggest you to use function module to generate the serial number during create / release of Production order instead of creating a Z t code for Production order creation.

    I have generated serial numbers according to specific requirements of business and have assigned them specific to the Serial number profile.

    S Anil

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 31, 2017 at 01:43 PM

    Hi anil,

    Which FM we can use, i tried with FM SERNR_ADD_TO_PP but it is not working. Please suggest

    Add comment
    10|10000 characters needed characters exceeded