Skip to Content
0
Mar 23, 2009 at 06:09 AM

Material num and Plant is not displaying in Output

27 Views

hi

i have written this code to get all inspection types...

while compiling im getting the correct output...

it is displaying only inspection types ....

Material num and Plants are not displaying..

form PROCESS_DATA .

CLEAR: WA_FINAL,

WA_QMAT.

MOVE IT_FINAL TO I_FINAL.

REFRESH IT_FINAL.

LOOP AT I_FINAL assigning <fs_fin>.

LOOP AT IT_QMAT INTO WA_QMAT where MATNR = <fs_fin>-MATNR.

P_werks = <fs_fin>-werks.

IF SY-SUBRC EQ 0.

<fs_fin>-ART = WA_QMAT-ART.

APPEND <fs_fin>-ART TO it_final.

CLEAR WA_QMAT.

CLEAR wa_final.

ENDIF.

ENDLOOP.

ENDLOOP.