cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW-material master

Former Member
0 Kudos

Hi all,

i am trying to upload material master data through LSMW- batch input method but while runnning the this lsmw system does not select the right views.

although i am making the required views as default in mm01 but system selects the wrong views please tell me the way out

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I guess you have done a recording to do the upload. It is not a recomended approach, simply because the material master views is dynamic & depends on the material type. So a preferred way is to use Direct input method or z program with BAPI or via Idocs.

Regards,

Vivek

Answers (3)

Answers (3)

Former Member
0 Kudos

in direct input while making use of MMZ1 i do not get the basic data views in the promt screen

is this tcode plant specific.

former_member199502
Active Contributor
0 Kudos

Hi ,

In direct Input ,no necessaity of going to MMZ1,System will call MM01 only.extract the fields you want to upload(as explained above).maintain the data in excel sheet under the fields and try to upload.

Former Member
0 Kudos

Just a suggestion, if the setup of LSMW via Direct input is not possible for some specific case, then use the below bapi's & write a program to upload the data.

BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data

BAPI_MATERIAL_SAVEREPLICA BAPI for Mass Maintenance of Material Data

JL23
Active Contributor
0 Kudos

Even the BAPIs can be processed from within LSWM, LSMW is a workbench that offers various import methods.

MMZ1, the very first box Engineering/design is the basic data view. (isn't it always the first view? )

former_member199502
Active Contributor
0 Kudos

Hi,

It is always advised to go for Standard batch\direct input for material master.As it is complex it is difficult to map by recording(batch input recording)

Go By Standard object given by SAP(dierect input)

object:0020 material master

method :0000

In that,whichever view you want to select put X for the following fields

XEIA1 Indicator: include first Work Scheduling view

XEIB1 Include Accounting View

XEID1 Indicator: consider MRP 1 view

XEID2 Indicator: consider "MRP 2"

XEIE1 Indicator: Consider Purchasing view

XEIE2 Indicator: consider Purchase Order Text view

XEIK1 Include Basic Data View

XEIL1 Indicator: consider "Storage" view

XEIP1 Indicator: consider "forecasting" view

XEIS1 Include "Warehouse Management" View

XEIV1 Indicator: consider Sales 1 view

XEIV2 Indicator: consider Sales 2 view

XEIV3 Indicator: consider Sales Text view

XEIV4 Indicator: consider Sales/Plant Data view

XEIF1 Indicator: take Production Resources/Tools view into account

XEIQ1 Indicator: consider "quality assurance" view

XEIG1 Indicator: Take "Costing" view into account

XEIC1 Indicator: take Classification view into account

XEIA2 Indicator: Take "Work Scheduling 2" View into Account

XEID3 Indicator: Take "MRP 3" view into account

XEIVE Indicator: consider "Foreign trade" view

Hope it helps.Please let me know if you want further information

JL23
Active Contributor
0 Kudos

I guess you are not using the standard batch input/direct input method given by SAP.

You probaby did a recording of MM01. Recording is static.

Already the view selection is dynamic and depending on customizing of your material types.

you cannot use static recording for screens that are presented with a dynamic logic.

At minimum you would have to do a recording for each material type seperately, if you really want continue with recording.

Alternative to MM01 you could record MMZ1 transaction, here you have at least no dynamic view selection. But with a MRP view you will have again a dynamic as fields appear to be open only depending on the chosen MRP type.

Better use the standard given batch input/direct input method.