1:N relation between MARA and MARM using SAVEDATA with LSMW
I wanna use LSMW for a data migration. Therefore I'm using the BAPI 'SAVEDATA' to transfer material data.
So far I can transfer one material entity with just one unit of measure (UOM) for table MARM.
However, I do have more than one UOM for a material entity. When I look in 'maintain structure relations', there the IDOC segement 'E1BP_MARM' is in the same hierarchy with the head data although N UOM's are requiered for one material entity. How can this work with the BAPI 'BAPI_MATERIAL_SAVEDATA' if I wanna use more than one UOM's?