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

Inner join

Former Member
0 Likes
621

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
Read only

Former Member
0 Likes
587

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,

Read only

Former Member
0 Likes
587

Hi,

Its correct.

Regards,

Vani

Read only

Former Member
0 Likes
587

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.