Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

BAPI_MATERIAL_SAVEREPLICA always tries to create and then change

$
0
0

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.

 

SMK102Trying to create: XXXXXXX ____ ____ ____ __________ ____ __ ___ ___
000000XXXXXXX
SMG160The material cannot be maintained since no maintainable data transferred
000000
SMK103Trying to change: XXXXXXX ____ ____ ____ __________ ____ __ ___ ___
000000XXXXXXX
SM3801Material XXXXXXX changed
000000XXXXXXX

 

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.



Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>