Fetch Data from BI system and populate a Table
Hi,
I have to fetch the data from BI system into a model and populate the Table.
The data resides in BI system. I am creating model from adaptive RFC and the function module is RRW3_GET_QUERY_VIEW_DATA. This is the max information i have got to execute the query
Infoprovider ZM_SC_GR
Query T_SUPGR003
Variable: Vendor Number
VAR_NAME_1 SPRPVEN
VAR_OPERATOR_1 EQ
VAR_VALUE_LOW_EXT_1 Value
VAR_VALUE_HIGH_EXT_1
VAR_SIGN_2 I
Variable: Purchasing Group
VAR_NAME_2 CSMPGRP
VAR_OPERATOR_2 EQ
VAR_VALUE_LOW_EXT_2 Value
VAR_VALUE_HIGH_EXT_2
VAR_SIGN_2 I
Variable: Calendar Day Range
VAR_NAME_3 SPGRDT01
VAR_OPERATOR_3 BT
VAR_VALUE_LOW_EXT_3 Value1
VAR_VALUE_HIGH_EXT_3 Value2
VAR_SIGN_3 I
I am not able to understand which parameters of the model I should map for context mapping to map cotroller with model.
Thanks and Regards,
Pankaj
Edited by: pankaj pathak on Sep 9, 2010 12:25 PM
after you imported Rrw3_Get_Query_View_Data function as adaptive rfc model in your component and mapped its node controller context Rrw3_Get_Query_View_Data_Input model to your controller context do the following:
i.e.
Rrw3_Get_Query_View_Data_Input model = new Rrw3_Get_Query_View_Data_Input();
model.setI_Infoprovider("0FIA_MDS2");
model.setI_Query("FIA_MDS2_Q0005MP");
wdContext.nodeGetQueryView().bind(model);
W3Query paramElement1 = new W3Query();
paramElement1.setName("VAR_NAME_1");
paramElement1.setValue("0P_CSDAT");
W3Query paramElement2 = new W3Query();
paramElement2.setName("VAR_OPERATOR_1");
paramElement2.setValue("LE");
W3Query paramElement3 = new W3Query();
paramElement3.setName("VAR_VALUE_EXT_1");
paramElement3.setValue(cdate);
W3Query paramElement5 = new W3Query();
paramElement5.setName("VAR_NAME_2");
paramElement5.setValue("0S_CCTR");
W3Query paramElement6 = new W3Query();
paramElement6.setName("VAR_OPERATOR_2");
paramElement6.setValue("EQ");
W3Query paramElement7 = new W3Query();
paramElement7.setName("VAR_VALUE_LOW_EXT_2");
paramElement7.setValue(mvz);
W3Query paramElement8 = new W3Query();
paramElement8.setName("VAR_VALUE_HIGH_EXT_2");
paramElement8.setValue(mvz);
W3Query paramElement9 = new W3Query();
paramElement9.setName("VAR_SIGN_2");
paramElement9.setValue("1");
model.addI_T_Parameter(paramElement1);
model.addI_T_Parameter(paramElement2);
model.addI_T_Parameter(paramElement3);
model.addI_T_Parameter(paramElement5);
model.addI_T_Parameter(paramElement6);
model.addI_T_Parameter(paramElement7);
model.addI_T_Parameter(paramElement8);
model.addI_T_Parameter(paramElement9);
then execute
wdContext.currentGetQueryViewElement().modelObject().execute();
and invalidate output node
and then you get the data from r3 system.
then you should correctly parse output node and read the data from E_Axis_Data node E_Cell_Data node.
Similar Messages
-
Fetch Data from BI system and populate a Table in webdynpro
Hi,
I have to fetch the data from BI system into a model and populate the Table.
The data resides in BI system. I am creating model from adaptive RFC and the function module is RRW3_GET_QUERY_VIEW_DATA. This is the max information i have got to execute the query
Infoprovider ZM_SC_GR
Query T_SUPGR003
Variable: Vendor Number
VAR_NAME_1 SPRPVEN
VAR_OPERATOR_1 EQ
VAR_VALUE_LOW_EXT_1 Value
VAR_VALUE_HIGH_EXT_1
VAR_SIGN_2 I
Variable: Purchasing Group
VAR_NAME_2 CSMPGRP
VAR_OPERATOR_2 EQ
VAR_VALUE_LOW_EXT_2 Value
VAR_VALUE_HIGH_EXT_2
VAR_SIGN_2 I
Variable: Calendar Day Range
VAR_NAME_3 SPGRDT01
VAR_OPERATOR_3 BT
VAR_VALUE_LOW_EXT_3 Value1
VAR_VALUE_HIGH_EXT_3 Value2
VAR_SIGN_3 I
I am not able to understand which parameters of the model I should map for context mapping to map cotroller with model.
Thanks and Regards,
Pankajafter you imported Rrw3_Get_Query_View_Data function as adaptive rfc model in your component and mapped its node controller context Rrw3_Get_Query_View_Data_Input model to your controller context do the following:
i.e.
Rrw3_Get_Query_View_Data_Input model = new Rrw3_Get_Query_View_Data_Input();
model.setI_Infoprovider("0FIA_MDS2");
model.setI_Query("FIA_MDS2_Q0005MP");
wdContext.nodeGetQueryView().bind(model);
W3Query paramElement1 = new W3Query();
paramElement1.setName("VAR_NAME_1");
paramElement1.setValue("0P_CSDAT");
W3Query paramElement2 = new W3Query();
paramElement2.setName("VAR_OPERATOR_1");
paramElement2.setValue("LE");
W3Query paramElement3 = new W3Query();
paramElement3.setName("VAR_VALUE_EXT_1");
paramElement3.setValue(cdate);
W3Query paramElement5 = new W3Query();
paramElement5.setName("VAR_NAME_2");
paramElement5.setValue("0S_CCTR");
W3Query paramElement6 = new W3Query();
paramElement6.setName("VAR_OPERATOR_2");
paramElement6.setValue("EQ");
W3Query paramElement7 = new W3Query();
paramElement7.setName("VAR_VALUE_LOW_EXT_2");
paramElement7.setValue(mvz);
W3Query paramElement8 = new W3Query();
paramElement8.setName("VAR_VALUE_HIGH_EXT_2");
paramElement8.setValue(mvz);
W3Query paramElement9 = new W3Query();
paramElement9.setName("VAR_SIGN_2");
paramElement9.setValue("1");
model.addI_T_Parameter(paramElement1);
model.addI_T_Parameter(paramElement2);
model.addI_T_Parameter(paramElement3);
model.addI_T_Parameter(paramElement5);
model.addI_T_Parameter(paramElement6);
model.addI_T_Parameter(paramElement7);
model.addI_T_Parameter(paramElement8);
model.addI_T_Parameter(paramElement9);
then execute
wdContext.currentGetQueryViewElement().modelObject().execute();
and invalidate output node
and then you get the data from r3 system.
then you should correctly parse output node and read the data from E_Axis_Data node E_Cell_Data node. -
Read data from xml files and populate internal table
Hi.
How to read data from xml files into internal tables?
Can u tell me the classes and methods to read xml data..
Can u explain it with a sample program...<pre>DATA itab_accontextdir TYPE TABLE OF ACCONTEXTDIR.
DATA struct_accontextdir LIKE LINE OF itab_accontextdir.
DATA l_o_error TYPE REF TO cx_root.
DATA: filename type string ,
xmldata type xstring .
DATA: mr TYPE REF TO if_mr_api.
mr = cl_mime_repository_api=>get_api( ).
mr->get( EXPORTING i_url = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
IMPORTING e_content = xmldata ).
WRITE xmldata.
TRY.
CALL TRANSFORMATION id
SOURCE XML xmldata
RESULT shiva = itab_accontextdir.
CATCH cx_root INTO l_o_error.
ENDTRY.
LOOP AT itab_accontextdir INTO struct_accontextdir.
WRITE: / struct_accontextdir-context_id,
struct_accontextdir-context_name,
struct_accontextdir-context_type.
NEW-LINE.
ENDLOOP.</pre>
<br/>
Description:
In the above code snippet I am storing the data in an xml file(you know xml is used to store and transport data ) called 'xml_accontextdir.xml' that is uploaded into the MIME repository at path 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'.
The below API is used to read a file in MIME repo and convert it into a string that is stored in ' xmldata'. (This is just a raw data that is got by appending the each line of xml file).
mr = cl_mime_repository_api=>get_api( ).
mr->get( EXPORTING i_url = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
IMPORTING e_content = xmldata ).
Once the 'xmldata' string is available we use the tranformation to parse the xml string that we have got from the above API and convert it into the internal table.
<pre>TRY.
CALL TRANSFORMATION id
SOURCE XML xmldata
RESULT shiva = itab_accontextdir.
CATCH cx_root INTO l_o_error.
ENDTRY.</pre>
Here the trasnsformation 'id ' is used to conververt the source xml 'xmldata' to resulting internal table itab_accontextdir, that have same structure as our xml file 'xml_accontextdir.xml'. In the RESULT root of the xml file has to be specified. (In my the root is 'shiva').
Things to be taken care:
One of the major problem that occurs when reading the xml file is 'format not compatible with the internal table' that you are reading into internal table. Iin order to get rid of this issue use one more tranformation to convert the data from the internal table into the xml file.
<pre>TRY.
CALL TRANSFORMATION id
SOURCE shiv = t_internal_tab
RESULT XML xml.
CATCH cx_root INTO l_o_error.
ENDTRY.
WRITE xml.
NEW-LINE.</pre>
<br/>
This is the same transformation that we used above but the differnce is that the SOURCE and RESULT parameters are changed the source is now the internal table and result is *xml *string. Use xml browser that is available with the ABAP workbench to read the xml string displayed with proper indentation. In this way we get the format of xml file to be used that is compatable with the given internal table.
Thank you, Hope this will help you!!!
Edited by: Shiva Prasad L on Jun 15, 2009 7:30 AM
Edited by: Shiva Prasad L on Jun 15, 2009 11:56 AM
Edited by: Shiva Prasad L on Jun 15, 2009 12:06 PM -
How to fetch data from database in javafx 2.2 table which is editable.
Dears!
I want to fetch data from database in javafx 2.2 tableformat with jdbc , which is also editable and i can add more records in this table also.
Can anybody help meI can vaguely recall some sort of JavaFX database connectivity feature, I'm not sure if it's valid anymore.The link is based on JavaFX Composer which only applied to NetBeans 6.9 and JavaFX 1.x (both of which are now dead techs).
There is a good chance you will have to write your own. There are several blogs describing other peoples' work. You could probably use them as a reference.Here is Narayan's basic [url http://blog.ngopal.com.np/2011/10/19/dyanmic-tableview-data-from-database/] tutorial for displaying data from a database in a TableView, you'll need to look elsewhere for the editing portion.
The [url http://docs.oracle.com/javafx/2/ui_controls/table-view.htm]JavaFX TableView tutorial gives info about how to handle edits in a TableView, but you will need to tie the updates back to the database yourself.
It is possible that [url http://www.javafxdata.org/]DataFX may provide some facilities to help support you. -
Error while fetching data from CRM system to BW
I am extracting data (BP ID) from CRM system. I have upgraded the BI 7.0 system from patch 12 to patch 14. After upgrading when i execute the infopackage to fetch the data from the CRM system. The request is coming in yellow and is not fetching the data. Can you suggest what could be the solution.. or where can i find some help..
Thanks..
BhavyaHi,
1 . Do the Data replication in source system
2. Check the source system connections.
3. Check the Infopackage status and also che the exact error from tcode RSMO.
Regards,
Srini Nookala -
Fetching data from java system
Hi All
I want to fetch the data from Java application into my SAP system how can i fetch that .
Thanks and rgards
Saurabh Khannayou need BI system to do this, need to extract data using reports.
can also do from solman ehp1.
regards
nag -
How to fetch data from bseg based on 2 internal tables in 1 select query?
hi,
i have bukrs and belnr in one internal table and bukrs and vbeln in another internal table..now if i select from bseg twice using for all entries for fields bukrs vbeln and bukrs belnr twice in 2 select statements its fine..but since bseg is a huge table i want to use select only once..but the problem is that none of the belnrs in the one internal table will have vbeln in another internal table....ie if vbeln is selected from bseg based on belnr in 1 internal table non eof those vbeln will be equal to vbeln on another internal tables..in this scenario even if i take all data from two internal tables into 1 single internal table and then use for all entries on vbeln and belnr of that table ..but i think this will not work because and AND operator will not work because no record will satisfy both vbeln and belnr conditions..even if i use OR operator if the 1st condition satisfies the select clause will not enter into the second clause and all the records will not be fetched...Please help how should i tackle this..Hi vijaya,
no simple select statement solution so far.
As BSEG is a huge table you should try to get the full key values into another internal table first.
SAP avoids direct selections from BSEG.
Pleas consider the use of one of the secondary index tables first:
BSAD : Accounting: Secondary Index for Customers (Cleared Items)
BSAK : Accounting: Secondary Index for Vendors (Cleared Items)
BSAS : Accounting: Secondary Index for G/L Accounts (Cleared Item
BSEC : One-Time Account Data Document Segment
BSEG : Accounting Document Segment
BSID : Accounting: Secondary Index for Customers
BSIK : Accounting: Secondary Index for Vendors
BSIS : Accounting: Secondary Index for G/L Accounts
you may include
BKPF : Accounting Document Header
for restrictions about time and document type.
The last step is a FOR ALL ENTRIES selection from BSEG providing the full key values.
Although you may have even more selects, the overall performance will be much better.
Regards,
Clemens -
ABAP Client proxies: extract data from the response and update Z table
Hi All,
I have following ABAP code for client proxies:
We have DT_Req, MT_Req, DT_Res, MT_Res and MI_Sync_OB (O/p Message: MT_Req, I/P message:MT_Res)
Proxy Objects generated:
ZCO_MI_SYNC_OB
ZMT_REQ
ZDT_REQ
ZDT_REQ_RECORDS
ZDT_REQ_RECORDS_TAB
ZMT_RES
ZDT_RES
ZDT_RES_RECORDS
ZDT_RES_RECORDS_TAB
ABAP Code:
REPORT ZTEST_DELETE.
DATA:
lo_history TYPE REF TO ZCO_MI_SYNC_OB,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
Structures to set and get message content
lv_history_req_mt TYPE ZMT_REQ OCCURS 0 WITH HEADER LINE,
lv_history_res_mt TYPE ZMT_RES,
lv_history_req_rec TYPE ZDT_REQ_RECORDS,
lv_history_res_rec TYPE ZDT_RES_RECORDS.
lv_history_req_rec-VLAUE = SY-DATUM.
APPEND lv_history_req_rec TO lv_history_req_mt-MT_REQ-RECORDS.
CREATE OBJECT lo_history.
TRY.
Call outbound Proxy
CALL METHOD lo_history->execute_synchronous
EXPORTING
output = lv_history_req_mt
IMPORTING
<b>input = lv_history_res_mt.</b>
Error handling
CATCH cx_ai_system_fault INTO lo_sys_exception.
SKIP 2.
WRITE:/ lo_sys_exception->errortext.
RETURN.
ENDTRY.
<b>Now I have my response data in the internable "lv_history_res_mt-MT_REQ-RECORDS" which is deep structure.
How do I extract data records (multiple) from the above internal table and update to Z table??</b>
Thanx
NavinHi Navin,
go to SPROXY, flag structure and search for your table definition. You will find a table definition a field "line" or something, where you find the right structure. Create a new structure with DATA: myStructure type tableStructure. Define a second structure type with your Ztable. Next Loop at internal table into the structure. Inside that loop fill the Zstructure. Insert the Zstrucure (Press F1 on insert to have the syntax you need)
loop at internalTable into intStructure.
zstructure-myField = intStructure-myField.
INSERT ztable FROM zstructure.
endloop.
Regards,
Udo -
Dynamically fetch data from database and display it in the report
Hi,
We have a requirement in developing a report which needs us to dynamically fetch data from the database and display it in the report.
We have a column called WORKER in the report.
For each worker there is a measure(PSA) associated with it.
In the report we have to display both the WORKER and the PSA column.
What we want is, when we display the list of the workers, the corresponding workerid_id of the worker will be passed and the value of his PSA will be fetched from the database and displayed in the report.
Or anything similar to this.
We also have drill applied on this WORKER column. So after any drill up or drill down also the value for PSA should change.
Is there any way of doing this?
Please help if possible.
Thanks,hi,
data : count type i value 0.
data : Begin of itab occurs 0 ,
plan_version like hrhap-plan_version,
APPRAISAL_ID like hrhap-APPRAISAL_ID,
AP_START_DATE like hrhap-AP_START_DATE,
AP_END_DATE like hrhap-AP_END_DATE,
AP_STATUS like hrhap-AP_STATUS,
AP_STATUS_SUB like hrhap-AP_STATUS_SUB,
OBJ_DATE_SET like hrhap-OBJ_DATE_SET,
REVIEW_DATE_SET like hrhap-REVIEW_DATE_SET,
AP_DATE_SET like hrhap-AP_DATE_SET,
AP_DATE_EARLIEST like hrhap-AP_DATE_EARLIEST,
AP_DATE_LATEST like hrhap-AP_DATE_LATEST,
CHANGE_DATE like hrhap-CHANGE_DATE,
CHANGE_TIME like hrhap-CHANGE_TIME,
CHANGE_USER like hrhap-CHANGE_USER,
end of itab.
<b>select * from hrhap into corresponding fields of table itab.</b>
loop at itab.
write :/ itab-plan_version under 'plan_version',
itab-appraisal_id under 'Appraisal Id',
itab-AP_START_DATE under 'Start Date',
itab-AP_END_DATE under 'End date',
itab-AP_STATUS under 'Status',
itab-AP_STATUS_SUB under 'Substatus',
itab-OBJ_DATE_SET under 'Objective setting date',
itab-REVIEW_DATE_SET under 'Review date set',
itab-AP_DATE_SET under 'appraisal date',
itab-AP_DATE_EARLIEST under 'Earliest appraisal date',
itab-AP_DATE_LATEST under 'Latest Appraisal date',
itab-CHANGE_DATE under 'Change Date',
itab-CHANGE_TIME under 'change time',
itab-CHANGE_user under 'change user'.
count = count + 1.
endloop.
write : 'No of records' ,count.
rgds
anver
if hlped mark points. -
RFC FM that will select data from other system
Hi ABAP Gurus,
Good day.
Do you have any documentation on how to develop RFC FM that will be able select data from tables in other SAP system that you can share with me? How about sample FMs? Thanks in advance!
Best regards.
Brando BraganzaHI Brando,
see the below Function modules which help to fetch data from another system ..
RFC_READ_TABLE " External access to R/3 tables via RFC
"this function module is used for table which is having max 40 fields and unlimited records..
RFC_GET_TABLE_ENTRIES "Read table entries unlimited fields and data
* call the FM like this
* Calling RFC to get Table entries from Destination 'AVP'
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES' DESTINATION 'AVP'
Regards,
Prabhudas
Edited by: Prabhu Das on May 12, 2009 10:52 PM -
Reading data From XML file and setting into ViewObject to Pouplate ADF UI
Hi,
I have following requirement.
I would like to read data from XML file and populate the data in ViewObject so that the data can be displayed in the ADF UI.
Also when user modifies the data in the ADF UI, it should be modified back into to ViewObject.
Here is an example - XML file contains Book Title and Author. I would like to read Book Title and Author from XML file and set it into ViewObject Attribute and then display Book title and Author in ADF UI page. Also when user modifies Book title and Author, I would like to store it back in View Object.
Please help me with this requirement and let me know if any solution exist in ADF, for populating the ADF UI screen fields with external XML file data.
ThanksRead chapter 42 http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcadvvo.htm of the fusion developer guide
Section 42.7, "Reading and Writing XML"
Section 42.8, "Using Programmatic View Objects for Alternative Data Sources"
Timo -
Wanted to fetch data from ref cursor to nested pl/sql table getting an erro
create or replace type "DEPT12" as object(dno number(2),dname varchar2(30),loc varchar2(50));
create or replace type dept_tab as table of "DEPT12"
create or replace type "LOC12" as object(locno number,loc_name varchar2(100))
create or replace type loc_tab as table of "LOC12"
create or replace type dept_loc_rec1 as object (dept_dt dept_tab,eno number,loc_dt loc_tab);
create type dept_loc_tb as table of dept_loc_rec1
create table dept_loc_tb_bk1(dept_dt dept_tab,eno number,loc_dt loc_tab)
NESTED TABLE dept_dt
STORE AS dept_tab12,
NESTED TABLE loc_dt
STORE AS loc_tab12
insert into dept_loc_tb_bk1 values(dept_tab(dept12(3,'ABD','LOC')
,dept12(4,'ABD','LOC')
,dept12(5,'ABD','LOC')),3,loc_tab(loc12(21,'AAB'),
loc12(22,'AAB'),
loc12(23,'AAB')));
when I am trying to fetch data from ref cursor to pl/sql table which i am getting an error ora-06504: pl/sql : Return types of result set variables or query do not match.
I have created a nested table of same as the nested pl/sql object table dept_loc_tb and i have declared the lv_dept_loc_tb of same dept_loc_tb but getting an above error when trying to fetch into that variable.
Please any one who can solve my problem.
declare
type cr is ref cursor;
cr_obj cr;
lv_dept_loc_tb dept_loc_tb;
begin
open cr_obj for select dept_dt,eno,loc_dt from dept_loc_tb_bk1;
fetch cr_obj bulk collect into lv_dept_loc_tb;
close cr_obj;
end;Your query selects 3 separate columns therefore requires 3 collections of corresponding types. You want to treat those 3 columns as an object of DEPT_LOC_REC1 type:
SQL> declare
2 type cr is ref cursor;
3 cr_obj cr;
4
5 lv_dept_loc_tb dept_loc_tb;
6
7 begin
8 open cr_obj for select dept_dt,eno,loc_dt from dept_loc_tb_bk1;
9 fetch cr_obj bulk collect into lv_dept_loc_tb;
10 close cr_obj;
11 end;
12 /
declare
ERROR at line 1:
ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
ORA-06512: at line 9
SQL> declare
2 type cr is ref cursor;
3 cr_obj cr;
4
5 lv_dept_loc_tb dept_loc_tb;
6
7 begin
8 open cr_obj for select DEPT_LOC_REC1(dept_dt,eno,loc_dt) from dept_loc_tb_bk1;
9 fetch cr_obj bulk collect into lv_dept_loc_tb;
10 close cr_obj;
11 end;
12 /
PL/SQL procedure successfully completed.
SQL> SY.
P.S. Discover sys_refcursor. -
How to send data from HR system to PI system
Hi All,
I need to write a program that pulls the data from HR system and pushes it to PI system.I pretty much have the logic to pull the HR data but I would like to know the steps involved in pusing the data to PI system and how much time does it take approximately
Thanks
Bala DuvvuriHi Bala,
Proxies are used to send data to the PI system.
Hence you will have to create ABAP Proxies which will extract the data and send it to the PI System.
Regards,
Samreen. -
Error while fetching data from OWB Client using External Table.
Dear All,
I am using Oracle Warehouse Builder 11g & Oracle 10gR2 as repository database on Windows 2000 Server.
I facing some issue in fetching data from a Flat File using external table from OWB Client.
I have perform all the steps without any error but when I try to view the data, I got the following error.
======================================
RA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file expense_categories.csv in SOURCE_LOCATION not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
java.sql.SQLException: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file expense_categories.csv in SOURCE_LOCATION not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:774)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:849)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1377)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:386)
at oracle.wh.ui.owbcommon.QueryResult.<init>(QueryResult.java:18)
at oracle.wh.ui.owbcommon.dataviewer.relational.OracleQueryResult.<init>(OracleDVTableModel.java:48)
at oracle.wh.ui.owbcommon.dataviewer.relational.OracleDVTableModel.doFetch(OracleDVTableModel.java:20)
at oracle.wh.ui.owbcommon.dataviewer.RDVTableModel.fetch(RDVTableModel.java:46)
at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel$1.actionPerformed(BaseDataViewerPanel.java:218)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.AbstractButton.doClick(AbstractButton.java:282)
at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel.executeQuery(BaseDataViewerPanel.java:493)
at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.init(BaseDataViewerEditor.java:116)
at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.<init>(BaseDataViewerEditor.java:58)
at oracle.wh.ui.owbcommon.dataviewer.relational.DataViewerEditor.<init>(DataViewerEditor.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1412)
at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1349)
at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1367)
at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:869)
at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:856)
at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
===========================
In the error it is showing that file expense_categories.csv in SOURCE_LOCATION not found but I am 100% sure that file is very much there.
Is anybody face the same issue?
Do we need to configure something before loading data from a flat file from OWB Client?
Any help would higly appreciable.
Regards,
Manmohan SharmaHi Detlef / Gowtham,
Now I am able to fetch data from flat files from OWB Server as well as OWB Client.
One way I have achieved as suggested by you
1) Creating location on the OWB Client
2) Samples the files at client
3) Created & Configured external table
4) Copy all flat files on OWB Server
5) Updated the location which I created at the client.
Other way
1) Creating location on the OWB Client
2) Samples the files at client
3) Created & Configured external table
4) Copied flat files on the sever in same drive & directory . like if my all flat files are on C:\data at OWB Client then I copied flat file C:\data on the OWB Server. But this is feasible for Non-Windows.
Hence my problem solved.
Thanks a lot.
Regards,
Manmohan -
How to read the data from XML file and insert into oracle DB
Hi All,
I have below require ment.
I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
Many Thanks.Sounds a lot like this question, only with less details.
how to read data from XML variable and insert into table variable
We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us. Plenty of examples abound on the forums that cover the topics you seek as well.
Maybe you are looking for
-
Making use of a cluster to render
Hi everyone, First post here! Hoping to get involved in the discussions. Anyways, I've a cluster set up with two MBP's, two new Quad Xeons, and a fairly beefed up G5. One of the MacBook's is acting as controller, with only one rendering service runni
-
Hi Experts, There is a radio button in IMG to Activate Joint Venture Accounting in SAP. I need to know if we activate this it will be activated in a single client or all the clients in the server. Please help Pratiksha
-
Cursor turns into a plus symbol cannot click on links
hp pav. dv6. does not do it all the time only on websites.
-
Searching Eclipse-Plugin for EL
Hi @all! I wanna try to write an application with EL. Actually I'm using Eclipse 2.1.1. and I'm using the Lomboz-Plugin for creating JSP-pages by Java-Code. But I've noticed this Plugin is not able to know EL. In kind of errors, no corrections will b
-
Function RSPO_IUPDATE_TSP01 how to use it!
Hi everyone, Does anybody know if this function RSPO_IUPDATE_TSP01 could help to update any record of the standar table TSP01, if so, how to use it, or which function could help me to update that table. Thanks for your time, Regards, Guillermo