Re: Problems with pulling data from database

OK, I figured it out I believe.
In the second recordset called rsEligibility, I dimmed it,
then set
rsEligibility_svuserid= "0". and then put in an if statement.
In IIS 5 it
worked, but not in IIS6. What I had to do was take out the
part that set
rsEligibility_svuserid="0" and leave it as such without first
setting it to
zero:
<%
Dim rsEligibility__svuserid
if (Session("UserID") <> "") then
rsEligibility__svuserid =
Session("UserID")
%>
My question is why did I have to change it when I switched
over to IIS 6???
Wierd.
I had this:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/connNewdatabase.asp" -->
<%
Dim rsClients__svuserid
rsClients__svuserid = "0"
if (Session("UserID") <> "") then rsClients__svuserid =
Session("UserID")
%>
<%
set rsClients = Server.CreateObject("ADODB.Recordset")
rsClients.ActiveConnection = MM_connNewdatabase_STRING
rsClients.Source = "SELECT * FROM CLIENTSW WHERE CASENUM=" +
Replace(rsClients__svuserid, "'", "''") + " ORDER BY CASENUM"
rsClients.CursorType = 0
rsClients.CursorLocation = 2
rsClients.LockType = 3
rsClients.Open()
rsClients_numRows = 0
%>
<%
Dim rsEligibility__svuserid
rsEligibility__svuserid = "0"
if (Session("UserID") <> "") then
rsEligibility__svuserid =
Session("UserID")
%>
<%
set rsEligibility = Server.CreateObject("ADODB.Recordset")
rsEligibility.ActiveConnection = MM_connNewdatabase_STRING
rsEligibility.Source = "SELECT * FROM ELIGIBILITY WHERE
CASENUM=" +
Replace(rsEligibility__svuserid, "'", "''") + " ORDER BY
CASENUM"
rsEligibility.CursorType = 0
rsEligibility.CursorLocation = 2
rsEligibility.LockType = 3
rsEligibility.Open()
rsEligibility_numRows = 0
%>

Hi,
    Create one generic Datasource based on Function Module, and use MDX of that Query in Function module. and upload the data into cube by using that Datasource.
About MDX, there are lots of threads available, you can take refrence of that.
regards,

Similar Messages

  • 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.

  • UNIQUE Problem in pulling DATA from DATA base table to internal table

    Dear Experts,
    I am new to ABAP. I have a very basic question but looks a quite puzzling one to me. Hemnce I am posting it here.
    I am facing an unique problem in pulling data from database table and populating that data into internal table for further use.
    The data in the database table "Zlt_mita" with fields M1 (Employee Name, Type: Char20) and M2 (Employee Code, Type Char7) are:
    Plz refer the screenshot in the attached file:
    My Code:
    1) When I try to pull data from Dbase table by taking M2 as parameter.
         This code is succcessful and I am able to populate data in internal table it_dat.
    TYPES: Begin Of ty_DAT,
                     M1   TYPE  Zlt_mita-M1,
                     M2   TYPE  ZLT_mita-M2,
                 END  OF  ty_DAT.
    DATA: it_dat        TYPE STANDARD TABLE OF ty_dat with header line,
              wa_dat      TYPE   ty_dat.
    PARAMETERS: p_mitar    TYPE  Zlt_Mita-M2.
    SELECT           M1
                           M2
            FROM     ZLt_mita
            INTO       TABLE it_dat
            Where     M2 = p_mitar.
    Loop at it_dat into wa_dat.
       WRITE:/2 wa_dat-M1,
                  10 wa_dat-M2.
    ENDLOOP.
    2) When I try to pull data from Dbase table by taking M1 as parameter.
         This code is NOT succcessful and I am NOT able to populate data in internal table it_dat.
    TYPES: Begin Of ty_DAT,
                     M1   TYPE  Zlt_mita-M1,
                     M2   TYPE  ZLT_mita-M2,
                 END  OF  ty_DAT.
    DATA: it_dat        TYPE STANDARD TABLE OF ty_dat with header line,
               wa_dat      TYPE   ty_dat.
    PARAMETERS:    P_Mita    TYPE   ZLT_Mita-M1.
    SELECT           M1
                           M2
            FROM     ZLt_mita
            INTO       TABLE it_dat
            Where     M1 = P_Mita.
    Loop at it_dat into wa_dat.
       WRITE:/2 wa_dat-M1,
                 10 wa_dat-M2.
    ENDLOOP.
    Why is this happening when both M1 and M2 are Type Character fields.
    Looking forward for your replies.
    Regards
    Chandan Kumar

    Hi Chandan ,
    Database fetch is case sensitive ,So u need to give exact format in where condition.
    Make your parameter and database in same case so that you need not worry about case sensitivity .
    Check the lowecase check box in the domain .
    Then declare your parameter 
    PARAMETERS:
    P_Mita
    TYPE   ZLT_Mita-M1 LOWER CASE . 
    You can do the vice versa also by unchecking lowercase and giving Upper case instead of lower in parameter declartion .
    Regards ,
    Juneed Manha

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • I am facing a Problem with reading images from database

    Hi everybody..
    any help will be most appreciated, I am facing problem with reading images from database. I am pasting my code... 
                    string connect = "datasource = localhost; port = 3306; username = root; password = ;"; 
                    MySqlConnection conn = new MySqlConnection(connect); // creating connecting string
                    MySqlCommand sda = new MySqlCommand(@"select * from management.add_products ", conn); //creating query
                    MySqlDataReader reader; 
                    try
                        conn.Open(); // Opening Connection
                        reader = sda.ExecuteReader(); // Executing my Query..
                        while (reader.Read())
                            byte[] imgg = (byte[])(reader["Picture"]);
                            if (imgg == null)
                                pc1.Image = null;
                            else
                                MemoryStream mstream = new MemoryStream(imgg);
                                pc1.Image = System.Drawing.Image.FromStream(mstream);
    It says Parameter not Valid... i am reading all the images from database

    I agree with Viorel. You are getting the error because the format of the data is incorrect probably because the data was modify. It may not be the reading of the database the is incorrect, but the application that wrote the data into the database. You need
    to compare the imgg array data with the data before it was written to the database to see if the data matches.  I usually start by comparing the number of bytes which is easier to check then compare the actual to isolate which function is changing the
    byte count.
    An image is binary data.  The standard VS methods for reading and writing data (usually stream classes) default to ASCII encoding which will corrupt binary data.  The solution usually is to use UTF8 encoding instead of the default ascii encoding. 
    Ascii encoding with stream often aligns the data and adds extra null bytes to the end of the data which can produce these type errors.
    jdweng

  • Question on pulling data from database

    I have a question. I have one form in designer and i need to extract data from database. database is in sequel. any help on how do i do this or how can i do this?

    If you use a process to interact with the database, this recent thread is very related and would be helpful:
    http://www.adobeforums.com/webx/.59b639e7/0
    scott

  • Problem with upload data from CRM to BI system

    When I try to perform full upload data from CRM to BI system with data source 0BPARTNER_ATTR (active version: Excutable). I waited for a long time but there are not any records were transfered (total records need to upload are 130) . I checked the log and can't find any errors.
    Pls help me solve this problem.
    Thanks and regard

    Hi,
    on the next day, the process finished with status not success.
    The detail errors is:
    Extraction(messages): Missing messages
              Missing message: Request received
              Missing message: Number of sent records
              Missing message: Selection completed
    Transfer (IDocs and TRFC): Errors occurred
              Data package 1: arrived in BW; Processing: Selected number does not agree with transferred n
              Request IDoc: Application document posted
              Info IDoc 2: sent, not arrived; Data passed to port OK
              Info IDoc 1: sent, not arrived; Data passed to port OK
              Info IDoc 3: sent, not arrived; Data passed to port OK
              Info IDoc 4: sent, not arrived; Data passed to port OK
    However, the data has been uploaded to infoobject. Pls explain to me about this error and why the data can be uploaded with this error.
    Regard

  • Problem with uploading data from excel using BDC for tcode f-02

    Hi All,
    I am uploading data from excel using BDC for tcode f-02. The problem here is, while recording, the values of some fields are recording twice. I dont know why it's happening so. But if I run my abap program, I have to give those fields twice in my excel sheet. Otherwise data does not upload. But it is not the feasible way. We must give those fields once in excel. Please tell me, how I can solve the issue.
    With regards,
    Rosaline.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • JTable will not refresh with new data from database

    Hi,
    I have a JTable that does not recoginzed when the data has changed. The table is dynmaically populated with data from the database using a table model.
    Please help!!
    public JTable getUpdateContractTable() {
    QueryTableModel model;
    String [] dlrs = getSelectedDealers();
    String [] stats = getSelectedStatuses();
    String sql = buildContractQuery(dlrs, stats);
    try {
    if(isContractSet) {
    model = new QueryTableModel();
    model.setQuery(sql);
    table.setModel(model);
    table.setColumnModel(new UpdtCtrctColumnModel());
    table.invalidate();
    table.repaint();
    //model.fireTableChanged(new TableModelEvent(model));
    else {
    model = new QueryTableModel();
    UpdtCtrctColumnModel column = new UpdtCtrctColumnModel();
    model.setQuery(sql);
    table = new JTable(model, column);
    table.createDefaultColumnsFromModel();
    table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    model.fireTableChanged(null);
    isContractSet = true;
    catch (Exception e) {
    System.out.println(e.getMessage());
    //JOptionPane.show
    //.showMessageDialog("Error: " + e.getMessage(),
    // "Click Ok",
    // JOptionPane.INFORMATION_MESSAGE);
    return table;
    }

    thank you for your help. i finally got it to refresh. i have a follow-up question if you don't mind answering it. i have 2 jtables where one depends on the other. when i do a refresh i want the other table to disappear, so i call the getContentPane().remove(component), but the table doesn't disappear. what should i do.
    anthony

  • Problem with downloading data from cube into flatfile

    Hi,
    I am writing a program to download data from cube into flatfile .The program will be run in the background with user has given his selection in a table.the program works fine .The current problem which i am facing is the character length.e.g. Material is 18 ..but in my dynamic internal table it store the value of material with length of 10 character.
    So i am not able to see the output material in correct format.Anybody knows how to change this format.
    thanks in advance
    Yogesh Mali

    Hi Yogesh,
    Theorethically, you can setup the material code length in TX OMSL, which uses the TMCNV table.
    Why don't you change the structure of your internal table changing material fiela length from 10 to 18?
    Best regards,
    Eugene

  • Problem with reading data from screen and inserting in table

    hi ther,
    im new to abap-webdyn pro. can anyone suggest how to read data from screen and insert into table when press 'ADD' button.
    i done screen gui , table creation but problems with action. what the content of acton add.
    is ther any link that helps me or tut??
    thankx in advance!
    regards

    Hi,
    Create a context node for the screen fields for which you want to enter the values with cardinality 1.1.....
    Now in the layout of your view bind the screen input fields to that context node(attributes) to the value property of the input fields...
    Now in the action of ADD button....
    --> go the wizard and select the read node button and select the node which you have created it generates the auto code for you.....
    for example if the node is contains aone attribute like MATNR
    reading the node from wizard will generate the code as....
    DATA lo_nd_matnr TYPE REF TO if_wd_context_node.
      DATA lo_el_matnr TYPE REF TO if_wd_context_element.
      DATA ls_matnr TYPE wd_this->element_matnr.
      DATA lv_matnr TYPE wd_this->element_matnr-matnr.
    * navigate from <CONTEXT> to <MATNR> via lead selection
      lo_nd_matnr = wd_context->get_child_node( name = wd_this->wdctx_matnr ).
    * @TODO handle non existant child
    * IF lo_nd_matnr IS INITIAL.
    * ENDIF.
    * get element via lead selection
      lo_el_matnr = lo_nd_matnr->get_element( ).
    * @TODO handle not set lead selection
      IF lo_el_matnr IS INITIAL.
      ENDIF.
    * get single attribute
      lo_el_matnr->get_attribute(
        EXPORTING
          name =  `MATNR`
        IMPORTING
          value = lv_matnr ).
    here the variable lv_matnr will contain the entered value......
    now you can use this value for further process.
    Thanks,
    Shailaja Ainala.

  • Problem with applescript dates from Numbers

    Can anyone explain this to me please?
    tell application "Numbers" to tell table 1 of sheet 1 of front document
              set value of cell ("C2") to "=NOW()"
              set nowDate to (value of cell "D2")
      log nowDate
    end tell
    results in 
    26 Mar, 2013 5:10 PM
    appearing in cell C2, but the log tells me
    (*date Wednesday, 27 March 2013 6:10:14 AM*)
    I realise that the date formats will differ - and  one of Yvan Koenigs's useful postings explains that when we extract a date from a Numbers table we get a UTC date time value. He also showed how to get rid of  that problem with the formula :
    ="" & ref_to_date_time_cell
    But the UTC time when I obtained the above result  was 4:10 am on 26th March,  not 6:10 am on 27th March.  Why is this?
    Incidentally, is there a better way of putting the current date into an applescript variable?

    If your local time is 5:10 PM on the 26th when the UTC time is 4:10 AM on the 26th, your local time is apparently 13 hours ahead of UTC. Therefore, if the UTC time were 5:10 PM on the 26th, your local time would be 6:10 AM on the 27th. There is nothing inconsistant here. Numbers' value is a local time, but AppleScript thinks it is UTC and converts it.
    In general, the current date command in AppleScript would be the best way to put the current date into an AppleScript variable; no need to involve Numbers:
    set nowDate to current date
    (See the Miscellaneous Commands section of the Standard Additions dictionary in your AppleScript Editor.)

  • Problem with recovering data from Bit Locker enabled hard disk with bad sectors

    Hi,
    I have Lenovo T430 laptop with Windows 7 and Bit Locker enabled hard disk. While working I encountered blue screen error multiple times. After some time, the laptop stopped to boot by itself and started showing error 'A disk read write error has occurred.
    Press Ctrl+Alt+Del to restart' message. I tried to connect the hard disk to a different PC as a secondary drive and tried to check the disk to recover the data. The 500 GB disk is showing as unallocated space and I am not sure how to recover the
    data from the hard disk. Appreciate your help to recover the data from corrupted hard disk.
    I used the Lenovo Diagnostics tools available in BIOS and it showed 48 bad sector errors on the hard disk. I also used Windows 7 CD and tried auto repair but it looks like it didn't do anything.
    Thanks in advance!

    Hi  SenneVL,
    Since there are 48 bad sectors on your hard disk, this means the system can not boot any more, the data might not be restored in a normal way, you'd better turn to data restore company for help.
    Regards
    Wade Liu
    TechNet Community Support

  • Problem with extract data from R/3 to BW

    I want extract data from R/3 system.the problem is when I run the infopackage,I can see the status is yellow In the Monitor and the data can't extract to BW.but in the source system,the job of extracting data has been finished.
    (use the Tcode: WE02)the Outbound IDocs and Inbound IDocs are OK,but in the BW system ,I canu2019t see the Inbound IDocs.
    In the source system use Tcode: SM50,I can see the process SAPLQOWK is running for a long time and run out system memory.
    use Tcode : SM58, I execute LUW, the data can transfer to BW system,but the report SAPLQOWK is not stop.
    it would be stopped by canceling the process manually in operating system or it run out time.
    why can't i extract data from R/3 system successfully ?
    why the process SAPLQOWK can't finish?
    how can i do?

    Hi,
    I hope the note 527481 would help you to sort out this problem.
    Regards,
    Anil Kumar Sharma .P

  • Urgent: Problem with reading data from cube.

    Hi Gurus,
    I am trying to read the data from the cube. Below is my code. It returns nothing. Could any please help me to solve this.
    TYPES:
      BEGIN OF S_DATA,
        Z_CHAR1    like  /BIC/CTABLE-ZCHAR1,
        Z_CHAR2    like  /BIC/CTABLE-ZCHAR2,
        Z_CHAR3    like /BIC/CTABLE-ZCHAR3,
        Z_FISCPER  like /BIC/CTABLE-0FISCPER,
        0AMOUNT    type  p DECIMALS 2,
      END OF S_DATA.
    data:
           i_s_data  TYPE s_data,
           i_t_data  TYPE STANDARD TABLE OF s_data
                          WITH DEFAULT KEY INITIAL SIZE 10,
           c_data TYPE s_data occurs 0 with header line,
           i_s_sfc   TYPE rsdri_s_sfc,
           i_th_sfc  TYPE rsdri_th_sfc,
           i_s_sfk   TYPE rsdri_s_sfk,
           i_th_sfk  TYPE rsdri_th_sfk,
           i_s_range TYPE rsdri_s_range,
           i_t_range TYPE rsdri_t_range.
    DATA: end_of_data  TYPE rs_bool,
         clear: i_th_sfc.
         g_s_sfc-chanm    = 'Z_CHAR1'.
         g_s_sfc-chaalias = 'Z_CHAR1'.
         g_s_sfc-orderby  = 0.
         INSERT i_s_sfc INTO TABLE i_th_sfc.
         clear: i_s_sfc.
         g_s_sfc-chanm    = 'Z_CHAR2'.
         g_s_sfc-chaalias = 'Z_CHAR2'.
         g_s_sfc-orderby  = 0.
         INSERT i_s_sfc INTO TABLE i_th_sfc.
         clear: i_s_sfc.
         g_s_sfc-chanm    = 'Z_CHAR3'.
         g_s_sfc-chaalias = 'Z_CHAR3'.
         g_s_sfc-orderby  = 0.
         INSERT i_s_sfc INTO TABLE i_th_sfc.
         clear: i_s_sfc.
         g_s_sfc-chanm    = 'Z_FISCPER'.
         g_s_sfc-chaalias = 'Z_FISCPER'.
         g_s_sfc-orderby  = 0.
         INSERT i_s_sfc INTO TABLE i_th_sfc.
         clear: i_s_sfk..
         g_s_sfk-kyfnm    = '0AMOUNT'.
         g_s_sfk-kyfalias = '0AMOUNT'.
         g_s_sfk-aggr     = 'SUM'.
         INSERT i_s_sfk INTO TABLE i_th_sfk.
          clear: i_t_range, i_s_range.
          i_s_range-chanm    = 'Z_FISCPER'.
          i_s_range-sign     = rs_c_range_sign-including.
          i_s_range-compop   = rs_c_range_opt-equal.
          i_s_range-low      = 200601.
          i_s_range-high     = 200606.
          APPEND i_s_range TO i_t_range.
            CALL FUNCTION 'RSDRI_INFOPROV_READ'
              EXPORTING
                i_infoprov             = 'ZC_CUBE'
                i_th_sfc               = i_th_sfc
                i_th_sfk               = i_th_sfk
                i_t_range              = i_t_range
                i_reference_date       = sy-datum
                i_save_in_table        = rs_c_false
                i_save_in_file         = rs_c_false
                i_packagesize          = 20
              IMPORTING
                e_t_data               = i_t_data
                e_end_of_data          = end_of_data
              CHANGING
                c_first_call           = i_first_call
              EXCEPTIONS
                illegal_input          = 1
                illegal_input_sfc      = 2
                illegal_input_sfk      = 3
                illegal_input_range    = 4
                illegal_input_tablesel = 5
                no_authorization       = 6
                ncum_not_supported     = 7
                illegal_download       = 8
                illegal_tablename      = 9
                OTHERS                 = 11.
                append lines of I_t_data to c_data.
    Thanks
    Regards
    aarthi
    [email protected]

    Due to the nature of the cube design, that would be difficult, that's why there are API's, FMs, and MDX capabilities - to eliminate the need to navigate the physical structure.  Otherwise you would have to concern yourself with:
    - that there are two fact tables E and F that would need to be read.  The Factview could take of this one.
    - you would want to be able to read aggregates if they were available.
    - the fact table only as DIM IDs or SIDs (for line item dims) to identify the data, not characteristic values.  A Dim ID represents a specific combination of characteristic values.

Maybe you are looking for

  • Automatic goods movement at the time of confirmation in IW42

    Hey gurus, In a maintenance order i ve reserved some materials to be issued from the stores. Now i am not issuing the reserved materials from the stores and going to iw42 for confirming the operations of the order. If i select the item overview of th

  • ITunes unable to install/uninstall/Windows installer utility-- DESPERATE!!*

    I have had this issue for MONTHS now and I have (no overexaggerating) looked up on this entire discussion board, looked at microsofts discussion board, called apple, and taken my computer to the Geek Squad at Best Buy and no one could help me. I try

  • Discount on a credit memo (outgoing payments)

    Regardless the due date a discount on a credit memo is always calculated when executing a payment run. Why is that?? I can imagine that in some cases the discount is calculated even if the document is overdue (otherwise you would take a discount on a

  • Promblem with variables in ReportBuilder

    Hi guys, I've got a one problem. I need to declare a global variable like in FormBuilder (:Global.newVar := 1;), but Report doesn't do that thing. How can I achieve this point in Reports. Please help me. Many thanks.

  • ZCM 10.3.3 Agent slows down Windows 7 Workstation login

    Hello together, since we installed ZCM10 our Windows 7 workstations take extremely long time to log into Novell network. The Novell Login Sucessfull screen appears about 2 minutes before the welcome screen appears. We noticed the following dll tries