01-08-2015 11:14 AM
Hi,
I am trying to import and create a Article Master using LSMW with IDoc method. ARTMAS IDoc is getting generated but it is showing error as No entry in Key field MARC, MVKE, etc etc and now finally stuck in No entry in key field of table MARM even after filling all possible data.
Function Module used here is BAPI_MATERIAL_MAINTAINDATA_RT. I don't know any technical aspects here to look into.
Kindly help me out with the information on what could have gone wrong here and what are the possible solutions?
Thanks & Regards,
Sudhanva Joshi
01-10-2015 3:16 AM
Hello Sudhanva Joshi,
Please verify whether you have populated table parameters UNITSOFMEASURE and UNITSOFMEASUREX before calling the BAPI.
Thanks,
Venu
01-12-2015 6:12 AM
Hi Venu,
I have entered the values in Field UNIT & UNIT_ISO in the segment E1BPE1MARMRT but these fields are not present in E1BPE1MARMRTX for checkbox selection. do you think that this would be the cause of the problem? if yes, then how to resolve the same?
Regards,
Sudhanva Joshi
01-12-2015 8:24 PM
Hello Sudhavana Joshi,
I am able to see these fields UNIT_DIM & UNIT_DIM_ISO in both segments E1BPE1MARMRT & E1BPE1MARMRTX. They need to be populated in both segments.
Thanks,
Venu
01-22-2015 10:26 AM
Hi Venu,
Now i am stuck in somewhat a deadlock situation. and this is in MARM segment. below are the issues,
1. If I provide an entry in Alternate UOM field in MARM, Ex: EA is base unit and PC is ALT unit, I am getting an error as ' The Alternative unit of measure is same as Base unit of measure'
2. And, If i don't give an entry in ALT_UOM field (which SAP suggests, in case there is no other units than Base unit, leave the ALT-UOM field as blank), I am getting an error as "No entry in key field of table MARM"
Can you please assist in resolving this issue.
Thanks & Regards,
Sudhanva Joshi
01-22-2015 10:21 PM
Hello Sudhanva Joshi,
Please check your base unit in MARA-MEINS. If you do not have an alternate unit, you can enter base unit = alternate unit = EA (MARA-MEINS) for MARM record.
Hope this helps.
Thanks,
Venu
01-23-2015 11:48 AM
Hi Venu,
In that case, I get an error saying ' The Alternative unit of measure is same as Base unit of measure'
Thanks,
Sudhanva
01-26-2015 3:12 AM
Hello,
Not sure about the reason for the message. You need an entry in MARM table for the base unit. Can you please create an article using MM41 and see whether you are able to do this?
Thanks,
Venu
02-04-2015 10:05 AM
Hi
Execute transaction BD10 to create the ARTMAS IDOC for an existing article with multiple units of measure. You can then look at this IDOC data structure in WE02 to see how it is populated and make sure you populate your IDOC in a similar way fill in the segments correctly.
Regards,