Technology Blog Posts by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
arushi_19
Discoverer
933

Co-Author: Heena Devgan
***REMOVED BY MODERATION***

Pre-requisite: In tcode OMJJ, add 'QM11' and 'QM12' in allowed transactions for movement type - 302.

Step1: Go to tcode CMOD and create a custom project. In Enhancement assignment, provide user-exit QEVA0008 and then activate the components.

arushi_19_0-1720262341607.png

Activate the project.

Step2: Enable include ZXQEVU10 (or create using SE38 with same name if it doesn't exist in the system) and add below code:

CALL FUNCTION 'QAST_PROCESS_ACTIVITY'
EXPORTING
I_OBJNR = I_QALS-OBJNR
I_VORGANG = 'QM68'
EXCEPTIONS
NOT_ALLOWED = 1
ACTIVITY_NOT_ALLOWED = 2
OTHERS = 3.

E_EXIT_ACTIVE = ABAP_TRUE.

After processing of this exit, standard SAP code would now set the status for this object to I0297.

Step3: Go to below tree and double click on customer function:

arushi_19_7-1720263426473.png

Double click on below entry:

arushi_19_8-1720263538488.png

Change subobject for function +FC1:

arushi_19_4-1720263274411.png

After assigning icon and text, go to QA12 for testing.

The icon would be visible:

arushi_19_9-1720263666988.png

Thanks for reading this post!

Happy learning 🙂

 

2 Comments
Labels in this area