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 to join 4 tables

Former Member
0 Likes
560

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.

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
Read only

former_member585060
Active Contributor
0 Likes
500

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

Instead of ANLAV you use Table ANKL-KTANSW

Read only

0 Likes
500

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