cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Status UD in QA32 but Stock Posting not completed

Former Member
0 Kudos
4,995
  1. The status of inspection lot is showing as 'UD' but no stock posting has been done.
  2. Cannot move the stock using MB1B as inspection plan is mantained in material master.

Please guide me to transfer this stock from quality to unrestricted.

View Entire Topic
aadizarobi
Explorer
0 Kudos

Hi Ankit Agarwal,

I hope your problem had been resolved but I had also face this issue and i use this ABAP custom program for other users. If this program is ok kindly mark as correct answer.

Please find below the program.

REPORT ZUD_CODE_REV.

DATA:i_qals TYPE qals.
PARAMETERS:
prueflos LIKE qals-prueflos OBLIGATORY MEMORY ID qls.

SELECT SINGLE * FROM qals INTO i_qals
WHERE prueflos = @prueflos.
**
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.

COMMIT WORK AND WAIT.