‎2007 Jan 03 12:09 PM
‎2007 Jan 03 12:11 PM
Hi,
it is not necessary, you can use the tables.
Regards,
Sonika Ahuja
‎2007 Jan 03 12:17 PM
No its not necessary to use database view for inner join.
For example:
select mkpfmblnr mkpfmjahr msegzeile msegbukrs msegbwart MKPFBUDAT MKPFCPUTM MSEGMATNR MSEGWERKS MSEGEBELN
MSEGEBELP MSEGERFMG
INTO TABLE ht_mkpfmseg
FROM MKPF INNER JOIN MSEG
ON mkpfmandt = msegmandt
AND MKPFMBLNR = MSEGMBLNR
AND MKPFMJAHR = MSEGMJAHR
where mkpf~budat > '20040721'.
I hope it helps.
Best Regards,
Vibha
<b>*Please mark all the helpful answers</b>
‎2007 Jan 03 12:18 PM
Hi Padmam,
You can use views for joining. It is not mandatory that you should use views while joining.
But one point you should remember is;
<b><i>Database views</i> implement an <i>inner join</i>. The other view types implement an <i>outer join.</i></b>
Please refer the following link for more information,
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec5d446011d189700000e8322d00/content.htm
<i><b>
Best Regards
Ali S</b></i>
‎2007 Jan 03 7:19 PM
> But one point you should remember is;
> ]<i>Database views</i> implement an <i>inner
> join</i>. The other view types implement an <i>outer
> join.</i></b>
Just to be absolutely correct - there is a special view type "Projection View", where no join used at all
‎2007 Jan 04 3:39 AM
Some more info:
DB views: inner join
Maintenance views: Outer join
Help views: Outer join
Projection view: Only fields of one table