Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Re: text description from t007s

$
0
0

A better approach would be.

 

lt_ekpo_tmp = lt_ekpo.

sort lt_ekpo_tmp by mwskz.

delete adjacent duplicates from lt_ekpo_tmp comparing mwskz.


IF lt_ekpo_tmp is not initial.


       SELECT  mwskz text1 kalsm

       INTO TABLE lt_t007s

       FROM t007s

         FOR ALL ENTRIES IN lt_ekpo_tmp

       WHERE mwskz = lt_ekpo_tmp-mwskz AND kalsm = 'TAXMY'.

IF sy-subrc EQ 0.

sort lt_t007s by mwskz.

endif.


endif.


     LOOP AT lt_ekpo INTO lw_ekpo WHERE ebeln = lw_ekko-ebeln.

       CLEAR: lv_xmatch_ekpo_x, lt_t007s.

 

....

 

read table lt_t007s with key mwskz = lw_ekpo-mwskz Binary search.

if sy-subrc eq 0.

it_output-t007s-text1 = lt_t007s-text1.


endif.


Viewing all articles
Browse latest Browse all 8524

Trending Articles



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