cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict the possibility to transfer fractions of materials maintained in pieces

mihaita123
Participant
0 Kudos

Hello,

I want to restrict the possibility to transfer fraction of a material maintained in pieces.

I use MB1B, movement type 311.

For example: I have 10 pieces from a material and the user could transfer in this moment 1,3 pieces and not 1 or 2 pieces as it should.

In the stock, appear 8,7 pieces and it`s not ok.

Should be 8 or 7, integer values, not fraction.

Have you any idea of how to restrict this?

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

DominikTylczyn
Active Contributor

Hello mihaita123

mihaita123You could implement such a custom validation with the MB_MIGO_BADI BAdI enhancement, the CHECK_ITEM method.

Best regards

Dominik Tylczynski

Neeraj_Jain
Active Contributor

Hello mihaita123,

There is no standard solution for this. You can go with the enhancement on transaction MB1B for movement type 311. Please check the feasibility with your ABAP team.

Check this function module ME_CHECK_RESWK_STOCK_TRANSFER

Regards,

Neeraj Jain

DominikTylczyn
Active Contributor

MB1B is long obsolete. MIGO should be used instead.

Neeraj_Jain
Active Contributor
0 Kudos

Still MB1B is using in ECC but yes in S4 HANA it's MIGO.

Regards, Neeraj Jain

DominikTylczyn
Active Contributor
0 Kudos

neeraj.jain16 MB1B can still be used in ECC indeed. However MB* transaction are obsolete there and should not be used - as per note 2210569 - Obsolete Material inventory management transactions

Transaction were already outdated in SAP ERP 6.0x.

They must not be used in S/4HANA.