|I want to restrict that vendor
supplies goods before the delivery date written on PO .i.e. system should
give some error if goods are supplied before the scheduled delivery date
mentioned in PO.
One way is to check data at your
MIGO entry, is through SAP enhancments (Tcode : cmod).
Try enhancment MBCF0002 and component
Through tcode SMOD you can find the available enhancments and function modules, go through the documentation and choose one. For MM inventory management the package is MB.
My system (4.7) returns the following list:
Exit name Short text
With tcode CMOD create a project "Zxxx" and insert the choosen enhancement. Automatically its components will be added to your project.
Press the "Compoents" button and double click the function exit that you will change.
Now you should be looking at the source code of the function (abap editor). Take a look of the available internal tables that are imported.
Double click on the include ZX....... which does not exist and it will be created by you.
Add the source code needed to cover your validations.
Save and activate your project
Execute MIGO and check your enhancement.
Note: one problem I still haven't solved. I can use only ERROR messages not WARNINGS.
SAP MM Tips by : Elly
Get help for your SAP MM problems
SAP MM Books
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.