I am using BAPI_MATERIAL_SAVEDATA to upload data into the sap system.
I flagged all the required views and required fields.
Fields flagged : MATHEAD-BASIC_VIEW = 'X'.
MATHEAD-MRP_VIEW = 'X'. MATHEAD LIKE BAPIMATHEAD
PLANTDATAX-PLANT = 'X'. PLANTDATA LIKE BAPI_MARC
PLANTDATAX-ABC_ID = 'X'. PLANTDATAX LIKE BAPI_MARCX
PLANTDATAX-MRP_CTRLER = 'X'.
PLANTDATAX-PLND_DELRY = 'X'.
PLANTDATAX-SAFETY_STK = 'X'.
PLANTDATAX-MAX_STOCK = 'X'.
PLANTDATAX-INHSEPRODT = 'X'.
PLANTDATAX-HANDLG_GRP = 'X'.
PLANTDATAX-MIN_SAFETY_STK = 'X'.
The data is being read from the excel file into the corresponding fields of the structure PLANTDATA .
And then i passed these 3 structures as parameters in the Function Module.The FM is getting executed successfully.
But it is not getting updated into the SAP.