Hi Jaime,
It's easy to add some fields to a BAPI_MATERIAL_SAVEDATA. I'm frequently using such a chain of scripts for MM-creation too, I've done such edits several times.
Just go to View, Expert view, tick the box 'Disabled fields'.
One thing you should be aware of when adding a specific field within the BAPI: there are always 2 fields with the same name you must enable: the one that selects the actual data and the one with an X. The field with the actual data will get its input from the column in Excel, the one with an X will get fixed value 'X' for just about any field (some fields must also get entry from Excel for this X-entry, the 'type&length' will be different from 'char 2').
for example: the Size/dimensions field
Enjoy scripting !
------------------------------
Jan Ketele | Sr engineer release management
Xeikon Manufacturing NV | +3234431875
------------------------------
Original Message:
Sent: 01-22-2020 11:48
From: Jaime Satko
Subject: MM01
Hello! I'm a new Winshuttle developer and need some advice on using BAPI_MATERIAL_SAVEDATA to create items.
I'm working on editing a script that a previous staff created. The full create template uses at least 5 different scripts. Theoretically, I just need to add a couple of fields onto one script, using BAPI_MATERIAL_SAVEDATA,
Has anyone been successful doing this? Would it be better to re-create the whole script rather than adding the missing fields?
------------------------------
Jaime Jost Satko | Data Solutions Engineer I
Patterson Companies | 6514054989
------------------------------