05-23-2006 9:53 AM
Hi ,
i want to update the Material no , plant , safty stock , and date in MARC table .so is it possiable with BAPI_MATERIAL_SAVEDATA. when i am executing this BAPI i am getting the Return message "Key fields for user data PLANTDATA and checkbox structure PLANTDATAX are different " i want to update only plant data so what r the import and expost ,tables parameters i should select . if possiable send some sample code.
if this Bapi don't support for this requirement suggest some other BAPI.
Thanks
Prithvi
05-23-2006 9:56 AM
Hi,
While sending data of the plant in the parameter PLANTDATA you also need to specify which fields you are changing using the parameter PLANTDATAX by passing a X in the appropriate fields of PLANTDATAX.
I think you have missed doing that, that is why its throwing that error. Try passing that.
Regards,
Ravi
Note : Please mark all the helpful answers
05-23-2006 9:56 AM
Hi,
While sending data of the plant in the parameter PLANTDATA you also need to specify which fields you are changing using the parameter PLANTDATAX by passing a X in the appropriate fields of PLANTDATAX.
I think you have missed doing that, that is why its throwing that error. Try passing that.
Regards,
Ravi
Note : Please mark all the helpful answers
05-23-2006 9:59 AM
The parameters are PLANTDATA and PLANTDATAX .
check this sample code...
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
Regards
vijay