Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW for uploading data in MM01

Former Member
0 Kudos

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

3 REPLIES 3

former_member555112
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

former_member585865
Contributor
0 Kudos

Hi Raghav,

BAPI Is a Preferable one use this bapi CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'