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 Khanna
you need BI system to do this, need to extract data using reports.
can also do from solman ehp1.
regards
nag
Similar Messages
-
Error MUT-02041 : While exporting the data from Java system.
Dear Friends,
When exporting data from Java system (source system) using SAPINST. We are getting
the below error in 4 of 5 (Archiving SDM Repository) stage.
Error :
MUT-02041 SDM call of createsdmkitjar ends with returncode 2
With this, I am unable to proceed further. Please help me on this to proceed further.
Thanks in advance,
regards,
SrinivasHi All,
I could find the below error log from sapinst.log file.
=============
Info: Exclude components as specified
in /usr/sap/IPD/DVD_JAVA/51033746_1/Installation_Master_6.20_6.40_05_08/IM_AIX_PPC64/SAPINST/COMMON/INSTALL/JMIG/EXCLUDE.XML
Info: Resulting JAR
file: /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
Info: No temporal directory for packing is provided. SDM home directory
will be used.
Info: Pack directory exists already. Remove it first.
Info: Start packing the components of com.gsk in
packedOrigin_com.gsk.jar
Info: Create /usr/sap/IPD/JC02/SDM/program/pack/packedOrigin_com.gsk.jarInfo: The components of com.gsk were successfully packed in
packedOrigin_com.gsk.jar
Info: Start packing the components of local in packedOrigin_local.jar
Info: Create /usr/sap/IPD/JC02/SDM/program/pack/packedOrigin_local.jar
Info: Create /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
Warning: Warning during command execution: No metadata files exist for
development
component 'revtrac_agu11'/'local'/'LOKAL'/'0.2009.08.11.10.56.14'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'revtrac_aug13eartest'/'local'/'LOKAL'/'0.2009.08.13.14.44.25'/'0'. Cannot pack this archive.
No metadata files exist for development
component 'Aug10_09'/'local'/'LOKAL'/'0.2009.08.10.14.39.29'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'Aug14'/'local'/'LOKAL'/'0.2009.08.14.10.46.38'/'0'. Cannot
pack this archive.
No metadata files exist for development
component 'Aug14two'/'local'/'LOKAL'/'0.2009.08.14.10.55.21'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'revtrac_aug11b'/'local'/'LOKAL'/'0.2009.08.13.14.36.43'/'0'.
Cannot pack this archive.
Missing archives may lead to errors after the packed SDM installation
has been extracted later.
Info: This SDM installation has been packed
to /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
To unpack this installation again,
extract /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR and invoke the
SDM command install with parameter extractpackedinst=true
Executed, but finished with warning(s). Return code: 2
Error: Executed, but finished with warning(s). Return code: 2
ERROR 2010-10-21 15:54:48
MUT-02041 SDM call of createsdmkitjar ends with returncode 2
=============
Can you please check this and help me on this to proceed further.
thanks..
Srinivas -
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. -
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 PMafter 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. -
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 -
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 -
Can two java program write to the same port by fetching data from different
can two java program write to the same port by fetching data from different ports, if yes is thing possible for a 3rd program to get all data (is there any data loss or collision)
how is this possiblecan two java program write to the same port by fetching data from different portsTwo java clients can connect to the same server port and they can both write to it. However the server will see the connections as two separate accepted sockets.
-
Fetch data from a table present in production system
Hello Gurus,
I want to get data from a table which is present on production system. And i cannot create RFC. Can anybody tell me any other way of getting the data?
Thanks in advance!!
Regards,
KumailHi,
if it's just a one time requirement to get the data from the table into an excel sheet e.g. for some error analysis or for making a development decision, why bothering with development? Just run se11 or se16 display the whole content and save it as excel sheet via the menu. This would be the fastest solution in my opinion.
If you do not have the permissions to see the table in production ask a admin or super user. Creating a program to dump data from the system you are not really allowed to see usually brings you in a lot of trouble :o).
Kind Regards
Roman -
How to fetch data from DataBase using Servlet ?
Hi all,
Till now, i was just sending values from web page and receive the data in excel format using servlets.
But, now, i want to fetch data from data base. I will be giving inputs in the web page(for the query)....ON click of submit button,
Servlet should be called.
Depending on the input, query has to be executed, and response should be sent to the user.
How to do it?
Code
import java.text.*;
import java.sql.*;
import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.OutputStream;
/** Simple servlet that reads three parameters from the html
form
public class Fetchdata extends HttpServlet
String query=new String();
String uid="ashvini";
String pwd="******";
try
Connection con=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url = "jdbc:odbc:Testing";
con = DriverManager.getConnection(url, uid, pwd);
Statement s = con.createStatement();
query = "select * from gowri.msllst1";
ResultSet rs = s.executeQuery(query);
public void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException, IOException
response.setContentType("application/vnd.ms-excel");
ServletOutputStream out=response.getOutputStream();
out.println("<HTML>" +"<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<H1 ALIGN=CENTER>" + title + "</H1>\n" +
"<table>" +" <th>ITEM Code</th>");
while(rs.next())
out.println("<tr><td>" rs.getString(1).trim()"</tr></td>");
}//end of while
out.println("</table></BODY></HTML>");
}//end of doGet method
}catch(Exception e)
System.out.println(e);
It is giving error message as:
C:\Program Files\Apache Tomcat 4.0\webapps\general\srvlt>javac Fetchdata.java
Fetchdata.java:17: illegal start of type
try
^
Fetchdata.java:48: <identifier> expected
^
2 errors
Is this format is correct? am i placing this doGet method at the right place? is my program's logic is correct?
Please help me?
Regards
AShviniThere is some mistakes in ur code.....how can try catch exists outside a function???
make use of try catch isde ur doGet method and put
Connection con=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url = "jdbc:odbc:Testing";
con = DriverManager.getConnection(url, uid, pwd);
Statement s = con.createStatement();
query = "select * from gowri.msllst1";
ResultSet rs = s.executeQuery(query);
isdie doGet method, for the time being,
i think u get me..
regards
shanu -
Swing Applet in JSP: problem with fetching data from database
i am facing a problem while fetching data from database using Swing Applet plugged in a JSP page.
// necessary import statements
public class NewJApplet extends javax.swing.JApplet {
private JLabel jlblNewTitle;
private Vector vec;
public static void main(String[] args) {
JFrame frame = new JFrame();
NewJApplet inst = new NewJApplet();
frame.getContentPane().add(inst);
((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
frame.pack();
frame.setVisible(true);
public NewJApplet() {
super();
initGUI();
private void initGUI() {
try {
this.setSize(542, 701);
this.getContentPane().setLayout(null);
jlblTitle = new JLabel();
this.getContentPane().add(jlblTitle);
jlblTitle.setText("TITLE");
jlblTitle.setBounds(197, 16, 117, 30);
jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
jlblNewTitle = new JLabel();
this.getContentPane().add(jlblNewTitle);
Vector vecTemp = getDBDatum(); // data fetched fm DB r stored here.
jlblNewTitle.setText(vecTemp.get(1).toString());
jlblNewTitle.setBounds(350, 16, 117, 30);
jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));
} catch (Exception e) {
e.printStackTrace();
}//end of initGUI()
private Vector getDBDatum() {
// fetches datum from oracle database and stores it in a vector
return lvecData;
}//end of getDBDatum()
}//end of class
in index.jsp page i have included the following code for calling this applet:
<jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
width="600" height="300">
<jsp:fallback>Could not load applet...</jsp:fallback>
</jsp:plugin>
if i view it in using AppletViewer it runs perfectly and display the data in JLabel. (ie, both jlblTitle and jlblNewTitle).(ie, DATA FETCHES FROM db AND DISPLAYS PROPERLY)
BUT IF I CLICK ON INDEX.JSP, ONLY jlblTitle APPEARS. jlblnNewTitle WILL BE BLANK(this label name is supposed to fetch from database)
EVERY THING IS DISPAYING PROPERLY EXCEPT DATA FROM DATABASE!!!
i signed the applet as follows :
grant {
permission java.security.AllPermission;
Can any body help me to figure out the problem?This is the Swing Applet java code
import java.awt.Dimension;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Vector;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.JScrollPane;
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTree;
import javax.swing.ScrollPaneConstants;
import javax.swing.SwingConstants;
public class HaiApplet extends javax.swing.JApplet {
private JLabel jlblTitle;
private JLabel jlblNewTitle;
private Vector vec;
* main method to display this
* JApplet inside a new JFrame.
public static void main(String[] args) {
JFrame frame = new JFrame();
NewJApplet inst = new NewJApplet();
frame.getContentPane().add(inst);
((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
frame.pack();
frame.setVisible(true);
public HaiApplet() {
super();
initGUI();
private void initGUI() {
try {
this.setSize(542, 701);
this.getContentPane().setLayout(null);
jlblTitle = new JLabel();
this.getContentPane().add(jlblTitle);
jlblTitle.setText("OMMS");
jlblTitle.setBounds(197, 16, 117, 30);
jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
jlblTitle.setHorizontalAlignment(SwingConstants.CENTER);
jlblTitle.setForeground(new java.awt.Color(0,128,192));
jlblNewTitle = new JLabel();
this.getContentPane().add(jlblNewTitle);
Vector vecTemp = getDBDatum();
jlblNewTitle.setText(vecTemp.get(1).toString());
jlblNewTitle.setBounds(350, 16, 117, 30);
jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));
} catch (Exception e) {
e.printStackTrace();
}//end of initGUI()
private Vector getDBDatum() {
Vector lvecData = new Vector(10,5);
Connection lcon = null;
Statement lstmt = null;
ResultSet lrsResults = null;
String lstrSQL = null;
String lstrOut = null;
try {
OmmsDBConnect db = new OmmsDBConnect();
lcon = db.connectDb();
lstmt = lcon.createStatement(lrsResults.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
lstrSQL = "select DT_ID from P_DATATABLES";
lrsResults = lstmt.executeQuery(lstrSQL);
int i = 0;
lrsResults.last();
int length = lrsResults.getRow();
System.out.println(length);
lrsResults.beforeFirst();
int recCount = 0;
while (lrsResults.next()) {
recCount++;
lvecData.addElement(new String(lrsResults.getString("DT_ID")));
// System.out.println("ID : " + lrsResults.getString(1));
i++;
}System.out.println("here 3 out fm while");
catch(SQLException e) {
System.out.print("SQLException: ");
System.out.println(e.getMessage());
catch(Exception ex) {
lstrOut = "Exception Occured " + ex.getMessage();
finally {
try {
lrsResults.close();
lstmt.close();
lcon.close();
System.out.println("[DONE]");
catch(Exception e) {
System.out.println(e);
}//end of finally
return lvecData;
}//end of getDBDatum()
}//end of classOfcourse the above code compiles and runs well. in Applet Viewer
I plugged the above Swing Applet in a JSP page index.jsp
<jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
width="600" height="300">
<jsp:fallback>Could not load applet...</jsp:fallback>
</jsp:plugin>Every thing is working fine in AppletViewer...But if i view this in any browser, then only the jlblTitle is displaying. jlblNewTitle is not displaying(this label name is actually fetching from thedatabase)
can any body help me regarding this matter.? Thx in Advance. -
How to fetch data from a SAP BW Cube via Perl/PHP on a Linux machine?
Hi all,
here's the scenario:
I need to fetch data from a cube of a remote SAP NetWeaver 7. The data will later be used in a web application based on Linux and Perl/PHP. (I'd prefer using perl for the backend and doing the business logic of the web application.)
I have:
A Linux system with all its on-board tools and scripting languages.
A user for the SAP BW which allows me to logon (very,very limited user rights, no se37,no se80,no rsaX and so on)
Access to http://<SAP BW Server>:<Port>/sap/bw/xml/soap/xmla with the above mentioned user.
My questions:
- Could you please push me into the right direction how I can realize this? E.g. by pointing to tutorials / HowTos / sample code / CPAN modules etc.. (Most information I found so far referred to software based on a different operating system and on remote function calls using custom functions.)
- I'm aware of the SAPNW::RFC CPAN module, but do I necessarily have to perform a remote function call? ( If so, is there a "standard" function I could call for accessing a cube?)
Thanks a lot in advance!You can take through the RFCS .check for some system function modules...but why do you need to route it through XI?How huge z the files?
-
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 fetch data from Mysql with SSL.
I am using jdk1.5 and mysql 5.0.
How to fetch data from Mysql with SSL
I am using url = jdbc:mysql://localhost/database?useSSL=true&requireSSL=true.
It shows error. how to fetchI have created certificate in mysql and checked in mysql.
mysql>\s
SSL: Cipher in use is DHE-RSA-AES256-SHA
but through ssl how to fetch data in java. -
Using Inbound IDOC from Java system creation of Outbound delivery
Dear Experts,
The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
The scenario is,
After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
Now Query is,
1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
Thanks in advance for the replies I am going to get
Regards,
VELThanks for the feedback. This question is resolved
-
Outbound delivery creation with inbound IDOC transfer from Java system
Dear Experts,
The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
The scenario is,
After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
Now Query is,
1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
Thanks in advance for the replies I am going to get
Regards,
VELDidn't get any feedback from experts for long time. So we are closing the question
Maybe you are looking for
-
Sunone console not opening after upgrade from DS5.2 patch 3 to patch 4
Hello, The Sunone Console is not opening when i upgrade from Directory server 5.2 patch 3 to patch4. I getting the following error message "error 501 Cannot logon because of an Incorrect userid,incorrect password or directory problem" can u please gu
-
Hi, Normally, the output of a 'WRITE' statement is written to the spool when the program is run in background. Currently I am running a report in CRM and the output is NOT being written to the spool. Can you please guide me on this if anyone has face
-
Lining up text in inDesign document
This is something I really should have learned quite some time ago , but rather than doing that I have just worked my way around it. In a newsletter or whatever type of document (InDesign, CS3, PC), I often have the problem where the text does not li
-
Release Strategy for PO not kicking in
Hello SAP Experts, I have gone through all the steps of configuring release strategy for PO. I checked at the end with the transaction code OMGSCK and everything is good with no error. But when I test the strategy by creating a PO, the 'Release Strat
-
Using Desktop Filter IDs with WPC Content
Hi All- I'm migrating our 7.0 WPC content to Portal 7.31 and have run into an issue with one of our roles. We have a desktop that uses Filter IDs to control the entry points. When I create a connection to a WPC area inside this role, and add the filt