PI 7.1 Java Tables
Hi all
I want to get the table where the file names are stored for the messages?
I tried BC_MSG and BC_MSG_AUDIT but can find the file name.
Anyone know where this is stored?
Regards
Here you can find complete list of tables:
http://wiki.sdn.sap.com/wiki/display/XI/XI+Tables
Java table are stored obviously in java stack.
Similar Messages
-
How to access the data stored in Java tables in E-Commerce 7.0
For the CRM E-Commerce 7.0 Web shop all the data related order templates, Shop Id and catalog variants are not getting stored in CRM tables. Can anyone please let us know where all the details are getting stored.
By searching here, in SDN Forum we found that these details are getting stored in some java tables. If this is true kindly let us know the following points.
1). How can we access these tables.
2).Where these java tables are stored .
3).Do we have authorizations to check and modify these tables.
4).If we donu2019t have authorizations to check and modify these tables, how can we get the access to them.
4).How can we write Database Queries to retrieve the data from these tables.I am afraid, all these three entities are in CRM tables.
Web Shops - Function module CRM_ISA_SHOP_GETLIST, Table crmm_isa_shop_h
Catalog Variants - Function module - COM_PRDCAT_GET_VARIANTS (they are also stored in CRM tables) for a given catalog.
Now for the Order Templates - They are technically order objects with system status set to "Order Template" I1034. You should be able to see them in CRM tables alongwith other orders... crmd_orderadm_h and etc... -
Accessing Java tables of XI within GUI/Java mapping
Hi,
I am looking for a way to access tables of a java dictionary within java/GUI mapping. Specifically, if it is possible some simple API to access java tables within user-defined functions.
I know you can access tables via JDBC/RFC lookups. But, this way more applies to external to SAP XI tables. Is there a more simpler way to access java native tables inside SAP XI.
Thank you in advance,
Dmitriy MindichHi Stephan,
I agree that first case should not be implemented. But, I would like to disagree on the second case. I am not talking about storing application data, but interface-related intformation, such is file generation id or date generation. This information is interface-specific, and unfortunately XI does not provide a way to store persistent variables inside XI.
There are a couple of options:
1. Use SEEBURGER's functionality. Unfortunately, I dont have the need to use EDI functionality of SAP, thus I dont want to buy SEEBURGER's license.
2. Use ABAP Mapping and store it inside tables inside ABAP-stack. However, as I said before this step would be performance intensive for me, since the majority of mapping in my case is done in Java/GUI mapping.
Based on these cases, I was thinking there should be an easier way to store/retrieve interface related information inside XI tables. And, since most of my mappings are Java-based, I was thinking I can use Java-stack to store persistent variables.
Would you agree, Stephan?
Regards,
Dmitriy Mindich -
9i Web Agent Error when displaying Java Table/Graph
Hi,
I am in the process of upgrading a Express 6.3.4 Web Agent database app to 9i.
I have been able to import the databases correctly, under the OOWAAPP schema.
On my app when ever I go to a page to display a Java Table I get the following error:
oracle.olap.webAgent.express.OWAException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML><HEAD><TITLE>Oracle OLAP Web Agent</TITLE></HEAD><BODY bgcolor="#FFFFFF"><P><img src="/oowa-install/sample/wabanner.gif" alt="Oracle OLAP Web Agent"></p><P><STRONG>An error occurred in the Oracle OLAP Web Agent</STRONG></p><STRONG>ORA-33272: (DBERR06) Analytic workspace IADSSDEMO.OOWASEL cannot be opened.
ORA-01950: no privileges on tablespace 'IADSS'
ORA-06512: at "SYS.DBMS_AW", line 18
ORA-06512: at line 1
</STRONG><P><!--<STRONG>Click <A HREF="/oowa-install/help/en/owacauseaction.html#ORA-33272: (DBERR06) Analytic workspace IADSSDEMO.OOWASEL cannot be opened.
ORA-01950: no privileges on tablespace 'IADSS'
ORA-06512: at SYS.DBMS_AW", line 18
ORA-06512: at line 1
">here</A> to display information about potential causes for this error and about potential resolutions for the problem.</STRONG>--></p></BODY></HTML>
The UserID I am logged in as is IADSSDEMO. While the AW are in the OOWA schema, I have forced them to use a tablspace of IADSS.
The Page has some option/selectors followed by a java table.
Any ideas?
Regards,
Imran Shah
Ioppolo & AssociatesThis forum is for Warehouse Builder related issues. Your question is better suited for the OLAP forum:
OLAP -
Accessing Java tables e.g CRM_ISA_ADDRESS
Hi Experts,
I wanna go through the data stored in the follwoing tables to see what kind of data is stored for a particular order template. Could someone please tell me as how can i access these tables or the data stored in these tables ?
CRM_ISA_ADDRESS
CRM_ISA_BASKETS
CRM_ISA_BUSPARTNER
CRM_ISA_ITEMS
CRM_ISA_OBJECTID
CRM_ISA_SHIPTOS
CRM_ISA_TEXTS
Thanks,
GaganHi All,
I have a similar requirement of accessing the java tables. In our system we have oracle as the database.
But i am unable to find the tables specified above.
And one more thing is that how can we get data from these tables.
Should we write any sql query statements to retrive this data.
regards,
Venkatsaini -
Horizontal scroll in webdynpro java table
Hello,
I have a webdynpro java application in which i have a table with 15 columns. I have set the scrollableColCount property of the table to 5.
Now on click of some link(LinkToAction), i want to scroll horizontally to column 8. Can i do this from the program?
Please help me with the code.
Thank you,
NavyaDear navya,
IWDTable table = (IWDTable)view.getElement("TableName");
table.setFirstVisibleScrollableCol("columID");
here table name is your tablename , and columnID is your 8th Coulmn name
what you can do is create an attribute of type IWDTable in context , and set your table id to it in view
wdDoModifyView() method
if(firstTime)
wdContext.current**********Element().set******TablelID((IWDTable)view.getElement("TableName"));
onActionLink() // which is binded to your linktoAction UI Element
wdContext.current**********Element().get******TablelID.setFirstVisibleScrollableCol("columID");
Regards
Govardan -
I'm trying to use a Jtable to display a Table from a MySQL database....
But i keep getting an error, and dunno where i'm going wrong.
Here is my code:
import java.sql.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class IPgroep extends JFrame {
private Connection connection;
private JTable table;
public IPgroep() throws
ClassNotFoundException,
SQLException,
IllegalAccessException,
InstantiationException
String url = "jdbc:mysql://localhost/IPMAN";
String username = "";
String password = "";
try {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
connection = DriverManager.getConnection(
url, username, password );
catch ( ClassNotFoundException cnfex ) {
System.err.println(
"Failed to load JDBC/ODBC driver." );
cnfex.printStackTrace();
System.exit( 1 );
catch ( SQLException sqlex ) {
System.err.println( "Unable to connect" );
sqlex.printStackTrace();
getTable();
setSize( 450, 150 );
show();
private void getTable()
Statement statement;
ResultSet resultSet;
try {
String query = "SELECT * FROM ip WHERE ip.NetwerkAdres = '213.10.15.15'";
statement = connection.createStatement();
resultSet = statement.executeQuery( query );
displayResultSet( resultSet );
statement.close();
catch ( SQLException sqlex ) {
sqlex.printStackTrace();
private void displayResultSet( ResultSet rs )
throws SQLException
boolean moreRecords = rs.next();
if ( ! moreRecords ) {
JOptionPane.showMessageDialog( this,
"ResultSet contained no records" );
setTitle( "No records to display" );
return;
setTitle( "IPTOTAL table from IP" );
Vector columnHeads = new Vector();
Vector rows = new Vector();
try {
ResultSetMetaData rsmd = rs.getMetaData();
for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
columnHeads.addElement( rsmd.getColumnName( i ) );
do {
rows.addElement( getNextRow( rs, rsmd ) );
} while ( rs.next() );
table = new JTable( rows, columnHeads );
JScrollPane scroller = new JScrollPane( table );
getContentPane().add(
scroller, BorderLayout.CENTER );
validate();
catch ( SQLException sqlex ) {
sqlex.printStackTrace();
private Vector getNextRow( ResultSet rs,
ResultSetMetaData rsmd )
throws SQLException
Vector currentRow = new Vector();
for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
switch( rsmd.getColumnType( i ) ) {
case Types.VARCHAR:
currentRow.addElement( rs.getString( i ) );
break;
case Types.INTEGER:
currentRow.addElement(
new Long( rs.getLong( i ) ) );
break;
default:
System.out.println( "Type was: " +
rsmd.getColumnTypeName( i ) );
return currentRow;
public void shutDown()
try {
connection.close();
catch ( SQLException sqlex ) {
System.err.println( "Unable to disconnect" );
sqlex.printStackTrace();
public static void main( String args[] ) throws
ClassNotFoundException,
SQLException,
IllegalAccessException,
InstantiationException
final IPgroep app = new IPgroep();
app.addWindowListener(
new WindowAdapter() {
public void windowClosing( WindowEvent e )
app.shutDown();
System.exit( 0 );
and here is my error:
Type was: CHAR
Type was: CHAR
Type was: CHAR
Type was: CHAR
Type was: CHAR
Type was: CHAR
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: 6 >= 6
at java.util.Vector.elementAt(Vector.java:417)
at javax.swing.JTable$1.getValueAt(JTable.java:415)
at javax.swing.JTable.getValueAt(JTable.java:1711)
at javax.swing.JTable.prepareRenderer(JTable.java:3530)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:995)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:917)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:858)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:398)
at javax.swing.JComponent.paint(JComponent.java:739)
at javax.swing.JComponent.paintChildren(JComponent.java:523)
at javax.swing.JComponent.paint(JComponent.java:748)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintChildren(JComponent.java:523)
at javax.swing.JComponent.paint(JComponent.java:748)
at javax.swing.JComponent.paintChildren(JComponent.java:523)
at javax.swing.JComponent.paint(JComponent.java:748)
at javax.swing.JComponent.paintChildren(JComponent.java:523)
at javax.swing.JComponent.paint(JComponent.java:748)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:546)
at javax.swing.JComponent.paintChildren(JComponent.java:523)
at javax.swing.JComponent.paint(JComponent.java:719)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:
54)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91
at java.awt.Container.paint(Container.java:963)
at sun.awt.RepaintArea.paint(RepaintArea.java:298)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:199)
at java.awt.Component.dispatchEventImpl(Component.java:2665)
at java.awt.Container.dispatchEventImpl(Container.java:1216)
at java.awt.Window.dispatchEventImpl(Window.java:918)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:134)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
Thanx in advancecase Types.VARCHAR:
currentRow.addElement( rs.getString( i ) );
break;
case Types.INTEGER:
currentRow.addElement(
new Long( rs.getLong( i ) ) );You're getting a type mismatch error.
For example, rs.getString() would return String. No ? Why VARCHAR ?
and rs.getLong() would get Long, not integer. right ?
Your error is here. I wish I could tell you more. -
Regarding Copying of Data From Excel file to Web Dynpro Java Table
Hi
Can any body give Suggestions that is how to copy or import Row and Column Values in the Excel file to the Java Web Dynpro Table
Regards
Chandran SHi,
First u should include jxl.jar API in ur classpath.
ind a Resource variable to FileUpload UI. Then from the Fileupload UI, u can get the Sheet variable as
InputStream fis=wdContext.currentFileUploadElement().getResource().read(true);
Workbook wb=Workbook.getWorkbook(fis);
Sheet sh=wb.getSheet(0);
This can be easily read to a table by
for(int i=14;i<34;i++)
String bId=sh.getCell(2,i).getContents();
String cId=sh.getCell(3,i).getContents();
String subj=sh.getCell(4,i).getContents();
IPrivate<View>.I<Table>Element el=wdContext.node<Table>().create<Table>Element();
wdContext.node<Table>().addElement(el);
el.setBID(bid);
el.setCID(cid);
el.setSUB(subj);
This example reads the excel from row 13 to 32 and column 3 to 5 and uploaded to a table
Regards
Fahad Hamsa -
Webdynpro java table didn't working correct on Blackberry mobile simulator
Hello,
I am using BlackBerry Simulator 9630 the application developed using webdynpro java AS 7.00 sp 17
In the table I am using check box to select rows.
but when the application rendered the table , using button to select / de-select rows, I can't see the result on the context node
(It is mark as selected on the simulator).
I also can't get the lead selection when using link to action event from the table.
I am using full domain name and also sap-wd-client = WmlClient.
Thanks in advance for the help.
NirHi Nir,
This parameter (WmlClient) generates an output wml. Default this output is no longer used or recommended. Opt for the Blackberry OS 5.x and do not use render parameters, or try with the parameter Pie03Client.
regards,
Angelo -
ALV Functionality in WD Java Tables
Hi experts,
I need to include standard ALV functionality on a table in WD Java. I have to be able to change and save layouts, Sort, Filter table, calculate totals on integer columns etc.
Is there any standard method to do so?
Any help or suggestions on how do I go about doing this?
Regards,
Reema.Hi Reema,
Please go through following link.
/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities
Regards,
Ganga. -
Displaying the ResultSet from and sql database into a java Table in the sam
i seriously need help in displaying the contents of my sql database into a table im my java application when someone types a query into a field provided..
thanks guys !!What kind of help do you need.
Are you stuck at some point of your code?
Is you code not working?
Or do you want us to write the code? -
Hi
Does anyone have a code sample for JTable, i need to have following functions
1, This table has only 1 column
2, When user double clicks on row, he must be able to edit, with maximum length of 60 characters
3, A button which the user can click to say add row, this will add a emply row and user can double click to edit it
4, When user clicks on apply button, read all the rows and get the data from there and update a database
Any help would be appreciated
AshishHi
I have this code, but after i add new row, i am not able to edit the new row, any suggestion to get it working
import java.util.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.event.*;
public class TestAddRowInTable extends JFrame
private JTable table;
private MyModel model;
private Vector allData;
public TestAddRowInTable()
super("my Table");
buildData();
Container cont = this.getContentPane();
cont.setLayout(new BorderLayout());
cont.add(getTablePane(), BorderLayout.NORTH);
cont.add(getButtonPanel(), BorderLayout.SOUTH);
this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
this.setSize(550,400);
this.show();
private JScrollPane getTablePane()
table = getTable();
JScrollPane scrollPane = new JScrollPane(table);
table.setPreferredScrollableViewportSize(new Dimension(550, 310));
scrollPane
.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
scrollPane
.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
return scrollPane;
private JTable getTable()
Vector header = new Vector();
header.add("Notes");
model = new MyModel(allData, header);
JTable table = new JTable(model);
table.getTableHeader().setReorderingAllowed(false);
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
for (int i = 0; i < model.getColumnCount(); i++)
TableColumn column1 = table.getColumnModel().getColumn(i);
switch (i)
case 0:
column1.setPreferredWidth(530);
column1.setCellEditor(new JTextFieldEditor(new JTextField(60)));
continue;
return table;
private JPanel getButtonPanel()
JPanel buttonPanel = new JPanel();
buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
buttonPanel.setPreferredSize(new Dimension(550, 30));
JButton addButton = new JButton("Add Row");
JButton changeButton = new JButton("Apply");
addButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
model.addRow(new Vector());
buttonPanel.add(addButton);
buttonPanel.add(changeButton);
return buttonPanel;
class JTextFieldEditor extends DefaultCellEditor implements ItemListener
JComponent component;
int row, column;
public JTextFieldEditor(JTextField textField)
super(textField);
component = textField;
public Component getTableCellEditorComponent(JTable table,
Object value, boolean isSelected, int row, int column)
this.row = row;
this.column = column;
((JTextField) component).setText(value.toString());
return component;
public Object getCellEditorValue()
Vector data1 = (Vector) allData.get(row);
data1.set(column, ((JTextField) component).getText());
return ((JTextField) component).getText();
public void itemStateChanged(ItemEvent e)
super.fireEditingStopped();
class MyModel extends DefaultTableModel
public MyModel(Vector allData, Vector header)
super(allData, header);
public Object getValueAt(int row, int col)
// if (row==0)
// return prop_names[row];
return super.getValueAt(row,col);
public boolean isCellEditable(int row, int col)
// if (col==0)
/// return false;
return true;
private void buildData()
allData = new Vector();
Vector data = new Vector();
data.add("This is note one");
allData.add(data);
public static void main(String args[])
new TestAddRowInTable();
} -
Java table applet drawing blank screen
Hi,
I got a simple table applet which is supposed to show the table in accordance with the specs set in the applet. However, when I am running this applet it is showing blank gray screen. Cannot figure out where the problem is. Any help is appreciated in advance. Thanks.
THE CODE:
// Imports
import java.awt.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.applet.*;
import javax.swing.border.*;
public class SimpleTable extends Applet {
private JPanel topPanel;
private JTable table;
private JScrollPane scrollPane;
public void init()
setSize( 300, 200 );
setBackground( Color.gray );
//Create a panel to hold all other components
topPanel = new JPanel();
topPanel.setLayout( new BorderLayout() );
// Create columns names
String columnNames[] = { "Column 1", "Column 2", "Column 3" };
// Create some data
String dataValues[][] =
{ "12", "234", "67" },
{ "-123", "43", "853" },
{ "93", "89.2", "109" },
{ "279", "9033", "3092" }
// Create a new table instance
table = new JTable( dataValues, columnNames );
// Add the table to a scrolling pane
scrollPane = new JScrollPane( table );
topPanel.add( scrollPane, BorderLayout.CENTER );
}You forgot to add your topPanel to the applet.
-
Problem about java table.help me
i have two pages.one pages i enter the data and another page i use a table where it shows me the enter information.But when i enter the data it successfully enter access database.but it does not show me in the table.if i set a button to table page for refreah then it refresh and show me data successfully othereise it does not work.My question is if i enter data it automaticaly refresh table page how .please help me .
Are these webpages you are talking about? If the second page is accessed after the first page updates the database and there is code in the second page to access the db, the data should be visible. Explain more clearly if this is not what you mean.
-
Uploading CSV File into Web Dynpro Java Table and Write back to a Database
Hi Gurus!
I would like to upload a csv file and read the content into an UI table element.
Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.
could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.
thanks in advance.
farid
ps. helpfull answers will be rewarded with points!Hi ,
have look at this blog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
Have a look at this links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929.
Re: Popup Internal Window - data type IWDWindow not available
Regards,
krishna.
Maybe you are looking for
-
How can I add the status and profile picture features on an account that was created before iOS 5?
-
Charts: Excel vs. HTML DB
Looking at material like http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=390 and in general http://peltiertech.com/Excel/Charts/ one realizes that Excel's charting feature are light years ahead of anything else out there in the market. T
-
Hi, i find following error when i use exchange mail flow trouble shooter we have exchange 2010 sp1 5.7.1: The sender isn't authorized to send e-mail messages to this e-mail address. The possible reasons for this are: 1)The session isn't authenticate
-
HT1338 PLEASE HELP. IOS 6.0.1 problems for iPhone 4!
My phone will not update. I click "install now" and I agree to the agreement and it checks for verification. It then says "IOS 6.1 failed to update because you are no longer connected to the internet" but my phone shows full wifi? PLEASE HELP.
-
I lost my remote so downloaded the remote app onto my ipad, but unfortunately doesn't connect automatically. It says I have to disconnect the remote by accessing the Apple TV by the remote which I have lost. HELP.