标签:isp 一个 into res splay demo unique 多表 with
PARAMETERS p_cityfr TYPE spfli-cityfrom. TYPES: BEGIN OF wa, carrid TYPE scarr-carrid, carrname TYPE scarr-carrname, connid TYPE spfli-connid, END OF wa. DATA itab TYPE SORTED TABLE OF wa WITH NON-UNIQUE KEY carrid. SELECT s~carrid, s~carrname, p~connid FROM scarr AS s LEFT OUTER JOIN spfli AS p ON s~carrid = p~carrid AND p~cityfrom = @p_cityfr INTO CORRESPONDING FIELDS OF TABLE @itab. DELETE itab WHERE connid <> ‘0000‘. cl_demo_output=>display( itab ).
标签:isp 一个 into res splay demo unique 多表 with
原文地址:http://www.cnblogs.com/sean1018/p/7648836.html