06-13-2009 5:17 PM
Hi,
I have never used LSMW.I have to upload data for material master for MM01 Fields are MATNR MTART LGORT MEINS etc from MARA MARC and MAKT table.I have the records in text file for uploading.
Could you please tell me which step will be good?
Direct i/p I do not want to use.
Batch i/p recording-Please explain me step while recording in MM01.
IDOC which msg type to be used and also port no details.
BAPI Which BAPI should be used?
Rgds,
Rag
06-14-2009 11:41 AM
Hi,
For direct input use RMDATIND. It is a good report in which the error reports given out is good.
For BAPI use BAPI_MATERIAL_SAVEDATA.
BDC is not preferable as the errors are diffcult to interpret.
Regards,
Ankur Parab
06-15-2009 8:43 AM
use LSMW BAPI method
Business Object BUS1001006 Standard material
Method SAVEDATA Create and change materia
Message Type MATMAS_BAPI Create and change materia
Basic Type MATMAS_BAPI02 Create and Change Materia
06-15-2009 9:59 AM
Hi Raghav,
BAPI Is a Preferable one use this bapi CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'