Automate

 View Only
  • 1.  Winshuttle - Automate BAPI_MATERIAL_SAVEDATA for custom fields

    Posted 05-16-2024 10:00

    Dear all,

    Having plenty of experience with Winshuttle TRANSACTION I'm now in need using DIRECT updating several custom append fields at Material Master. The custom fields - Z-fields are located at different views as well as on different SAP tables, like MARA and MARC. Thanks to our users Material Master records don't have the views always at the same place. This is depending on activated views as well as the usage of views with long text such as Sales text. Even putting a logic into TRANSACTION script checking for maintenance status of material and calculating potential view position it's not running well.

    Last year I have already asked for such a case but related to SAP standard fields. Rick Compen was helping here a lot solving this. Rick made also a hint how to enhance to Z-fields. But unfortunately I didn't get the point.

    Today went through approx. 250 posts on this site related to this kind of issue but only found one post where unfortunately no script was included.

    Thanks to anyone helping me out here.

    Kind regards

    Hans Georg



    ------------------------------
    Hans Georg Loef
    Supply Chain and Production Master Data specialist
    Trivium Packaging BV
    Weißenthurm
    ------------------------------


  • 2.  RE: Winshuttle - Automate BAPI_MATERIAL_SAVEDATA for custom fields

    Posted 05-17-2024 01:46

    Hi Hans

    We also have custom fields.
    To complete them in our Automate solution, I use an MM02 script. There is no way of using the direct solution via the BAPI.

    Kind regards



    ------------------------------
    Laurent HAAS
    Data Manager
    HERTAFOODS
    France
    ------------------------------



  • 3.  RE: Winshuttle - Automate BAPI_MATERIAL_SAVEDATA for custom fields

    Posted 05-17-2024 02:17

    Hello Laurent,

    Many thanks for your reply. However, I'm wondering that you wrote "no way" as it seems making it working.

    Got this advice in an earlier post but have unfortunately not enough knowledge making it working.

    This was the comment: 

    1. The trick for the Z field is that you need to include extensionin and extensioninx. In case of multiple Z fields, I do recall that that you need to provide the input in a specific concatenated way, where " " represent a blank input. (actually quite similar to LSWM if you have experience with that) 

    Asked Rick Compen what he is doing. Having his answer, I'll publish my results here.

    Cheers

    Hans Georg



    ------------------------------
    Hans Georg Loef
    Supply Chain and Production Master Data specialist
    Trivium Packaging BV
    Weißenthurm
    ------------------------------