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

Re: How to add ship-to and sold-to party name in a view table.

$
0
0

Hi,

     Use Table KNVP for Codes and Join with KNA1 for names using Alias LIKE

 

     select a~kunnr a~name1 b~kunnr b~name1 from
       kna1 as a
     INNER JOIN
       kna1 as b on a~kunnr eq b~kunnr
    
       INNER JOIN knvv as c
     on a~kunnr eq c~kunnr
     INTO TABLE IT_SHIP
    
     where c~parwe in ('AG','WE')



     AND KUNNR IN .....


Viewing all articles
Browse latest Browse all 8808

Trending Articles