Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can i fetch the records of 3 tables with a single select
query,without using join.

Answer Posted / anurag joshi

records can be fetched from 3 tables using a single select
statement using the CHAIN OPERATOR in select statement....

select : vbeln posnr matnr from VBAK into table i_abc1
where vbeln = s_vbeln,
vbeln1 posnr1 matnr1 from VBAk1 into table i_abc2
where posnr2 = s_posnr,
vbeln2 posnr2 matnr2 from VBAK2 into table i_abc3
where matnr2 = s_matnr2.

..the only difference which makes is the chain operator.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you display data say "your name"in sap script without print program or driver program??

2199


What is img? : sap abap hr

1142


What is ps structure? : abap hr

1375


MY DOMAIN IS SAP-ABAP COMPARE TO WEBDYNPRO AND CRM-TECHNICAL WHICH IS BEST?

2936


Why lsmw does not support call transaction method? : abap bdc

1111


What are the basic components of dialog program?

1242


What is the difference between a structure and an append structure?

1098


What are the different types of abap/4 programs?

1167


Name the abap/4 modularization techniques? : abap modularization

1074


How to determine the attributes of an internal table?

1147


How can we upload a text file having delimiters in to legacy system?

1084


Can we access static attribute from instance method

1484


How does the interection between the dynpro and the abap/4 modules takes place?

1175


What are the disadvantages of logical databases?

1231


Can a filed occur in several field groups? : abap modularization

1110