SAP BLOG Usage Decision Status Reversal for Non – stock relevant inspection.

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
Dears,

I would like to share something that I have learned in SAP Quality Management Module.

Introduction

When I am working with my client on QM support the i have faced an issue with user. The user have rejected the material with out properly inspecting the material. And also heis 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

Kod:
CALL FUNCTION 'QAST_PROCESS_ACTIVITY'
     EXPORTING
*         I_DIALOG             = 'X'
          I_OBJNR              = I_QALS-OBJNR
          I_VORGANG            = 'QM68'
     EXCEPTIONS
          NOT_ALLOWED          = 1
          ACTIVITY_NOT_ALLOWED = 2
          OTHERS               = 3.
E_EXIT_ACTIVE = 'X'.

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

tst-1.png


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.

tst-1-1.png


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

Conclusion

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

Thanks.

Okumaya devam et...
 
Üst