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

database views

Former Member
0 Likes
925

Hi all,

I am a fresher to abap.

The following is my question regarding database views,

Create a database view, involving tables KNA1, ADRC, KNVV.

These are all customer master tables and are related through fields MANDT (Client), KUNNR (Customer Number) & ADRNR (Address Number).

To the above questions there are some fields to be viewed which i have entered in the view fields column.

For this above question table/join conditions and selection conditions, please guide me.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
828

Hi,

for KNA1 & KNVV...


kna1-mandt = knvv-mandt.
kna1-kunnr = knvv-kunnr.

for KNA1 & ADRC...


kna1-mandt = adrc-mandt.
kna1-adrnr = adrc-addrnumber.

Arunima

6 REPLIES 6
Read only

Former Member
0 Likes
828

Hi Bharath,

Welcome to SCN.

Check the document for your requirment

http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ed06446011d189700000e8322d00/content.htm

Regards,

Anirban

Read only

0 Likes
828

Hi Anirban,

I have checked that weblink previously before posting the thread, but i was not clear with the select conditions.

ADRC-ADDRNUMBER=KNA1-MANDT,

KNVV-KDGRP=KNA1-MANDT.

This is what i have given in the table/join conditions, is this correct for the question i have posted.

Please let me know what is to be entered in select conditions.

Regards,

Bharath kumar P.G

Read only

Former Member
0 Likes
828
Read only

0 Likes
828

Hi Chandrashekar,

I have checked that weblink previously before posting the thread, but i was not clear with the select conditions.

ADRC-ADDRNUMBER=KNA1-MANDT,

KNVV-KDGRP=KNA1-MANDT.

This is what i have given in the table/join conditions, is this correct for the question i have posted.

Please let me know what is to be entered in select conditions.

Read only

Former Member
0 Likes
828

Hi Anirban,

I have checked that weblink previously before posting the thread, but i was not clear with the select conditions.

ADRC-ADDRNUMBER=KNA1-MANDT,

KNVV-KDGRP=KNA1-MANDT.

This is what i have given in the table/join conditions, is this correct for the question i have posted.

Please let me know what is to be entered in select conditions.

Read only

Former Member
0 Likes
829

Hi,

for KNA1 & KNVV...


kna1-mandt = knvv-mandt.
kna1-kunnr = knvv-kunnr.

for KNA1 & ADRC...


kna1-mandt = adrc-mandt.
kna1-adrnr = adrc-addrnumber.

Arunima