Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: how to get the duplicate records in report rfbnum10

$
0
0

Hi Shambuling,

 

I hope I understood your requirement clearly if not then correct me.

 

If you want to remove single values from ITAB.

 

*****************************************************************************

CLEAR: WA, WA1.               " wa and wa1 are work areas of same table type.

SORT ITAB BY LV_AMOUNT LV_REFERENCE.

 

LOOP AT ITAB INTO WA.

 

     LV_TABIX = SY-TABIX.

 

     IF WA1 IS NOT INITIAL.

          IF WA <> WA1.

                DELETE ITAB INDEX LV_TABIX.                            

          ENDIF.         

     ENDIF.

    

          WA1 = WA.

 

ENDLOOP.

*****************************************************************************

Try above code to delete single values from ITAB.

 

Jay MH..!!

 

Regards,

Siddhesh Satghare.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>