cancel
Showing results for 
Search instead for 
Did you mean: 

Add Material classification field in QA32 ALV

Former Member
0 Kudos

I want to add Material Classification Field in QA32 and QA33 ALV screen. What is the method?

Accepted Solutions (1)

Accepted Solutions (1)

EkanshCapgemini
Active Contributor
0 Kudos

Hi Moiz,

Ask your ABAPer for the following development.

1. Append the structure qals_d02 in se11 with the field you want to display..

2. Append the same field in QALS table in se11. (to save you from dump on running QA32)

(e.g. you want to add material group matkl in the alv of QA32. go to se11, append 'zzmatkl' in the qals_d02 structure, then goto se11 again and append 'zzmatkl' in QALS table. activate both. )

3. in subroutine CALL_LISTVIEWER_F14 , implement an implicit enhancement with the code at the beginning to modify object_tab internal table which displays data. Activate the enhancement.

(e.g.

ENHANCEMENT ZPP_MAT_GRP_1.    "active version

*

   DATA: lv_matkl TYPE matkl.

   IF SY-TCODE EQ 'QA33' OR SY-TCODE EQ 'QA32'.

     LOOP AT OBJECT_TAB INTO object_tab.

       SELECT SINGLE matkl FROM mara INTO lv_matkl WHERE matnr = object_tab-matnr.

         object_tab-zzmatkl = lv_matkl.

         MODIFY object_tab FROM object_tab TRANSPORTING zzmatkl .

     ENDLOOP.

ENDIF.

ENDENHANCEMENT.

)

4. in subroutine aktualisieren_f14 , also implement the same code as implicit enhancement just before statement ENDFORM. Activate the enhancement.

Done....

Run QA32 :

in alv, select the desired field from layout option(in our case: material group). save the layout as per your need.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Moiz Ahmed Bhatti,

Give functional specification to ABAP team  and ask to check for enhancement

0 Kudos

you have to take the help of developer to perform the task through some enhancements