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

Query

Former Member
0 Likes
603

hi friends,

Could u please send me the details

Average weight - read CUOBJ_BM from table MCH1 where MATNR = RSEBD-MATNR

and charg = RSEBD-CHARG. Read ATWRT from table AUSP where OBJEK = CUOBJ_BM

and ATINN = 'AVE_TABLET_WEIGHT'. ATWRT is average weight

for above that one how we can write the inner join or for all enteris

regrads

srinu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

hi

select a~cuobj_bm

b~awart

into table itab

from mch1 as a inner join ausp as b

on acuobj_bm = bobjek

where a~matnr = RSEBD-MATNR and

a~charg = RSEBD-CHARG and

b~atinn = 'AVE_TABLET_WEIGHT'.

Regards

Ashok Parupalli.

Message was edited by: Ashok Parupalli

3 REPLIES 3
Read only

Former Member
0 Likes
498

select mch1~cuobj_bm

ausp~atwrt

from mch1 inner join ausp

on cuobj_bm = objek

into table itab

where mch1~matnr = rsebd-matnr

and mch1charg = rsebdcharg

ausp~atinn = 'AVE_TABLET_WEIGHT'.

Regards,

ravi

Read only

Former Member
0 Likes
499

hi

select a~cuobj_bm

b~awart

into table itab

from mch1 as a inner join ausp as b

on acuobj_bm = bobjek

where a~matnr = RSEBD-MATNR and

a~charg = RSEBD-CHARG and

b~atinn = 'AVE_TABLET_WEIGHT'.

Regards

Ashok Parupalli.

Message was edited by: Ashok Parupalli

Read only

Former Member
0 Likes
498

select cuobj_bm

from mch1

into table itab1

where matnr = rsebd-matnr

and charg = rsebd-charg.

select objek

atwrt

from ausp

into table itab2

for all entries in itab1

where objek = itab1-cuobj_bm

and atinn = 'AVE_TABLET_WEIGHT'.

Regards,

Ravi