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: 

material upload

Former Member
0 Kudos
139

hi sap technical guru,

while uploading material master data using MM01 how to handle different types of materials(mtart).

this is bit urgent.

regards,

1 ACCEPTED SOLUTION

Former Member
0 Kudos
118

Hi Ashwini,

While recording material master select the views and click on default button / views. ( Use different recordings for different material types as views selection depends on the material type You can use Selection_view_find function module for selecting the views for material type --- check the documentation of the function module )

if excel sheet consists of different material types get the excel data into internal table and perform sort based on material type.

Once you identify the material types write performs to get different records for a given material type.

eg

if itab-mtart = 'ROH'.

< recording code for ROH>

elseif itab-mtart = 'FERT'

<recording code for FERT>

endif.

regards

padma

3 REPLIES 3

former_member125931
Active Participant
0 Kudos
118

pls post your thread in MM and logistics.

Former Member
0 Kudos
119

Hi Ashwini,

While recording material master select the views and click on default button / views. ( Use different recordings for different material types as views selection depends on the material type You can use Selection_view_find function module for selecting the views for material type --- check the documentation of the function module )

if excel sheet consists of different material types get the excel data into internal table and perform sort based on material type.

Once you identify the material types write performs to get different records for a given material type.

eg

if itab-mtart = 'ROH'.

< recording code for ROH>

elseif itab-mtart = 'FERT'

<recording code for FERT>

endif.

regards

padma

0 Kudos
118

thanks padmavathi , given full points.