Automate

 View Only
  • 1.  BAPI_MATERIAL_SAVEDATA - Create New Material (Non-Retail)

    Posted 05-20-2022 09:22
    Ok Experts, I am stuck again!

    Due to our current SAP upgrade to S4 HANA, I need to recreate our material creation script. I am re-creating as a BAPI this time to save from having to do this again when ALL the things change. 

    I have managed to get past some errors, but this one has got me stumped. I have googled until my eyes popped out of my head & have come up empty. It seems to be quite a generic error. I have verified all the values I am inputting using the "Lookup Values" option within Studio, so I know those are good. Both script and template are attached in case they help. Thoughts?


    ------------------------------
    Vanessa Kutasi | Application Analyst II
    IDEXX | New England WUG Leader
    ------------------------------

    Attachment(s)



  • 2.  RE: BAPI_MATERIAL_SAVEDATA - Create New Material (Non-Retail)

    Employee
    Posted 05-20-2022 19:10
    Hi Vanessa

    That's a nice looking script! :) 

    My best guess based on the message is the unit for maximum storage period

    You have MO - in my ECC system, I don't have MO but do have MON if this is months.  Could that be it?


    You could also try to remove the values in BD and BE and see if it runs.

    Hope that helps,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: BAPI_MATERIAL_SAVEDATA - Create New Material (Non-Retail)

    Posted 05-26-2022 12:04
    Thank you Sigrid! Even though MO is an option on our end, MON was the required input. I'm pretty sure I have the script complete, just waiting on confirmation from the users that I didn't miss anything. I've included the latest version in case it's helpful to anyone.

    ------------------------------
    Vanessa Kutasi | Application Analyst II
    IDEXX | New England WUG Leader
    ------------------------------

    Attachment(s)