cancel
Showing results for 
Search instead for 
Did you mean: 

GR only on PO given date

Former Member
0 Kudos

Hi experts

In scheduling agreement we cant do GR before the delivery date, But in case of PO how can we restrict GR before delivery date in PO. Eg: - If in PO I give delivery date 09/07/2007 but if I do gr on 05/07/2007 it is possible How can I restrict this?

thanks in advance

Manoj Gupta

Accepted Solutions (1)

Accepted Solutions (1)

dhrubacharan_behera
Active Contributor
0 Kudos

Hi,

Make system message no.M7254 as warning or error .It will restrict if GR is made prior to delivery date in the PO.

Dhruba

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

One way is to check data at your MIGO entry, is through SAP enhancments (Tcode : cmod).

I have implemented numerous checks for my end users (posting dates, movement types vs material types, mandatory fields under specific conditions, posting date deviation from today, total consumption per order etc).

Try enhancment MBCF0002 and component EXIT_SAPMM07M_001.

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

MB_CF001 Customer Function Exit in the Case of Updating a Mat. D

MBCF0002 Customer function exit: Segment text in material doc. i

MBCF0005 Material document item for goods receipt/issue slip

MBCF0006 Customer function for WBS element

MBCF0007 Customer function exit: Updating a reservation

MBCF0009 Filling the storage location field

MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREA

MBCF0011 Read from RESB and RKPF for print list in MB26

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.

Former Member
0 Kudos

Hi,

We can make Tolerance for delivery in PO configuration active.

vikas