Skip to Content
0
Former Member
Mar 27, 2007 at 03:18 AM

Help on FM : MB_PHYSICAL_INVENTORY

200 Views

Hi All,

We have a requirement where in we need to sync all alternate unit of measure with the value of KG ( when KG = 0 ). In our program we are using the FM

MB_PHYSICAL_INVENTORY which internally call's the tcode MI10 & perform's the posting. This will in turn update the table MARDO1.

We are facing a problem where if a material has multiple plants or storage location,

For Example:

SG01 1001 010033403 Infineum M7180 202.013 GAL

SG01 1001 010033403 Infineum M7180 0.000 KG

SG01 1001 010033403 Infineum M7180 764.749 L

SG02 1001 010033403 Infineum M7180 0.003 GAL

SG02 1001 010033403 Infineum M7180 0.000 KG

SG02 1001 010033403 Infineum M7180 0.003 L

SG03 1001 010033403 Infineum M7180 0.200 GAL

SG03 1001 010033403 Infineum M7180 0.000 KG

SG03 1001 010033403 Infineum M7180 2.000 L

The posting happens correctly for the first plant SG01 and for the rest of the plant SG02 and SG03 the posting is updating the table MARDO1 with some garbage

values. On subsequent posting of the same values the database is updated with correct values. I have already used COMMIT & WAIT statement for database updation.

Can anyone suggest me a solution where in I can perform the posting correctly in one execution.

Thanks & Regards

Priya.