‎2011 Jul 25 4:09 AM
Dear Friends,
i have to link following tables to the maintenance view.
my problem is i have to link one table for two fields like Cost center from and cost center to
so please guide me how can i achieve this?
Id Label Table Field
1 Business Site ZBC_APPRVRS_LIST Z_BUSINESS_SITE
2 Description ZBC_BUSNS_SITES Z_BUS_SITE_DESC
3 Controlling Area ZBC_APPRVRS_LIST KOKRS
4 Cost Center From ZBC_APPRVRS_LIST Z_KOSTL_FROM
5 Description CSKS LTEXT
6 Cost Center To ZBC_APPRVRS_LIST Z_KOSTL_TO
7 Description CSKS LTEXT
8 Second Level Approver ZBC_APPRVRS_LIST Z_SECOND_APPROVER
9 Complete name ADRP NAME_TEXT
10 Third Level Approver ZBC_APPRVRS_LIST Z_THIRD_APPROVER
11 Complete name ADRP NAME_TEXT
thanks in advance
‎2011 Jul 25 5:07 AM
if you have linked the tables using the keys, then you simply need to add the fields from the different tables? Whats the problem with having to get Cost center from and to ?
‎2011 Jul 25 5:21 AM
Suzie,
i have linked 1st table with CSKS
but how can i select relevant description field.
‎2011 Jul 25 5:33 AM
Along with this you can again link the 1 st table to the description too. Did you try doing it ?
‎2011 Jul 25 5:58 AM
yes friend,
but for the join conditions it takes only one field (from)
other field (to) is display as Relationships with unsuitable cardinality in relationship side.
‎2011 Jul 25 6:20 AM
Which is the case table you have used to link these tables?
And ZBC_APPRVRS_LIST contains both the from and to fields.. right ? and are they the fields to link it with the other tables?
Can you give me the keys of all these tables and the fields you are using to link these table respectively.
‎2011 Jul 25 6:45 AM
Hi
assume we can user select statement like this
Select bDescription cDescription
into (desc1,desc2)
from tbID as a on id1 =
inner join des1 as b on aid1 = bid
inner join des1 as c on aid1 = cid
is it possible to to do in maintenance view?
‎2011 Jul 25 7:15 AM
Hi.. first of all, i believe maintenance views create outer joins. Only database views create inner joins..
Second, if you are writing this to finally use it in select statements, you can perform select statements on database n projection views..
‎2011 Jul 25 7:20 AM
‎2011 Jul 25 7:43 AM
ok.. did you try this way..
In se11 on creation of maintenance view.. first enter table A..
Then click relation ships and give table B.
Then select A and again give relationships and select C
Is this what you tried to do in Se11?
‎2011 Jul 25 8:05 AM
‎2011 Jul 25 8:30 AM
if the table is same, and field is the same, y do you want different join conditions?
‎2011 Jul 25 8:41 AM
then use and to join .
Edited by: koolspy on Jul 25, 2011 1:11 PM
‎2011 Jul 25 9:26 AM
Dear try to understand the situation
base table have two fields ID1 and ID2
text table(Description) have Fields ID & Description
i want to get descriptions for two IDs (ID1 & ID2)
so for ID1 description pass ID1 to text table ID and get description
for ID2 description pass ID2 to text table ID and get there description
i wanna know how can i do in maintenance view,
‎2011 Jul 25 1:54 PM
Why don't you use EVENTS( 01 or 05 ) in Table maintenance generator and get the descriptions using select query
Thanks,
K.Kiran
‎2011 Jul 26 5:42 AM
Do you want to use maintenance view itself. Because what you are looking for can be achieved if you use a Database View. Do you want to be able to maintain the records? If not try database view.
‎2011 Jul 25 6:39 AM
HI,
please visit this link, it might be usefull to you [click here|http://www.youtube.com/watch?v=4Je5EsM-vAY]
‎2011 Jul 25 7:00 AM
‎2011 Jul 25 7:13 AM