Automate

 View Only
  • 1.  MM01 - Required Old Material Number (BISMT) Based on SAP Auto Assigned Material Number (MATNR)

    Posted 06-29-2023 10:41

    Working on an MM01 script. Our current process has both a MATNR and a BISMT that needs to be populated. MATNR is an auto generated SAP number and I have been successful in writing a script to create and handle the MATNR. Our BISMT is populated with human readable logic, at times it is a pre-determined stock code that would be available to populate in the template at time of running the script. At other times the value for BISMT is made up of a stock code and the Auto Assigned MATNR. Because this auto assigned number would not be available at the time of running the script I am not sure how I will be able to handle this field. In addition, our material master requires that the BISMT not be blank and that it is a unique value upon creation.

    I was thinking about some type of MM01/MM02 combination but wondering if anyone has dealt with anything similar.



    ------------------------------
    Ann Davis
    Sr. Data Steward
    Dart Container
    Mason MI
    ------------------------------


  • 2.  RE: MM01 - Required Old Material Number (BISMT) Based on SAP Auto Assigned Material Number (MATNR)

    Employee
    Posted 06-30-2023 16:32

    Hi Ann

    As you may have found out, in some tcodes, like MM01, you can download the material number.  But it doesn't download until it's posted.  That means you cannot download the generated material number from tab 1 and use it with a concatenated value in tab 2. 

    I agree that a combination of MM01 and MM02 chained together would be the best approach.

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: MM01 - Required Old Material Number (BISMT) Based on SAP Auto Assigned Material Number (MATNR)

    Posted 07-10-2023 16:15

    Thanks. Do you have any examples of similar style scripts?



    ------------------------------
    Ann Davis
    Sr. Data Steward
    Dart Container
    Mason MI
    ------------------------------