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

Re: Inner join condition : zeroes in table fields to truncate and then match.

$
0
0

Hi Kiran

 

We can simply do this also..Why an extra loop?

 

 

data

 

:lt_mara typestandardtableof mara,
lt_marc
typestandardtableof marc.
select *
from mara intotable lt_mara.
if sy-subrc eq0.
select *
from marc
intotable lt_marc
forall entries in lt_mara
where matnr eq lt_mara-zeinr+0(18).
endif.

 

Nabheet


Viewing all articles
Browse latest Browse all 9041

Trending Articles



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