Hi,
I have few custom fields on material master and they have to be mass updated. I am using BAPI 'BAPI_MATERIAL_SAVEREPLICA' for the same. I have enhanced the structures BAPI_TE_E1MARA and BAPI_TE_E1MARAX with my new fields.
The program seems to be updating the custom fields as expected, however the bapi return table looks like below. It seems its trying to create the material and then change.
S | MK | 102 | Trying to create: XXXXXXX ____ ____ ____ __________ ____ __ ___ ___ | 000000 | XXXXXXX | |
S | MG | 160 | The material cannot be maintained since no maintainable data transferred | 000000 | ||
S | MK | 103 | Trying to change: XXXXXXX ____ ____ ____ __________ ____ __ ___ ___ | 000000 | XXXXXXX | |
S | M3 | 801 | Material XXXXXXX changed | 000000 | XXXXXXX |
I am passing the headdata-function as 'UPD' and even extensionin-function/ extensionXin-function are also passed as 'UPD'. Is this a normal behavior or am i missing something?
Your help is appreciated.
Thanks.