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: 

To prevent movement type from 1001 to 1000 storage location

Former Member
0 Kudos

Hi all,

I have one of the requirement from functional side in MM which requires following :

  1.         Movements 262 & 962 should not be allowed to storage location 1001
  2.       PO's to SLOC 1001 should not be allowed.

I am an abaper.So please help me as to how I can achieve using abap code and where?

BADI used is - MB_DOCUMENT_BADI for implementation.

Thanks in advance

Kishan

1 ACCEPTED SOLUTION

former_member188827
Active Contributor
0 Kudos
  • You can use method "MB_DOCUMENT_BEFORE_UPDATE" to check combination of movement type and storage location in BADI.
  • Also check authorization object  "M_MSEG_LGO". You must activate the same from SPRO-MM-Inventory Management and Physical Inventory-Authorization Management-Authorization Check for Storage Locations.

Regards

1 REPLY 1

former_member188827
Active Contributor
0 Kudos
  • You can use method "MB_DOCUMENT_BEFORE_UPDATE" to check combination of movement type and storage location in BADI.
  • Also check authorization object  "M_MSEG_LGO". You must activate the same from SPRO-MM-Inventory Management and Physical Inventory-Authorization Management-Authorization Check for Storage Locations.

Regards