‎2011 Jan 17 2:43 AM
Hi all,
I am working on LSMW by BAPI method. i want to update the Material Type of a given material.So, I have gone to MM01 then I copy that material but in BAPI I do not find any structure related to Refrence Material No. Field. Kindly tell me the structure regarding this Refrence Material No. field.
Sulabh
‎2011 Jan 17 12:27 PM
I doupt that you can change the material type, as it cannot be changed in the standard transaction MM02, and not in the MM17 mass maintenance transaction (which uses BAPI method).
A material type is usally changed with an extra transaction: MMAM as it has to perform a couple extra checks that are not needed in a standard maintenance.
‎2011 Jan 17 8:57 AM
Hi,
May i know which BAPI you are using. If you are using the BUS Object BUS1001006 and method SAVEDATA, then it has the structure BAPI_MARA and the field for reference material is PL_REF_MAT.
‎2011 Jan 17 12:27 PM
I doupt that you can change the material type, as it cannot be changed in the standard transaction MM02, and not in the MM17 mass maintenance transaction (which uses BAPI method).
A material type is usally changed with an extra transaction: MMAM as it has to perform a couple extra checks that are not needed in a standard maintenance.
‎2011 Jan 18 3:15 AM
Hi Jürgen L.,
By LSMW BAPI method i want to update Material type. I know about the tcode MMAM. Is there any BAPI related to that . Kindly tell me.
Sulabh