Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

select query

Former Member
0 Likes
554

Can you please tel me how to write this select query using for all entries......

SELECT i~tplnr

f~pltxt

i~invnr

i~objnr

i~erdat

i~fltyp

i~iwerk

a~class

k~clint

INTO CORRESPONDING FIELDS OF TABLE OUTPUT

FROM ( ( ( iflot AS i INNER JOIN iflo AS f ON ftplnr = itplnr )

INNER JOIN kssk AS k ON kobjek = itplnr )

INNER JOIN klah AS a ON aclint = kclint )

WHERE i~tplnr EQ tplnr .

points will be definitely awarded......

3 REPLIES 3
Read only

Former Member
0 Likes
470

Hi,

Following is the select query

select

Fld1

fld2

fld3

from dbtable into corresponding fields of table itab2

for all entries in itab1

where fld1 = itab1-fld1.

REWARD IF USEFUL

Read only

Former Member
0 Likes
470

Hi Preet

SELECT IFLOT~TPLNR

IFLOT~INVNR

IFLOT~OBJNR

IFLOT~ERDAT

IFLOT~FLTYP

IFLOT~IWERK

IFLO~PLTXT

KLAH~CLASS

KSSK~CLINT

INTO CORRESPONDING FIELDS OF TABLE OUTPUT

FROM IFLOT INNER JOIN IFLO ON IFLOTPLNR = IFLOTTPLNR

INNER JOIN KSSKOBJEK = IFLOTTPLNR

INNER JOIN KLAHCLINT = KSSKCLINT

WHERE I~TPLNR EQ TPLNR.

Reward me points

By

Pari

Read only

0 Likes
470

Hi,

i dont want to use inner join in this query....