Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help on FM : MB_PHYSICAL_INVENTORY

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

Hi ,

Can you check the unit of conversion and conversion factors maintained at the material master for SG02 and SG03 plants. I hope there might be some problem in the unit of conversion.

Regards,