Skip to Content
0
Sep 28, 2005 at 09:20 AM

MM02 insertion - Urgent

43 Views

hi,

I am tring to insert the unit of measure in mm02 for a given material through a BDC.

The place of insertion is mm02-> matnr-> select all->additional data-> Units of measure tab.

I cant insert an "Alternative Unit of Measure for Stockkeeping Unit" which is already there. So i must delete that entry and enter my new entry. In a BDC u can't read the index of the entry to be deleted. So i went to table MARM to get the unit of measures for a material. i ahve records for the material in MARM.

So in my program i check whether the entry exists or not, it it exists then i sort the records in some order and then find the index delete the record of that index in mm02 and the insert the new entry.

I want to know in which order the unit of measures are sorted in mm02. If i insert a new entry the entry doess'nt go as a last record but it inserts in between. I want to know under what criteria it is doing that.