Not getting data for 1 field in ODS

Hi BW Experts,
I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
Thanks,
Siva.

Thanks for the Update
1. What is your Service Pack Level?
  Service Pack is 0016
2. Are you able to see the data in PSA?
   Yes I can see the data in PSA
3. After load, are you able to see the value in New table?
   Yes i can able to see the data in New data table
4. Anywhere, are you doing the SORTING of Data Package?
   No I have not sorted the data Package.I have not written any coding on this
I have not written any coding in transformation also.
Thanks,
Siva.

Similar Messages

  • Not getting data for Null Records.

    Hi all,
    I am trying to fetch the records where  sczuo  values are NULL . 
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE makz.
    DATA : END OF itab.
    SELECT * FROM makz INTO TABLE itab WHERE sczuo IS NULL.
    IF sy-subrc EQ 0.
      LOOP AT itab.
        WRITE : /3 itab-matnr , 20 itab-sczuo.
      ENDLOOP.
    ENDIF.
    I did not getting data any data .But if i write select statement like this
    SELECT * FROM makz INTO TABLE itab WHERE sczuo = ' '.
    This select statement returns the correct data.
    why my first select statement is not working ? how can i use IS NULL?
    Thanks in Advance,
    Madhu

    Hi,
    When we insert a new field to an existing table, NULL values are automatically inserted into the new field by the system for all existing records. However NULL and SPACE are not the same. 
    The logical expression SQL condition is either "true, false, or unknown". The expression is UNKNOWN if one of the columns involved in the database contains a NULL value and such records could be retrieved by using u201CIS NULLu201D instead of SPACE. 
    Please note that the NULL value is inserted only for the existing records, by the time the new field is being inserted. For all new records, SPACE or the initial (default) value is inserted. 
    If the new field is inserted by checking the checkbox u201Cinitial valuesu201D, then the initial values (SPACE in case of characters) are automatically inserted and not the NULL values.
    ihope u get the solution...
    Thanks
    Ashu

  • After adding field to Datasource not getting data for it

    Hi All,
    I have extended the datasource 2lis_11_VASCL and added three keyfig to it.
    I have changed it accordingly in EXIT_SAPLRSAP_001 (trans. data).
    In RSA3 when i go to debug mode it is fetching correct data, But the problem is that when i check the data in the rsa3 using displaylist it is not showing newly added fields in the structure.
    I have replicated the datasource to BW here i can see newly added fields.when i ran the delta update still it is not extracting anything for newly added fields.
    I think my problem is in R/3 only coz it is not showing fields itself in rsa3 or rsa7.
    Pls. help me out.
    Regards,
    Viren.

    Hi,
    In RSA3 after you display the list choose a record and selected Choose detail(CtrlshiftF3)  and check.
    Or from the menu select >  settings > display variant  > current  and see if it is in the hidden list.
    Jaya

  • RFC not getting data from XI

    hi,
    in my scenario, XI is passing the data back to RFC, but in my program where i call the RFC, the data is not received. what could be the issue.
    CALL FUNCTION 'ZFFF' DESTINATION 'XI'
    TABLES
           INP   = aaa
           OUT1 = bbb
           OUT2  = ccc.
    COMMIT WORK.
    it was working fine before when i had only OUT1. Later I added OUT2 and then onwards I am not getting data for any of the tables. I have checked in XI, data is being passed out of XI to RFC. No issues in that.
    something seems to have gone wrong in the RFC modfication or the RFC call. can anyone please help.
    thks

    Hi,
    Check the export import parameter declarations & data types in both RFC & XI.
    Put a break point in RFC & check whether it is getting triggered.
    Best regards,
    Prashant

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • SQLloder scripts not getting generated for CLOBs

    I am trying to migrate MYSQL 3.23 database into Oracle 8.1.7 and after creating the Oracle model and after converting the MYSQL text datatype into CLOB of the Oracle model the SQLloader scripts is not getting generated for CLOB datatypes. I mean the scripts are getting created but there is no change in the script for CLOB datatype.
    The script generates the following for the table containing CLOB datatypes:
    mysqldump -h <HOST> -u <USERNAME> -p<PASSWORD> -T <DESTINATION_PATH> fields-terminated-by="<ec>" lines-terminated-by="<er>" test av_wbt_course
    Please let me know how to load data when the datatype is of CLOB ?

    I was able to resolve this issue by using OWM Oracle Migration instead of using offline method by sqlloader scripts.

  • Please do not enter data for payment method Cheque papel error in IT0009

    Hi Experts,
    Whenever i try to  maintain bank details infotype for payment type C(Check Papel),the  system is throwing error "Please do not enter data for payment method Cheque papel". As per SAP std, I had deleted the entries for bank key, bank account and bank control key and maintained IBAN field in IT0009.While saving i am getting the error""Please do not enter data for payment method Cheque papel" and I couldn't save the record.
    Then i  deleted the entries for bank key, bank account and bank control key and IBAN field also in IT0009. While saving i am getting the error "Fill in all required entry fields". System behaves  as if Iban a required field in IT0009. Our bank details infotype is country specific.We made it country
    specific through feature P0009 and setting in table T588M.As per our conf setting IBAN field is optional. Even though IBAN field is optional, this field behaves  as that of a mandatory field in IT0009.Iam  facing this issues only for a few countries like Spain,Italy etc.For other counties i am able to change of create Bank details record  for payment type C.
    I have checked in Payment Methods by Country in FBZP (Payment Method Classification is set to Check and BANK DETAILS box is unchecked) but still no solution. Do i need to check in any other setting.
    Please shed some light on this issue.Thanks in Advance.

    Hi Jobish,
    It's weird but I tried the below method and it works
    Here's what you can try in case you do not want to enter the bank details for payment method 'C'..
    Tcode FBZP - > payment methods by country - > select payment method as 'C' and make below changes (make a note of these changes as you will have to undo them after saving the table):
    a. Payment method by classification - select bank transfer
    b. Reqd master record specifications - check the bank details options and select the options which you want to be entered (a/c no required, IBAN rqd, SWIFT code rqd)
    Save the table.
    PA30- > Edit any record once again and save it.
    Again go to FBZP and undo the above changes, i.e, revert to the original entries and again save the table.
    Try editing the record now in PA30 and it allows to save. This is the second weird workaround that I have come across and still not sure why
    After above workaround, I didn't get any error while maintaining the record, for this or any pernr.
    See if it works.
    Regards
    Neha

  • CRMXIF_ORDER_SAVE IDOC not getting generated for BUS_TRANS_MSG BDOC

    Hello Experts,
    In our project, we have a requirement to send custom fields in the BUS_TRANS_MSG to external system through XIF. The model of BDOC BUS_TRANS_MSG triggering IDOC CRMXIF_ORDER_SAVE_M02 perfectly worked in the development system. We wanted to try the custom field extension in the Sandbox. So as per OSS note 916093, we have extended E101_CRMXIF_CUSTOMER_H segments with custom fields and tried generating the interfaces in BDFG transaction. While generation with IDOC CRMXIF_ORDER_SAVE_M we got an error message "Incompatible change to complex data type
    type E101CRMXIF_ISU_PRA1_X". So went about creating a custom IDOC ZZ_CRMXIF_ORDER_SAVE_M02 for message CRMXIF_ORDER_SAVE. Even for this config, the IDOC is not getting generated for the BDOCs. Lastly, configured the IDOC ZZ_CRMXIF_ORDER_SAVE_M02 to a custom function module ZZ_BDFG_IDOC_TEST_FM. The FM got generated and activated, even then the IDOC is not generated for the BDOC.
    SMOEAC config in Sandbox looks the same as the Development system. We do not the reason why IDOC is not getting generated and also the reason for error in BDFG while generating the interfaces after adding custom fields to CUSTOMER_H segment.
    Any help would be appreciated.
    Thanks,
    Partha

    Hi Partha,
    Kindly check the following thread.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?QuickLink=index&overridelayout=true
    XIF adapter
    Hope it answers your Query
    Regards,
    Srikanth.Naga

  • The table for storing data for infocube and ODS

    Hi all:
        could you please tell me how to find the table for storing data for infocube and ODS?
    thank you very much!

    Hi Jingying Sony,
    To find tables for any infoprvider go to SE11.
    In database table field enter the following
    Cube -
    Has fact table and dimension table
    For customized cube - ie cube names not starting with ' 0 '
    Uncompressed Fact table - /BIC/F<infocubename>
    Compressed fact table - /BIC/E<infocubename>
    Dimension table - /BIC/D<infocubename>
    For standard cube - ie cube names  starting with ' 0 '
    Uncompressed Fact table - /BI0/F<infocubename>
    Compressed fact table - /BI0/E<infocubename>
    Dimension table - /BI0/D<infocubename>
    Click on display.
    For DSO,
    For standard DSO active table- /BI0/A<DSO name>00.
    You use 40 for new table.
    Click on display.
    For customized DSO use- /BIC/A<DSO name>00.
    An easier way is in the database table field, write the name of the cube/DSO preceeded and followed by ' * ' sign. Then press F4 . It shall give you the names of the available table for that info provider.
    Double click on the name and choose display.
    Hope this helps,
    Best regards,
    Sunmit.

  • Not Getting Data to PSA

    Hi Experts,
    i am facing the below critical issue.
    i have enhanced 2 fields, item start date and end date to crm data source 0CRM_SRV_PROCESS _I Data Source.
    while checking data from RSA3  i have got data for those 2 fields(item start date and end date) in CRM System, but while running Infopackage i am not getting data of those 2 fields to BI PSA table.
    i got data from RSA3 in CRM Quality and Production Systems and not getting data in Quality and Production BI Systems at PSA level.
    But i am getting data in RSA3 in CRM  development system and BI Development system at PSA level.
    Means i  am facing issue only at Quality and Production BI Systems at PSA level.
    Please find below screen shots for reference:
    RSA3 Screen shot from CRM Quality System:
    PSA Screen shot from BI Quality System:
    Thanks & Regards,
    Nagaraju K

    Hi Anshu,
    i have enhanced almost 20 fields for  same  data source, among these 20 fields other date fields also there which all are getting fine in dev, qty and production systems.
    but only these 2 fields are not getting data to BI PSA level in Quality and productions systems.
    Please find below code for reference:
       if lt_service_assign is NOT INITIAL.
    READ TABLE lt_service_assign into ls_service_assign with key ITEM_GUID = ls_data-item_guid.
    if sy-subrc = 0.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-BEG_TSTMP
    IMPORTING
       EX_DATE            = lv_start_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_STARTDT = lv_start_date.
    endif.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-END_TSTMP
    IMPORTING
       EX_DATE            = lv_end_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_ENDDT = lv_end_date.
    endif.
    endif.
    endif.

  • NOT Getting Values for LOCATION...on MultiProvider REPORT

    HI All,
    I have a MultiProvider on 4 cubes.All these 4 cubes having object LOCATION. I can see data in all cubes for LOCATION. I am running a report on this MultiProvider.
    Problem:
    I am not getting Values for LOCATION. Why?
    What I did:
    I checked all location objects of all 4 cubes @ MultiProvider level .
    I didn't use any Infoprovider in Qry designer sections.
    Please suggest. What is the reason how to solve..
    THanks & Regards.
    Sri.
    Edited by: siri26 k on Dec 5, 2008 10:41 AM
    Edited by: siri26 k on Dec 5, 2008 10:41 AM

    hello,
    in the identification tab of the MP,make sure you have checked all four checkboxes across the 4 infoproviders.
    then in Listcube T-Code, select your MP,display the records based on selection inputs and see if location is populated.
    If the data is not coming in listcube, then it will not come in the Query too.
    Reg,
    Dhanya

  • Can not get data from mySql

    I prepared a GUI user connection application in NebBeans 5.5 accessing mySql database in the company server. The application run very well in desktop.
    However, when I post it to the company server web, it gets nothing from the database.
    Can any one give advice???
    Thank you in advance.
    The following is my application
    import java.util.Vector;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class UserConnection extends javax.swing.JFrame {
    //constants for database
    private final String userName = "labmanage";
    private final String password = "labmanage";
    private final String server = "jdbc:mysql://svr.corp.com/labmanage";
    private final String driver = "com.mysql.jdbc.Driver";
    private JDBCAdapter data = new JDBCAdapter(server, driver, userName, password);
    //variables
    private String user, pwd;
    private Vector<Vector<String>> userTable = new Vector<Vector<String>>();
    private Vector<String>colUserNames = new Vector<String>();
    * Creates new form UserConnection
    public UserConnection() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    userLabel = new javax.swing.JLabel();
    pwdLabel = new javax.swing.JLabel();
    userTextField = new javax.swing.JTextField();
    passwordField = new javax.swing.JPasswordField();
    submitButton = new javax.swing.JButton();
    statusLabel = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    statusTextArea = new javax.swing.JTextArea();
    changePwdButton = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setTitle("User's Connection");
    setBackground(new java.awt.Color(153, 204, 255));
    setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    setFont(new java.awt.Font("aakar", 1, 12));
    userLabel.setText("User Name:");
    pwdLabel.setText("Password:");
    submitButton.setText("Submit");
    submitButton.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    submitButtonMouseClicked(evt);
    submitButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    submitButtonActionPerformed(evt);
    submitButton.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyTyped(java.awt.event.KeyEvent evt) {
    submitButtonKeyTyped(evt);
    statusLabel.setText("Status:");
    statusTextArea.setColumns(20);
    statusTextArea.setEditable(false);
    statusTextArea.setLineWrap(true);
    statusTextArea.setRows(3);
    statusTextArea.setText("Initial assigned password is \"dime\".");
    statusTextArea.setWrapStyleWord(true);
    jScrollPane1.setViewportView(statusTextArea);
    changePwdButton.setText("Change password");
    changePwdButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    changePwdButtonActionPerformed(evt);
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .addContainerGap()
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(userLabel)
    .add(pwdLabel)
    .add(statusLabel))
    .add(35, 35, 35)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .add(submitButton)
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(changePwdButton))
    .add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
    .add(userTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE))
    .addContainerGap())
    layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .addContainerGap()
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(userLabel)
    .add(userTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(pwdLabel)
    .add(passwordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(statusLabel)
    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(15, 15, 15)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(submitButton)
    .add(changePwdButton))
    .addContainerGap(27, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    private void submitButtonKeyTyped(java.awt.event.KeyEvent evt) {                                     
    if(evt.getKeyCode() == KeyEvent.VK_ENTER) {
    submitButton.doClick();
    submitButton.requestFocus();
    changePwdButton.requestFocus();
    private void changePwdButtonActionPerformed(java.awt.event.ActionEvent evt) {                                               
    String command = evt.getActionCommand();
    if(command.equals("Change password")) {
    passwordField.setText("");
    //Get connection to the changing password panel
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new ChangePassword().setVisible(true);
    private void submitButtonActionPerformed(java.awt.event.ActionEvent evt) {                                            
    // TODO add your handling code here:
    String command = evt.getActionCommand();
    if(command.equals("Submit")) {
    user = getUser();
    pwd = getPwd();
    data = new JDBCAdapter(server, driver, userName, password);
    data.executeQuery("SELECT * FROM USERTABLE");
    colUserNames = data.getColumnNames();
    userTable = data.getDataTable();
    if(colUserNames.elementAt(0).equals("")) {
    statusTextArea.setText("Can not connect to database");
    boolean checkUser = false;
    int i = 0;
    while(!checkUser && i<userTable.size()) {
    if(user.equalsIgnoreCase((String) userTable.elementAt(i).elementAt(0))) {
    //Find the user in database
    checkUser = true;
    //Check user's password
    if(pwd.equals((String)userTable.elementAt(i).elementAt(1))) {
    //Check for initial default password. The user is requested
    //to change his password
    if(pwd.equals((String) "dime")) {
    statusTextArea.setText("You are requested to change your " +
    "initial assigned password. Click 'Change password' please.");
    else {
    //Set UserConnection Panel to invisible
    setVisible(false);
    dispose();
    //Get connection to the table
    if(userTable.elementAt(i).elementAt(2).equals("0")) {
    //Get connection to non-editable table
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    PVRackReportNonEdit rackReport = new PVRackReportNonEdit();
    rackReport.createAndShowDialog();
    else {
    if(userTable.elementAt(i).elementAt(2).equals("1")) {
    //Get connection to editable table
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    PVRackReport rackReport = new PVRackReport(user);
    rackReport.createAndShowDialog();
    //PVRackReport rackReport = new PVRackReport();
    else statusTextArea.setText("You do not get approval for viewing data. " +
    "Please contact the administrator for details.");
    else {
    passwordField.setText("");
    statusTextArea.setText("Please enter corrected password or" +
    "the administrator for details.");
    i++;
    if(!checkUser) {
    passwordField.setText("");
    statusTextArea.setText("Not find such user's name." +
    "contact the admistrator for details.");
    private void submitButtonMouseClicked(java.awt.event.MouseEvent evt) {                                         
    // TODO add your handling code here:
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new UserConnection().setVisible(true);
    public String getUser() {
    return userTextField.getText();
    public String getPwd() {
    return passwordField.getText();
    // Variables declaration - do not modify
    private javax.swing.JButton changePwdButton;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JPasswordField passwordField;
    private javax.swing.JLabel pwdLabel;
    private javax.swing.JLabel statusLabel;
    private javax.swing.JTextArea statusTextArea;
    private javax.swing.JButton submitButton;
    private javax.swing.JLabel userLabel;
    private javax.swing.JTextField userTextField;
    // End of variables declaration
    Here is my JDBCAdapter
    package rackdemo2;
    * This is an adaptor which transforms the JDBC interface
    * to the PVRackTableDialogue
    import java.util.Vector;
    import java.sql.*;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.event.TableModelEvent;
    public class JDBCAdapter {
    Connection connection;
    Statement statement;
    ResultSet resultSet;
    Vector<String> columnNames = new Vector<String>();
    Vector<Vector<String>> rows = new Vector<Vector<String>>();
    ResultSetMetaData metaData;
    public JDBCAdapter(String url, String driverName,
    String user, String passwd) {
    try {
    Class.forName(driverName);
    connection = DriverManager.getConnection(url, user, passwd);
    statement = connection.createStatement();
    catch (ClassNotFoundException ex) {
    System.err.println("Cannot find the database driver classes.");
    System.err.println(ex);
    catch (SQLException ex) {
    System.err.println("Cannot connect to this database.");
    System.err.println(ex);
    public void executeQuery(String query) {
    if (connection == null || statement == null) {
    System.err.println("There is no database to execute the query.");
    return;
    try {
    resultSet = statement.executeQuery(query);
    metaData = resultSet.getMetaData();
    int numberOfColumns = metaData.getColumnCount();
    // Get the column names and cache them.
    // Then we can close the connection.
    for(int column = 0; column < numberOfColumns; column++) {
    columnNames.addElement(metaData.getColumnLabel(column+1));
    // Get all rows.
    while (resultSet.next()) {
    Vector<String> newRow = new Vector<String>();
    for (int i = 1; i <= columnNames.size(); i++) {
    String tempString = resultSet.getString(i);
    if(!tempString.equals("null")) {
    newRow.addElement(tempString);
    else {
    newRow.addElement("");
    rows.addElement(newRow);
    //Modify dataTable to add empty row to separate chassis
    if(numberOfColumns>1) {
    int nRow = rows.size();
    Vector<String> row = new Vector<String>();
    for(int i=0; i<numberOfColumns; i++){
    row.add("");
    if(nRow>0 || numberOfColumns>0) {
    //Adding blank row to separate chassis
    int i = 0;
    while(i<nRow) {
    if(!rows.elementAt(i).elementAt(0).equals("")) {
    if(i>0) {
    rows.add(i, row);
    i++;
    nRow = rows.size();
    i++;
    close();
    catch (SQLException ex) {
    System.err.println(ex);
    public void close() throws SQLException {
    resultSet.close();
    statement.close();
    connection.close();
    // MetaData
    public Vector<String> getColumnNames() {
    return columnNames;
    public Vector<Vector<String>> getDataTable() {
    return rows;
    public int getColumnCount() {
    return columnNames.size();
    // Data methods
    public int getRowCount() {
    return rows.size();
    }

    Thank you for your answer.
    I'm very new to mySql as server. When I was assigned
    to write the application, the administrator has set
    up mySql database in the company web server for my
    application. My program runs very when using my
    workplace desktop with java web start or with java
    web start in netbeans (all paths should be link to my
    desktop hard disk, i.e. users/application/). I can
    not run the application at home because I can not
    access to the company intranet server (for security
    purpose). The problem happens when I post the
    application in the company web page (I have to modify
    all paths in jnlp file to the company web address).
    The program then runs without exception except it
    seems that it gets no data from the database (for
    example, when I type my username, it returns that
    "There is no such user name. contact.." as what I
    code in the application for not correcting user name)
    It happens for not only using my company desktop but
    also for others.
    Please help me.
    Thank you in advance.And all this could have been answered yesterday, in your other thread, when I asked you "Is the DB configured to allow that user to connect to the DB from where that user is attempting to connect from?"
    Seeing as how you get that error, the obvious answer was, "No." At which point we could have continued.
    Configure the needed users into the DB, without forgetting to allow them access from the machines from which they are going to access from.
    Although, I agree with Rene, that you should set up a server of some sort, located on the same machine as the DB, for communicating with the DB.

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Values not getting displayed for members which doesnt have parents

    Hi
    I created a product dimension with 4 levels .For members which doesnt have parents,data is not getting displayed in JavaClient.
    The values for members which doesnt have parents are getting displayed in the view created for the measures which are dimensioned by Product .I mapped the same view in the CWM2 work space ,but value is not getting displayed for members which doesnt have parents ,but values are getting displayed for members which have parents for measures.
    Is it a bug , we were able to do it in Express ..
    Can anybody help us in doing this.??
    Thnx in Advance......

    Hi,
    This assumes that the members which do not have parents are mapped to the top level in the hierarchy. If they are at a level below the top level then they are not part of the hierarchy and therefore would not be displayed. So this sounds like expected behaviour.
    Hope this helps
    BI Beans PM Team
    Oracle

  • Catalog codes not getting displayed in Field- QS41

    During my customisation activity, codes of catalog profiles are not getting displayed in SAP screen. Field for codes are showing as blank grey area in QS41 Tcode. If I try creating same codes again, system throwing error saying "key for entry is exisying already".
    Another observation is in the initial screen of QS41 if I select catalog and codes from folders all codes we can see for selection in initial screen, but same is not getting displayed in field for codes in QS41, its showing blank grey fields. Could anyone tell me what might be reason. Its happening for standard catalog profiles also.
    Could anyone tell me what might be the reason.

    Hello Vineeth,
    could you please apply note [1078292|https://service.sap.com/sap/support/notes/1078292] in your system this should resolve the discribed issue.
    Regards,
    Isabelle

Maybe you are looking for

  • How to send an object from one application to another?

    Hi all, I have two applications over the same server. The first application needs to send an object to the other application. I try to put the object as a session attribute, but in the moment that the second application tries to get the attribute, th

  • How to create a glossary ??in java

    i want to create a glossary in java ...the content on my web page is dynamically coming.....using <bean:write> tag in struts framework....... iwant that the words which exists on the web page should be hyperlinked .but this would be an overhead on th

  • PO History

    Hi ABAPers,    Can any one tell me what are the tables to be taken to display PO History. If possible can any send me a report on PO History. Its urgent.. waiting for your reply.. Thanks Kumar

  • Hot spots in an image

    I am editing a group photograph taken outdoors in the shade with a fill flash. Two of my subjects were wearing glasses and they have small but bright reflections from the flash on the rim or lens of the eyeglasses. These are literally just points of

  • Submitting responses to form central

    I created a form with Acrobat Pro.  I moved it to Forms Central.  I marked it as "open." Under the distribution tab, I downloaded it as pdf to my computer, having checked the mark to have a "submit" button.  As a trial before sending out in e-mail to