cancel
Showing results for 
Search instead for 
Did you mean: 

How to auto post to QI stock at GR if MRSL check fails

Former Member
0 Kudos

Dear SAP Experts,

Pl find below the scenario/requirements:

Materials are batch managed.MRSL/TSL values are Only at material/client level in material master.

When PO is raised , MRSL value is copied to the PO item.

At GR , MRSL check is performed against the BBD/SLED .If MRSL fails, GR should be allowed.But stock to be auto posted to QI stock with a clear reason code-> "MRSL Not Respected".There is No requirement for QI inspectio lot to be generated

If MRSL is OK, then GR must happen to un-restricted.

Client is on Retail .SAP ECC 6.0

Question:

How to auto post to QI stock at GR if MRSL check fails with a specific reason code/text?

Pl advise

Many Thanks

Ranganath

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member42743
Active Contributor
0 Kudos

Ayoub is correct in that you'll need to use a user exit for this I think.

I think I would set the materials in the material master for quality inspection all the time.

Use the following user exit:

QPL10001  QM: Inspection lot creation - editing work area on creation

In this exit you have the opportunity to abort the inspection lot creation by setting an indicator.  filter the check to 01 lot origins, then If the RMSL requirement is met, suppress the creation of the lot.  If not met, continue on and create the lot.  You can also updat the inspection text for the inspection lot to indicate the reason for the lot.  "Failed MRSL check"

Craig

Ayoub_Habchi
Contributor
0 Kudos

Hi Ranganath,

I would suggest you to check with your ABAP developer in order to implement the following function module EXIT_SAPLMHD1_001 or to implement this BAdi VB_SLED_MANAGEMENT to include your requirements with regards to posting to QI and specific reason code.

Regards,

Ayoub.