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

REGARDING VIEWS

Former Member
0 Likes
686

HI EXPERTS,

I HAVE TO CREATE A VIEW..tables which i am using are LIPS,VBAK,LIKP,MBEW..n fields are:

LIPS-WERKS,

LIPS-NTGEW,

LIPS-MATNR,

LIPS-VRKME,

LIKP-LFDAT,

VBAK-KUNNR,

MBEW-STPRS,

how can i create a view using these fields...plz sort it out..m in hurry

regards,

raman.

5 REPLIES 5
Read only

Former Member
0 Likes
658

hi if you want to use individually

use SE11 and create

http://help.sap.com/saphelp_nw04/helpdata/en/f5/35c83ecedc636be10000000a114084/content.htm

Rewards If Useful.

Read only

former_member404244
Active Contributor
0 Likes
658
Read only

Former Member
0 Likes
658

Hi Prakash,

From SE11 create the DB view and join the tables with the key fields

Database View (SE11)

Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched.

Read only

Former Member
0 Likes
658

Hi Prakash,

1) Execute the transaction SE11.

2) Select "View" radio button and enter a name for a view (Ensure that the name starts with z....)

3) Now in a new list, select "Database View"

4) Click on "Copy" button.

5) in the new window, enter any short description about ur object

6) Since U are using the tables LIPS, VBAK, LIKP, MBEW, list them out under Tables on the left hand side in the tab (Table/Join Conditions).

7) Under the "joins" enter all the join condition that you have between these tables.

😎 Goto "View Fields" tab. Herein enter the fields that you want. Under the title "View field" - enter the name you would like to see, under "table" - enter the table name from which this field should get its data from; under "field" - enter the field name as it is in the table.

9)After entering them all, press enter.

10)goto "Selection Conditions" tab. here enter those conditions which you would have written in the where clause of the select statement.

11)perform syntax check

12)activate.

Thats it.

<b>Award points in order to say thanks.</b>

Regards,

Kiran

Read only

Former Member
0 Likes
658

hi kiran,

thanx for ur reply..but i dont know how cud i define these join conditions...can u plz guide me by giving an example related to the fields i hav mentioned...

regards,

prakash