‎2006 Oct 27 8:22 PM
I've got a requirement to call MM01 with the PIDs for Material, Plant, Material Type, and Industry Sector populated. When I execute the call, Material Type and Industry Sector work, but Material (MAT) and Plant (WRK) do not.
I thought I recalled this problem once before, but can't remember how I fixed it. Anyone else ever encounter this?
‎2006 Oct 27 8:42 PM
I can help with the material number, but not sure about that plant as this is not on the initial screen, where are you seeing the plant field.
Anyway, here you can pass the material number. You need to set the parameter id MXX .
<b>set parameter id 'MXX' field 'BUS1001.CREATE'.</b>
set parameter id 'MAT' field '40000100'.
call transaction 'MM01'.Regards,
Rich Heilman
‎2006 Oct 27 8:36 PM
Hi,
Can just try to recollect your issue by loooking at the below sample code?
http://mailman.mit.edu/pipermail/sap-wug/2002-March/004253.html
Thanks
Ramakrishna
‎2006 Oct 27 8:42 PM
I can help with the material number, but not sure about that plant as this is not on the initial screen, where are you seeing the plant field.
Anyway, here you can pass the material number. You need to set the parameter id MXX .
<b>set parameter id 'MXX' field 'BUS1001.CREATE'.</b>
set parameter id 'MAT' field '40000100'.
call transaction 'MM01'.Regards,
Rich Heilman
‎2006 Oct 27 8:59 PM
I think that making the MXX parameter id <> space will help with the material number and plant, but it is acting a little funny.
<b>set parameter id 'MXX' field 'X'.</b>
set parameter id 'MAT' field 'ABC'.
set parameter id 'MTP' field 'M'.
set parameter id 'MTA' field 'FERT'.
set parameter id 'WRK' field '0006'.
call transaction 'MM01'.Regards,
Rich Heilman
‎2006 Oct 27 9:07 PM
‎2006 Oct 27 9:02 PM
Ok, I think this may be the best way to go.
Set the MXX parameter id to 'PARS.SET'.
report zrich_0001 .
<b>set parameter id 'MXX' field 'PARS.SET'.</b>
set parameter id 'MAT' field 'ABC'.
set parameter id 'MTP' field 'M'.
set parameter id 'MTA' field 'FERT'.
set parameter id 'WRK' field '0006'.
call transaction 'MM01'.
Please make sure to award points for helpful answers and mark as solved when solved completely. Thanks.
Regards,
Rich Heilman