Skip to Content
Event Information
Author's profile photo Raghavan Kathamuthu

Usage Decision Status Reversal for Non – stock relevant inspection.


I have faced an issue , when I was working with a client i.e the user have rejected the material with out inspecting the material. Also he is not the responsible person to inspect the material. By mistake he have done the UD for that material. Then he raised a ticket to do the UD reversal. Also here we are using inspection type 03 – Inprocess inspection.

Main Part

On Implementing this code in user exit QEVA0008 we can reverse the Usage decision status from UD to UDREV

*         I_DIALOG             = 'X'
          I_OBJNR              = I_QALS-OBJNR
          I_VORGANG            = 'QM68'
          NOT_ALLOWED          = 1
          OTHERS               = 3.

After implementing this code a special button called “Custon function” will be added in QA11, QA12, QA13 screen.


New Button

on clicking the “custom function” button the status of the inspection lot will be changed from UD to UDREV. This will not reverse any stock but will reverse the status of the inspection lot.


After status reversal

Once after the UD status reversal save the lot.

After this the UD will be reversed and the responsible person who need to inspect the material have inspected the material and done the UD again


This will be helpful for you guys to reverse the status of Usage decision and UD.


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Abhishek Parab
      Abhishek Parab

      Hi,RAGHAVAN K,

      If there is a chance that the user is posting the UD without inspecting the results, there is no need to to this development. The user can be prevented using the auth object Q_INSP_FIN., this auth object will prevent the user from performing the usage decision without the inspection results updated and closed.


      Thanks and Regards,

      Abhishek Parab.

      Author's profile photo Raghavan Kathamuthu
      Raghavan Kathamuthu
      Blog Post Author

      Got it.

      Author's profile photo Suresh Eswaran
      Suresh Eswaran

      Hi Raghavan Kathamuthu

      I'm in a similar situation where the user recorded the results incorrectly and UD was also performed on the inspection lot (Inspection type 03). Is it possible to modify the entered results?