‎2010 Jul 13 8:47 AM
Hi Guys,
I am getting error when creating extended views for newly created materials.I am taking a new material number with Function module :BAPI_MATERIAL_GETINTNUMBER, and it has been created new material with Basi view.When i try to create extended views for the same material,its giving the following error: Field MATNR has been transferred inconsistently or is blank.
Thanks in advance.
Regards,
Reddy
‎2010 Jul 13 9:21 AM
‎2010 Jul 13 9:46 AM
Hi,
I have cleared the Header data but still i am getting the same error.
Regards,
Reddy
‎2010 Jul 13 10:03 AM
The BAPI 'BAPI_MATERIAL_GETINTNUMBER' should not be used to assign internal numbers to material types.
Documentation for 'BAPI_MATERIAL_GETINTNUMBER' says:
In future, this method will no longer be supported for the object type Material (BUS1001).
For standard materials you should use 'BAPI_STDMATERIAL_GETINTNUMBER' & for retail materials you should be using 'BAPI_MATERIAL_GETINTNUMBERRET'.
BR,
Suhas
‎2010 Jul 13 10:57 AM
Hi Anup,
i am passing MATNR for header data ,for the first time its creating extended views for first material but for second record ,its not creating extended views.still its giving the same error.
Regards,
Reddy
‎2010 Jul 13 9:59 AM
Are you Commiting after creating the Basic View...then only the further extension will carry out...
just pass the MATNR when you are extending the view in header...
Thanks
Hope it Helps
Edited by: Anup Deshmukh on Jul 13, 2010 10:59 AM