Is possible to represent data from a view in MapViewer?
I have tried to represent data from a view instead a table with the Java-Beans API but I couldn't beacause it doesn't represent any geometry referenced by the view. I think it should be implemented because is very common to use views. Are there any way to represent them in MapViewer?
Thanks.
Like a table, you also need to register the view in spatial metadata (user_sdo_geom_metadata). Did you register the view and its spatial column there?
Similar Messages
-
Is it possible to retrieve the data from maintainance view?
Hi experts,
Am facing one problem.
Is it possible to retrieve the data from Maintainance View ,If yes how?
IF it is not possible then Y?
While am trying to retrieve data from maintainance view it's showing message like
"it is not a database view or table".
Can u pls give me ans.
Thanks&Regards,
Arun.Hi Arun,
It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Why do we get the data from a view to a report.
hi
why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?hi Jyotssna,
Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
Regards,
Santosh -
Can we get data from business views in CR 2008/XI?
Hi All,
Can we get data from business views in CR 2008/XI?
If its possible, pls let us know how to get connect with Business View in both of these versions and what is the tool that we have to use to create Business Views.
Thank you,
Krishna PingaliHi Krishna,
Crystal Reports/BusinessObjects Enterprise ( BOE ) Business Views can only be created using the BV build which comes with BOE and installed using the Work Station installer for BOE. for both XI and 2008.
You cannot mix these two versions on the same PC not can one talk to the other, the BV designer must match the same version as BOE. XI ( version 11.0 ) is no longer available but if you mean XI R2 ( version 11.5 ) then it still is.
It's not completely clear which Business View you are referring to? BOE has a Business View Designer so not sure if this is just a naming problem or not? If you are referring to the BOE Business View Designer then the above is true. If your reference is about some other BV designer or data source then you need to clarify.
Contact our Sales department for pricing and availability.
Thank you
Don -
How to extract data from maintenance view
Hi experts,
How can I select the data from maintenance view. As you know select query doesn't work on the maintenance view. And View name will be known at run time only.
Thanks
Yogesh Gupta> Let me tell you that I am a SAP certified ABAP consultant having experience of 4.5 years.
I suspect that we will be hearing more comments about that.
> Whatever question I asked can't be replied with the basic training (if yes please tell me even one).
Debugging a macro?
Another one => FM or BAPI to create the Activity Group in 4.0B No answer is possible? You have to be joking!
And in How to get email ID fo a SAP user you obviously didn't even try Graham's answer!
> I closed some of the answered questions since I didn't get the answers for them for a long time and SDN site doesn't allow to keep more than 10 questions open.
The "comment field" is not mandatory. You don't need to flood the forum with your questions again.
> I do respect your concerns but I have no intention to abuse this site as it has been very helpful for me.
That is the most important part. Thank you. But you seem to be unaware of the "search" functionality.
If you can imagine that you are not the first person to ask a certain question, then you can be sure that someone else already has and you can find the answers on your own. If you still have doubts, then ask a specific question providing the details.
Based on your other questions, you are on release 4.0B. Is that still correct?
Cheers and thanks for responding,
Julius
Edited by: Julius Bussche on Jan 23, 2009 12:06 AM -
Is it possible to show data from two different sql tables?
Is it possible to show data from two different sql tables? Either to show combined data by using a join on a foreign key or showing a typical master detail view?
I have one table With data about a house, and another table With URL's to images in the blob. Could these two be combined in the same Gallery?
Best regards Terje F - NorwayHi Terje,
If you have a unique key, you could use one of the following functions for your scenarios:
If you only have one image per house, you can use LookUp:
http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745501
If you have multiple images per house, you can use Filter:
http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745487
Thanks
Robin -
Hi,
trying to update data from a view with:
- Company (table)
- Products (table)
In a form, the user wants to update
e.g: both products.product_name and Company.company_name.
Is there a way to update a view records built on 2 tables ?
Any idea will be really appreciated
ThksAn other question on INSTEAD OF Trigger:
Base Tables:
1.
SQL> desc pcs_companies;
Name Null? Type
COMPANY_ID NOT NULL NUMBER(12)
COUNTRY VARCHAR2(350)
COMPANY_NAME VARCHAR2(320)
COMPANY_PHONE VARCHAR2 (320)
COMPANY_FAX VARCHAR2(320)
COMPANY_URL VARCHAR2(150)
UPDATED_DATE DATE
2.
SQL> desc pcs_individuals;
Name Null? Type
INDIVIDUAL_ID NOT NULL NUMBER(12)
COMPANY_ID NUMBER(12)
FIRST_NAME VARCHAR2(320)
LAST_NAME VARCHAR2(320)
LOB VARCHAR2(300)
JOB_ROLE VARCHAR2(300)
TITLE VARCHAR2(300)
GENDER VARCHAR2(3)
EMAIL VARCHAR2(720)
FAX VARCHAR2(720)
PHONE_NO VARCHAR2(720)
UPDATED_DATE DATE
COUNTRY VARCHAR2(150)
ADDRESS_1 VARCHAR2(720)
ADDRESS_2 VARCHAR2(720)
ADDRESS_3 VARCHAR2(720)
CITY VARCHAR2(720)
3. pcs_individuals.COMPANY_ID = FK, ref pcs_companies.
4.
SQL> CREATE VIEW V_PCS_COMPANY_IND
AS
SELECT
i.INDIVIDUAL_ID,
c.company_id,
c.country,
c.Company_name,
c.company_phone,
i.Company_id indiv_company_id,
i.gender,
i.first_name,
i.last_name,
i.lob,
i.job_role,
i.title,
i.email_address,
i.fax,
i.phone_no ,
i.address_1,
i.address_2,
i.address_3,
i.city
FROM
pcs_individuals i,
pcs_companies c
WHERE
i.company_id = c.company_id
5.
CREATE OR REPLACE TRIGGER PCS_ADMIN.PCS_COMP_IND_UPDATE_TR
INSTEAD OF UPDATE ON PCMS_ADMIN.V_PCS_COMPANY_IND
FOR EACH ROW
begin
update PCS_COMPANIES
set
Company_name = nvl(:new.company_name,company_name),
company_phone = nvl(:new.company_phone,company_phone)
where company_id = :new.company_id;
update PCS_INDIVIDUALS
set
gender = nvl(:new.gender,gender),
first_name = nvl(:new.first_name,first_name),
last_name = nvl(:new.last_name,last_name),
lob = nvl(:new.lob,lob),
title = nvl(:new.title,title),
email_address = nvl(:new.email_address,email_address),
phone_no = nvl(:new.phone_no,phone_no),
fax = nvl(:new.fax,fax),
country = nvl(:new.country,country),
address_1 = nvl(:new.address_1,address_1),
address_2 = nvl(:new.address_2,address_2),
address_3 = nvl(:new.address_3,address_3),
city = nvl(:new.city,city)
where company_id = :new.company_id;
end PCMS_COMP_IND_UPDATE_TR;
6.
CREATE OR REPLACE TRIGGER PCS_ADMIN.NEW_COMPANY_ID_INSERT
INSTEAD OF INSERT ON PCS_ADMIN.V_PCS_COMPANY_IND
DECLARE
ID number;
BEGIN
INSERT INTO pcs_companies (org_id)
select v_pcs_comp_id_seq.nextval
into ID
from dual;
:new.company_id = ID;
INSERT INTO pcs_individuals (company_id)
select v_pcs_comp_id_seq.nextval
into ID
from dual;
:new.company_id = ID;
end;
My question
On point 6:
Assumption:
- Company_id is PK of pcs.Company and FK in pcs.individuals
- It should be feed by sequence (v_pcs_comp_id_seq)
Now how can i insert the same value for company_id (current.v_pcs_comp_id_seq) in both pcs_companies and pcs_individuals ? I've tested it in the above INSTEAD OF Trigger.It failed.
Thks for any advice,
lamine -
Is that possible to transfer data from old apple id to new apple id becoz my old apple id is not working.
Merging of Apple ID accounts is not possible.
-
How Can i Read data From Maintainance View
I Want read data from Maintainance View. i written select query
SELECT *
FROM J_1yyyyV
INTO TABLE GT_BUSPLACE.
WHERE BUPLA = LV_BUPLA.
this is giving following error
"J_1yyyyV" is not defined in the ABAP Dictionary as a table,
projection view, or database view.
Can you help me Please.
Thanks in Advance.
Regards,
Raj.Hi raj,
maintainance view is a nothing but combinations of table using join on some fields..
see the relation ship between the joins..
if you want to write selection query ..go to se11 -->enter view name >and open tab>
Table/Join conditions--> see the table's involved and join conditons between tables.
and write the select query same as like the Table/Join conditions in se11..now you can acheive the
table maintainance fields..
Prabhudas -
How to retrieve data from a view.
HI,
I want to retrieve the values of the <b>Field MNTXT from the view V_T530</b>.
Please let me know how i can retrieve data from this view.The Select statement doesnt work on a view.
Regards,
BhavikaHi kumar,
By using select stattement you can fetch from view.
Here viaufkst is view.
For it is working. please check.
select (g_selfields_tab) from viaufkst
into corresponding fields of table order_itab
for all entries in order
where "(g
aufnr in order and
equnr in equip and
priok in prior and
iphas = '3' and
ilart in acttyp and
qmnum in notif and
werks = plant and
auart in ortyp and
getri in date.
please try.
with Regards, -
How to extraxct data from a view.
hi,
i'm tying to extrct data from a view vbdka, with select. but i;m getting a syntax error that it anot a DB Table or DB view, pls tell me how to extract data from that view.
thanks.hi,
just check out if u have declared the table or not n see if it is not a structure also
madhuri. -
How to extract data from generic view and function module
hi experts,
can anybody give me the steps to extract data from generic view and functon modules.
thanks and regards
venkathttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
https://websmp103.sap-ag.de/~sapidb/011000358700007535452002
Hope it Helps
Chetan
@CP.. -
Trying to query data from a view - ORA-01882 and ORA-02063 Errors
Hey there,
I tried to query data from a view that was provided by a colleague. This view works fine and gives correct data using PL/SQL Developer or SQLPLUS, but in SQL Developer, I get the following error:
ORA-01882: Time zone region not found
ORA-02063: preceding line from SYSTOOLS
01882.00000 - "timezone region %s not found"
* Cause: Specified reason name was not found
* Action: Please contact Oracle Customer Support
Vendor Code 1882
Where comes this error message from?! SYSTOOLS is the database link.
Can't see an obvious reason for this error.
OS is Windows 2000 SP4, SQL Developer is v1.1.1.25 BUILD MAIN-25.14
Regards,
ThomasFrom Oracle Messages 'Cause and Action'
http://www.oracle.com/technology/products/designer/supporting_doc/des9i_90210/cmnhlp72/messages/ora_messages.htm
ORA-01882, 00000, "timezone region %s not found"
Cause: The specified region name was not found.
Action: Please contact Oracle Customer Support.
Maybe invalid region in NLS_LANG?
"select * from v$nls_parameters"
Starting this script in all developer program and compared result... -
Problem while retrving data from a view
Hi Friends
i have a problem while retriving data from a view <b>v_t685a</b>.
the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
KSCHL = 'JIN1' and
KAPPL = 'V'.
how to retrive the data.
waiting for quick response
Regards
MukeshHi
This is a Maintenance View, not a Database View
SO can't fetch data using select statement.
You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Extract Data from a View into multiple columns
fairly new sql person here, I have a question on extracting data from a View that I have created and formatting it in a way that the user needs.
My View has the following columns:
Account
Department
Budget
Spent
Values would be such as:
Account Department Budget Spent
1 A 1.00 1.00
1 B 2.50 1.45
1 C 3.00 4.00
2 A 4.00 1.00
2 B 2.00 1.00
What I'm wanting to do is extract the data out in the following format:
<dept> <account> 1 <account> 2
<budget> <spent> <budget> <spent>
A 1.00 1.00 4.00 1.00
B 2.50 1.45 2.00 1.00
C 3.00 4.00
basically dept as a column and then separate columns for each accounts budget and spent values going across
thanks!Search for pivot queries in this forum.
However, you need to have finite number of accounts in Account column, otherwise output will be, i must say, non-readable and the query to be written would be unrealistic.
Maybe you are looking for
-
ITunes 11.1.5.5 on my Windows 7 PC does not play songs
After upgrading this version, the iTunes player bar graph does not move when I click the play arrow. Any ideas, please share.
-
My podcast artwork is not showing in the iTunes store or in the Podcasts app
My podcast, the Legal Seagull, was recently posted to iTunes. The problem is that the artwork is not showing in the iTunes store or on the iPhone's Podcasts app. Once you actually download the episodes, the image does appear. I verified that my image
-
Showing dir/file name in FINDER
Hi, I'm somewhat of a control freak and have this insane desire to know exactly where things are in my system(s). If I look at a file in the Finder, I usually have no idea what directory I'm in. Is there a way to display the complete path for each fi
-
Cover flow / album artwork
i cannot sync my album artwork or cover flow from itunes to my itouch. any ideas? do i need to re install all my songs and stuff to get it from itunes? thanks!
-
Google Web Toolkit (GWT)
I am trying to understand the benefits GWT. Seems like coding Java Script and DHTML by hand or using the JSP/JSF model (any update triggers page reload) is no longer considered good UI design. I see a lot of buzz around the new Google Toolkit Release