Application Development 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: 

select query to join 4 tables

Former Member
0 Kudos

Hi i want to fetch lblnr and bukrs from the table bseg and in the where codn it must make use of rbada,anek and anlav table such that the rbada-brdatu is present in variable lv_lastdate and anek-budat in lv_start and lv_end,anlav-ktansw in p_ktansw.I have to make use of these values in where codn.Please help to code this part.

2 REPLIES 2

former_member585060
Active Contributor
0 Kudos

RBADA and ANLAV are structures, so there will be no data in them

Instead of ANLAV you use Table ANKL-KTANSW

0 Kudos

Ok thanks...can you please tell how to write the select query