Quantcast
Viewing all articles
Browse latest Browse all 8594

Re: For all entries sorting problem

Hi,

 

TRy below code.

 

sort IT_TEST_TABLE by pernr.

 

Loop at IT_PERNR into WA_PERNR.

 

read table IT_TEST_TABLE into WA_TAB with key pernr = wa_pernr-pernr binary search.

 

if sy-subrc = 0.

   apppend  WA_TAB to it_new_sort.

endif.

endloop.

 

IT_NEW_SORT will be in the order of IT_PERNR.

 

Regards

Sree


Viewing all articles
Browse latest Browse all 8594

Trending Articles



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