‎2009 May 21 6:08 AM
Hi
I needed to make a join with CATSDB- AWART TABLE field with T554T-AWART and SPRSL = SY-LANGU and MOABW = ?
There is another primary key in T554T table called MOABW how to join these table filed with catsdb
Regards
Sebastian John
‎2009 May 21 6:14 AM
Select <fields>
into table <itab>
from catsdb as a inner join T554T as b
on aawart = bawart
aMOABW = bMOABW
where sprsl = sy-langu and
MOABW = ?
‎2009 May 21 6:27 AM
Hi Sandeep,
There is no filed like MOABW in catsdb.
That is the problem ?
Regards
Sebastian
‎2009 May 21 6:31 AM
Then you can put another join condition for T554S-MOABW and t554T-MOABW.
‎2009 May 21 6:33 AM
Hi Sebastian,
When multiple SAP tables are logically joined, it is always advisable to use inner join to read the data from them. This certainly reduces the load on the network.
Hence we have
"catsdb as a inner join T554T as b "
since AWART exists in both the tables innerjoin would be perfect.
the syntax goes like this
Select <field1> <field1> <field1> <field1> ====> the fields u want to select
into table <itab> ====>name of the internal table
from catsdb as t1 inner join T554T as t2
on t1awart = t2awart ~ indent denotes the mapping
t1MOABW = t2MOABW
where sprsl = sy-langu and |
MOABW = ? | your select condition goes here
Hope this helps you,
Thanks and regards
Srikanth.P
‎2009 May 25 9:45 AM
‎2015 Apr 29 11:54 AM
Hi Sebastian.
Did you find the solution for the above requirement.
If yes then pls provide me the solution.
I have got the same requirement.
thanks in advance.
Regards,
Obaid.