Application Development 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: 

Inner join

Former Member
0 Kudos

can anybody tell is the following code works properly.

select-options: datum for afvv-fsavd.

select afvcarbid afvcsteus afvvaufpl afvvaplzl afvvdauno afvvfsavd into corresponding fields of table i_afvc_afvv from afvc inner join afvv on afvcaufpl = afvvaufpl and afvcaplzl = afvvaplzl where afvv~fsavd in datum and

afvc~steus = 'PP01' or

afvc~steus = 'ZP05'.

Regards,

Naseer.

3 REPLIES 3

Former Member
0 Kudos

select afvcarbid afvcsteus afvvaufpl afvvaplzl afvvdauno afvvfsavd into corresponding fields of table i_afvc_afvv from afvc inner join afvv on afvcaufpl = afvvaufpl and afvcaplzl = afvvaplzl where afvv~fsavd in datum and

( afvc~steus = 'PP01' or

afvc~steus = 'ZP05' ).

its ok,

Former Member
0 Kudos

Hi,

Its correct.

Regards,

Vani

Former Member
0 Kudos

Hi,

do like this.

select-options: datum for afvv-fsavd.

select afvcarbid afvcsteus afvvaufpl afvvaplzl afvv~dauno

afvv~fsavd into corresponding fields of table i_afvc_afvv

from afvc inner join afvv on afvcaufpl = afvvaufpl and

afvcaplzl = afvvaplzl where afvv~fsavd in datum and

( afvcsteus = 'PP01' or afvcsteus = 'ZP05' ).

rgds,

bharat.