hi All ,
Can any one help on this ?
i have written below code .
clear wa_final.
sort it_final by INSTID_A TYPEID_A.
LOOP AT it_final into wa_final.
idx1 = sy-tabix.
at new INSTID_A.
clear : vcount.
endat.
vcount = vcount + 1.
wa_final-Count = VCOUNT.
IF vcount gt 1.
clear : wa_final-INSTID_A, wa_final-TYPEID_A.
ENDIF.
modify it_final from wa_final index idx1.
ENDLOOP.
I'm getting Output as
INSTID_A | TYPEID_A | File Names | File Count |
Test1 | FIPP | Archiving message.DOC | 1 |
imagearchivingrippon.XLS | 2 | ||
Test.URL | 3 |
but my requirement is as shown below
INSTID_A | TYPEID_A | File Names | File Count |
Test1 | FIPP | Archiving message.DOC | 3 |
imagearchivingrippon.XLS | |||
Test.url |
It means when the maximum file count is 3 then it should display only 3 , it should not display 1 and 2.....
how can i do this by using at new ?
Regards
Smitha