SIS Report- Old Data update Issue

Hi All,
The relevant configuration has been done for activating SIS report. Using the T-Code: OLI7,OLI8,OLI9, I have updated the data for the infostructure: S001 and copied the same to OLIX, but still the report shows only New document value in MC+E report.
I followed the below link, but eventhough the old document data is not showing in the report.
http://scn.sap.com/docs/DOC-29547
Please anyone help me to get the old data in the MC+E,MCTA report.
Regards,
Mythily

Hi All,
The relevant configuration has been done for activating SIS report. Using the T-Code: OLI7,OLI8,OLI9, I have updated the data for the infostructure: S001 and copied the same to OLIX, but still the report shows only New document value in MC+E report.
I followed the below link, but eventhough the old document data is not showing in the report.
http://scn.sap.com/docs/DOC-29547
Please anyone help me to get the old data in the MC+E,MCTA report.
Regards,
Mythily

Similar Messages

  • End Routine Data updation Issue

    Hi all,
    We are trying to do some look ups in the end routine to populate some fields.
    We can see the data selected in the debugging but  in the actual DSO the fields are not populating.
    we suspect that the modify statement
    MODIFY RESULT_PACKAGE from e_s_result.
    might be having some issues.
    If anybody have any suggestions please help us out.
    Appreciate it.
    Thanks,
    HM

    No it is not the issue with modify statement.
    Whatever fields you are updating in modify statement , you need to have rule type assigned as constant with no value..
    As in BI 7.0 the individual rule needs to be defined to enable it to get populated otherwise it doesnt think that the field needs to be updated.

  • DW PHP date update issue?

    When I use the DW8 PHP UPDATE behavior, I get an error reported back from the web server when the date value in the form is MM/DD/YYYY .. but if I change it to YYYY-MM-DD then it updates fine. What can I do to assure that we can use the user friendly date format and it doesn't freak out???

    Create separate fields in the update form for the month, date, and year. Use SQL to extract the values separately using MySQL date and time functions. When the form is submitted, join the separate values together before inserting them in the database.

  • Performance Report Manager Data Collection Issues

    I have an agent running and collecting data in a circular file.... history.log
    Data Collection has failed approximately 6 days ago without warning. I have tried to find out the issue and have not had any success.
    If I open the Data Collection Window in PRM I see a Yellow triangle beside the hostname:port.
    If you can provide any information as to what to look for, please reply.

    history.log may be corrupted. If you run it through ccat to flatten it does it show any recent (i.e. newer than 6 days) entries?
    If ccat gives errors then just move it out of the way (i.e. rename it to history.log.busted) and restart your Agent. A fresh log will be created. Give it a couple hours to make a couple flushes of data to your SunMC Server and see if PRM works.
    Regards,
    Mike
    [email protected]

  • Update Old data in SIS

    Dear Guru's,
    I have created my own SIS & now i want to update the Old data in this SIS. Currently the SIS is showing the values from the date when it was created. Can anybody tell me the steps to update the same with the old values.
    Rgds,
    Ajinkya

    Hi,
    Kindly refer to Glynn Williams page no :-418,it says that should one create a new structure and require historical data to be updated into it,<b>refer to</b> <b>OSS note</b> <b>number 0064636</b>.This explains the methods of procedding with statistical update.
    Summary
    Symptom
    This note describes the standard procedure for setting up the statistical data in the Logistics Information System (LIS). However, in addition to this standard procedure, you should also read the application-specific documentation which is stored for each application (Purchasing, Sales and Distribution, Production, Inventory Controlling) in Customizing. This documentation can be found as follows (starting from the top level of the Customizing tree):
    + Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Data Basis + Tools + Setup of Statistical Data + Application-specific Setup of Statistical Data
    The programs which carry out the setup in the individual applications are also called at this point in Customizing.
    Procedure for statistical data setup
    The setup reads all original documents or only the original documents required by the user (such as purchase orders, production orders, material documents, billing documents and so on), and sets up statistical data from these documents. Here, every document is updated in the LIS information structures corresponding to the update rules defined in Customizing.
    Does the statistical data setup work correctly?
    Since a setup can take a number of hours, it is best to just set up one or two (incorrect) documents at first, to check the result before a complete setup is carried out. This is carried out with the following steps:
    1. Call the setup program for a few test documents
                  Call the statistical data setup for the respective application via Customizing. (Path -> see above) Enter the information structure to be set up, and, for example, '&(T' as a version. Important: the version '&(T' must not yet exist, that is, '&(T' must be empty.
                  Explanation of the version: All data records of an information structure begin with a three-character version number. The current statistical data (actual data) has the version number 000. Data is selected from this version when a standard analysis is carried out. So that the actual data is not modified, the setup must be carried out into another version. The versions into which a setup is carried out must begin with '&(' - by convention.
                  Enter the document numbers for which the setup is to be carried out as a test on the setup selection screen. Start the setup after this. (If there are not many documents, this can take place online).
    2. Check the result of the setup
                  To display the set up documents in the standard analysis, the standard analysis must access the version '&T'. Via the menu path "System -> User profile -> User parameters", enter and save the parameter ID 'MCR' with the value 'X'. As a result, an input field appears on the standard analysis selection screen, in which a version other than '000' can be entered.
                  Now call the standard analysis in question. On the selection screen (at the very bottom), overwrite the version '000' with '&(T' (if you have followed the above suggestions). The standard analysis then displays the data which was set up.
    3. The user parameter 'MCR' can be reset again.
    Standard procedure for the statistical data setup in the LIS
    The data of the actual version (000) should be replaced with the set up data when setting up a complete information structure. Two procedures (A and B) are described below. These procedures have the following advantages and disadvantages:
    Advantages of procedure A:
    It is possible to compare the old actual data with the set up data.
    Disadvantages of procedure A:
    Data is stored 1 or 2 times (3 times if the actual data is saved)
    R/3 operation must be shut down during the entire procedure
    Longer runtime than procedure B
    Advantages of procedure B:
    Data is only stored 1 or 2 times (3 times if the actual data is saved)
    R/3 operation must only be shut down during the actual setup.
    The runtime is shorter than for procedure A
    Disadvantages of procedure B:
    It is not possible to compare the old actual data with the set up data.
    Procedure A is the "normal" method", and is suitable for normal datasets. On the other hand, procedure B should be used for large datasets.
    Although the correctness of the setup should already have been checked using a few documents - as described above, it can nevertheless be a good idea to compare the entire data with the old data (or at least taking random samples) after carrying out the setup. Only procedure A offers this possibility.
    Important additional information on deleting and converting data
    Note that when Report RMCVISCP is mentioned in the following section, it should only be used in Releases < 4.X . In all release levels as of 4.X, Report RMCVISCP has been replaced by Report RMCSISCP. So use the later report, since Report RMCVISCP in Release > 4.X is also no longer supported by Support.
    Procedure A
    R/3 operation must be shut down until the following steps 2 to 5 have all been carried out. In particular, no documents may be created or modified.
    1. Delete the target version of the setup
                  If the setup is to take place in version '&(N', for example, this version must be deleted using the program RMCVISCP. Enter the affected information structures and the version to be deleted on the selection screen of RMCVISCP. (In addition, the checkbox "Delete a version?" must be marked).
                  The version '000' may not be chosen as a target version of the setup. This means that '000' may not be entered as the version to be deleted.
    2. Carry out the setup.
                  In Customizing (see the path described under "Symptom"), call the setup corresponding to the required application. Since now, or at least a large proportion of the original documents are now to be set up, it is recommended that you schedule the setup in the background for a weekend.
    3. Check the data which was set up
                  The set up data can be displayed via the standard analysis. To do this, set the MRC parameter to 'X' (see above), so that the version '&(N' can be entered on the standard analysis selection screen (if the setup was carried out in this version).
                  Furthermore, you can compare version '000' (old actual data) with the newly set up data (version '&(N') via the comparison of planned and actual data in the standard analysis. (The menu path for the comparison of planned and actual data in the standard analysis is as follows: Edit -> Comparisons -> Planned/actual... )
    4. Delete version '000'
                  Delete version '000' using program RMCVISCP. If there is sufficient disk space, the version '000' can of course be saved as version '&(S', for example, before carrying out the deletion. (This version must be empty or have been deleted beforehand). However, this saving is not absolutely necessary, especially since the old actual data is presumably incorrect (otherwise there would be no need to make the setup).
    5. Copy the set up data into version '000'
                  Using program RMCVISCP, copy the set up version '&(N' into the target version '000'. R/3 operation can start again after this.
    6. Delete version '&(N'
                  Finally, delete the version '& (N' using the program RMCVISCP.
                  Procedure B:
    Within procedure B, R/3 operation need only be shut down during the following steps 4 and 5.
    1. Save the actual data
                  Copy version '000' into another version, for example, '&(S'. Call program RMCVISCP for this, and enter '000' as the source version and, for example, '&(S' as the target version. The target version must be empty or have been deleted beforehand (with the program RMCVISCP).
                  However, the actual data need not necessarily be saved. In particular, this is the case if the actual data contains a large number of errors. However, the saved data can be an advantage if the setup is canceled for any reason. The old actual data could then be copied back into version '000' again.
    2. Deactivate updating
                  Deactivate the update in Customizing for the information structures to be set up. The Customizing path for this is as follows:
                  + Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Updating + Updating Control + Activate update
                  Then choose the relevant application. The affected information structures can be selected by double-clicking on the subsequent screen. Then mark the radio button "No updating" under "Updating" on the following popup.
    3. Delete version '000' (with program RMCVISCP)
                  For large dataset, deleting version '000' can take several hours. However, it is important that updating of the information structure is deactivated, and thus R/3 operation can be continued as normal.
    4. Activate updating
                  After deleting version '000', reactivate updating of the affected information structures (as under point 3 above).
    5. Carry out the setup
                  In Customizing, call the setup corresponding to the required application. The setup must be carried out into version '000'.
                  R/3 operation must be shut down during the setup. Before and after this step, R/3 operation can continue as normal.
    6. Check the set up version '000' by taking random samples
                  A comparison with the old actual data is only possible if the old actual data was saved beforehand (for example, into the version '&(S'). However, the comparison is only useful if R/3 operation was stopped between saving the old actual data and the setup. Otherwise, there exists the danger that documents were created or changed in the meantime. These document changes would then only be taken into account in the set up data, not in the old actual data.
    7. Delete version '&(S' with program RMCVISCP
                  The saved old actual data can than be deleted afterwards.
    Reward points if useful.
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Old datas to get updated in KE30 report

    Hi All
    I had run the KE30 report but found that sales quantity was not getting updated for the SO's .
    I had then made the necessary config and now for the new SO,the report is getting updated.
    But how can i make the old SO get update in KE30 report.
    Pls advise

    Hi Shibu,
    I guess you want reallign CO-PA data. For this you need to repost CO-PA documents and if necessary run KEND.
    I am sorry for the delayed response. If you issue is solved please mark this thread as answered.
    Best Regards,
    Abhisek

  • Webi report gives old data in infoview on refresh

    Hi Experts,
    We are facing this strange issue on a webi report after some data updation in the SAP BW infocube.
    The webi report is based on the universe which is connected to an infocube in our BW dev system. After some data updation in the cube, we had tested the report in webi rich client and everything was working fine (the newly updated data from cube was reflecting). Now, we had tested the same report in infoview, but it was showing the old data only. We had tried exporting the report once again to infoview, refreshed universe structure; but without any success.
    What appeared to be even more strange was that the last refresh time was also not changing. While running the report in the infoview it hardly takes 40secs. But on refreshing it says the last refresh time was 5mins.
    Any help on this would be highly appreciated.
    Regards,
    Arun.

    it sounds like when you refresh report in Infoview you get the cached data, it never goes to the DB to fetch new one...
    You'll need to enable traces on webi processing server as well as SOFA/MDX tracing and review log files to see if requests are going to db or not and what is being returned.
    It could be at webi proc level or at your BW level.
    You can also try disabling webi caching in webi proc server properties and see what happens.

  • Report generated through BIP Server not in sync with data updated in DB

    Hi,
    We have an issue where the BIP report show up the old value instead of the latest updated & commited value done from Application(ADF) on the same session or transaction.
    Does BIP have any caching mechanism implemented internally for a user context?
    Detailed Explanation :
    After verifying several scenarios, following are the scenarios which reproduced the cache issue in our application:
    Case -1:
    1) Logged in as user "User1".
    2) Navigated to page where we can update data and we have option to print/generate the report.
    3) Now made some updates in the page and saved it.
    4) Now generate the report, report is generated with the updated information.
    5) Now close the report generated and update the page with some other modifications and save it.
    6) Now generate the report, but the report doesn't have the updated info.
    Case-2:
    1) Logged in as user "User2".
    2) Navigated to page where we can update data and we have option to print/generate the report.
    3) Generate the print profile report, you see the changes made above with "User1" login.
    4) Now close the report generated and update the page with some more modifications and save it.
    5) Now generate the report, but the report doesn't have the updated info.
    Seems like, the request sent to BIP server is being cached at BIP server with its response considering the key with following format:
    <Login User-id> + <Request Parameters> .
    We are thinking this way because, in both Case-1 and Case-2, if we are modifying the request parameters values (fields to be shown in the generated report) uniquely for each new request,
    then we are seeing the changes updated in DB are present in the report generated.
    Can someone give inputs, how to overcome this issue?
    Thanks,
    Kiran Kumar

    if you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
    1. remove
    all the datafiles and controlfiles from the standby database.
    2. Create a new standby controlfile of the production for standby using the following cmd
    'alter database create standby controlfile as 'Location';'
    3. move the new controlfile to standby database server location as specified in initialization parameter file.
    4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
    5. startup nomount
    6. alter database mount standby database;
    7. recover standby database.
    scp the archive log sequence that is asked by the database, from production.
    You can try this steps.

  • How can i transfer data from old MacBook Pro, which is too old to update time machine, to the newest MacBook Pro?

    I recently bought a new MacBook Pro, and wanted to transfer all the data from my old MacBook Pro, but I get the message saying I need to update time machine on my old one in order to use time machine. However, my old one is too old to update. So I decided to use the cable to transfer, because I heard I can do it that way even though it could take time. But I have no idea what to do...
    Can someone help me?

    A Basic Guide for Migrating to Intel-Macs
    The Knowledgebase article Intel-based Mac: Some migrated applications may need to be updated refers to methods of dealing with migrating from PowerPC chips to Intel with the Migration Assistant safely. The authors of this tip have not had a chance to verify this works in all instances, or that it avoids the 10.6.1 and earlier Guest Account bug that caused account information to get deleted upon use of the Migration/Setup Assistant. However, a well backed up source that includes at least two backups of all the data that are not connected to your machine will help you avoid potential issues, should they arise. In event it does not work, follow the steps below.
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate.  Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications
    Screensavers written for the PowerPC System Preference add-ons
    All Unsanity Haxies Browser and other plug-ins
    Contextual Menu Items
    Applications which specifically require the PowerPC G5 Kernel extensions
    Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior, TechTool Pro , SuperDuper , and Drive Genius  work properly on Intel-Macs with Leopard.  The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries.  Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In Macs
    Apple Guide to Universal Applications
    MacInTouch List of Compatible Universal Binaries
    MacInTouch List of Rosetta Compatible Applications
    MacUpdate List of Intel-Compatible Software
    Transferring data with Setup Assistant - Migration Assistant FAQ
    OS X Lion: How to use Migration Assistant to transfer files from another Mac
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking will work better when moving from PowerPC to Intel Macs.  The initial section below discusses Target Disk Mode.  It is then followed by a section which discusses networking with Macs that lack Firewire.
    If both computers support the use of Firewire then you can use the following instructions:
    Repair the hard drive and permissions using Disk Utility.
    Backup your data.  This is vitally important in case you make a mistake or there's some other problem.
    Connect a Firewire cable between your old Mac and your new Intel Mac.
    Startup your old Mac in Transferring files between two computers using FireWire.
    Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
    1. Set up a local home network: Creating a small Ethernet Network.
    2. If you have a MacBook Air or Late 2008 MacBook see the following:
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful;
    MacBook Air- Migration Tips and Tricks;
    MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
    Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder) /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder) /Home/Library/Mail (copy the whole folder) /Home/Library/Preferences/ (copy the whole folder) /Home /Library/Calendars (copy the whole folder) /Home /Library/iTunes (copy the whole folder) /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data Also in /Home/Library/Preferences/Microsoft.
    Credit goes to Macjack for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the  Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.Revised 5/21/2011

  • Content Rendered from UCM after updation returns old data

    Hi
    The requirement that i have in place is as below:
    1. Portal application should have an option to display content from UCM(Content here is just the metadata like title, description, etc of the content)
    2. The application should also have options for adding, updating and deleting the content.
    3. The updates should immediately reflect on the display.
    I am achieving the above using RIDC apis, not using OOTB task flows.
    But the issue that am facing here is that after performing any of add,update or delete the results fetched are still the older ones. There fore my display screen still shows old data.
    And one observation is that the updates are reflected only when i send a new browser request.
    I have tried refreshing, clearing browser cache, but nothing seems to work. Not sure if the content is being cached on the UCM server itself.
    If so how do i clear it?
    I am using GET_SEARCH_RESULTS to fetch the data and display.
    And i am using PS4 version of webcenter.
    I really need some help on this ASAP as it is in a critical state or any work around please.
    Thanks

    Hi Nelson
    The code snippet used for fetching the content metadata is as below
    To retrieve all the Folder information
    requestBinder.putLocal("IdcService","COLLECTION_DISPLAY");
    requestBinder.putLocal("hasCollectionID","true");
    requestBinder.putLocal("dCollectionID",rootFolderId);
    ServiceResponse response = idcClient.sendRequest(idcContext, requestBinder);
    DataBinder resultbinder = response.getResponseAsBinder();
    resultbinder.getResultSet("COLLECTIONS");
    List folderList = new ArrayList();
    for (DataObject data : resultSet.getRows())
    String parentId = data.get("dParentCollectionID");
    if (folderId.equals(parentId))
    folderList.add(data);
    To retrieve all the content information under a folder
    requestBinder.putLocal("IdcService","GET_SEARCH_RESULTS");
    requestBinder.putLocal("QueryText",
    new StringBuilder().append("xCollectionID >= `").append(docInfo.get("xCollectionID")).append("` <AND> xCollectionID <= `").append(docInfo.get("xCollectionID")).append(" ` ").toString());
    requestBinder.putLocal("SortField","dInDate");
    requestBinder.putLocal("SortOrder","DESC");
    idcClient.sendRequest(idcContext, requestBinder);
    resultbinder.getResultSet("SEARCH_RESULTS");
    List files = new ArrayList();
    for (DataObject dataObject : resultSet.getRows())
         files.add(dataObject);
    Once i have the list i just iterate over it and display using <af:outputText> or <af:commandLink>
    Till now havent been able to find the issue.
    The ony solution which helped this is to call this retrieval method twice before displaying. But this is creating a huge performance issue.
    So i am looking for a proper solution for this.
    Please help.
    Thanks

  • Old data to be updated in FAGLFLEXT table

    Hi All,
    My client having one new reqment, using T.Code:S_PL0_86000030, report will be executed for trial balance report against a particular profit center.The request been transported on last month 15th to production client, from then onwards report executing with updating profit center field.Now the thing is they need to get all the old data to be update in the table FAGLFLEXT .Kindly input me how it will be done, whether any prog is there or to develop any Z report..
    Pls revert ur suggestions.
    Regards,
    Balaji.c

    Not to sure about BADi's.
    Is there a user exit that can be accessed after the PO number has been assigned?
    Thanks

  • JSP page is coming back with old data even when DB updated

    Hello,
    I am updating an existing record on a database using an HTML form and the changes update the ACCESS database immediately, but the .jsp page is picking up
    old data.
    But but when i do a manual REFRESH, the correct data comes back fine!
    Thanks very much for any insights!
    Summary of the code:
    1. InputEmployeeInfo.html - enter change data, call update....jsp
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/> </HEAD>
    <FORM NAME="updateInfo"
    ACTION="./UpdateEmployeeInfo.jsp" >>>>>2.
    METHOD="POST">
    2. UpdateEmployeeInfo.jsp: - call bean, update database, forward to present..jsp
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    </HEAD>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0); %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean" >>>>>3.
    scope="request"/>
    <jsp:setProperty name="empInfo" property="*" />
    <% empInfo.updateDatabase(); %> >>>>>3b.
    <jsp:forward page="PresentChangeOfEmployeeData.jsp" /> >>>>>4.
    </BODY>
    </HTML>
    3. com.ora.jsp.beans.employee23.EmployeeInfoBean - Bean-update DB with change data
    public class EmployeeInfoBean {
    public void updateDatabase(){                                            <----3b.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    String sql = "UPDATE EMPLOYEEINFO SET " +
    "NAME=?, ADDRESS=?, PHONE=? WHERE ID=?";
    PreparedStatement statement = conn.prepareStatement(sql);
    statement.setString(1, name);
    statement.setString(2, address);
    statement.setString(3, phone);
    statement.setInt(4, id);
    statement.executeQuery();
    statement.close();
    conn.close();
    4. PresentChangeOfEmployeeData.jsp - read database and display changes <----4.
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    </HEAD>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0); %>
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    Statement statement = conn.createStatement();
    String sql = "SELECT * FROM EMPLOYEEINFO WHERE ID = " + employeeID;
    ResultSet rs = statement.executeQuery(sql);
    while(rs.next()){
    %>
    <TR><TD ALIGN="right" WIDTH="50%">Name:</TD>
    <TD WIDTH="50%"><%= rs.getString("NAME") %></TD>
    ================================================================================
    Complete code listing:
    1, InputEmployeeInfo.html
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE>Change of Information</TITLE>
    </HEAD>
    <BODY>
    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="navy">
    <TR ALIGN="center">
    <TD><FONT SIZE="7" COLOR="yellow">Employee Information</FONT></TD>
    </TR>
    </TABLE>
    <CENTER>
    <FONT SIZE="5" COLOR="navy">
    Please Enter Your Information<BR>
    Fill in all fields
    </FONT>
    </CENTER>
    <TABLE WIDTH="100%">
    <FORM NAME="updateInfo"
    ACTION="./UpdateEmployeeInfo.jsp" >>>>>>>>>2.
    METHOD="POST">
    <TR><TD WIDTH="40%" ALIGN="right">Current ID: </TD>
    <TD WIDTH="60%"><INPUT TYPE="text" NAME="id"></TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Name: </TD>
    <TD WIDTH="60%"><INPUT TYPE="text" NAME="name" VALUE="Mickey"></TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Address: </TD>
    <TD WIDTH="60%">
    <INPUT TYPE="text" NAME="address" VALUE="St. Louis, MO">
    </TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Phone: </TD>
    <TD WIDTH="60%">
    <INPUT TYPE="text" NAME="phone" VALUE="555-555-1234">
    </TD>
    </TR>
    <TR><TD COLSPAN="2" ALIGN="center">
    <INPUT TYPE="submit" NAME="btnSubmit" VALUE="Update Profile"></TD>
    </TR>
    </TABLE>
    </FORM>
    </BODY>
    </HTML
    2. UpdateEmployeeInfo.jsp:
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE>Updating Employee Information</TITLE>
    </HEAD>
    <BODY>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean" >>>>>>>>>>>>>3.
    scope="request"/>
    <jsp:setProperty name="empInfo" property="*" />
    <% empInfo.updateDatabase(); %> >>>>>>>>>>>>>3b.
    <jsp:forward page="PresentChangeOfEmployeeData.jsp" /> >>>>>>>>>>>>>4.
    </BODY>
    </HTML>
    3. com.ora.jsp.beans.employee23.EmployeeInfoBean <-------------3.
    package com.ora.jsp.beans.employee23;
    import java.sql.*;
    public class EmployeeInfoBean {
    private String name, address, phone;
    private int id;
    public void setName(String input){
    name = input;
    public String getName(){
    return name;
    public void setAddress(String input){
    address = input;
    public String getAddress(){
    return address;
    public void setPhone(String input){
    phone = input;
    public String getPhone(){
    return phone;
    public void setId(int input){
    id = input;
    public int getId(){
    return id;
    public void updateDatabase(){                                       <-------3b.
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    String sql = "UPDATE EMPLOYEEINFO SET " +
    "NAME=?, ADDRESS=?, PHONE=? WHERE ID=?";
    PreparedStatement statement = conn.prepareStatement(sql);
    statement.setString(1, name);
    statement.setString(2, address);
    statement.setString(3, phone);
    statement.setInt(4, id);
    statement.executeQuery();
    statement.close();
    conn.close();
    catch (Exception e) {}
    4. PresentChangeOfEmployeeData.jsp <---------4.
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    %>
    <%@ include file="CompanyBanner.html"%>
    <%@ page import="java.sql.*" %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean"
    scope="request"/>
    <CENTER>
    <FONT SIZE="5" COLOR="navy">
    Your New Information
    </FONT>
    </CENTER>
    <TABLE WIDTH="100%" BORDER="1">
    <%
    int employeeID = empInfo.getId();
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); <--------4b,
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    Statement statement = conn.createStatement();
    String sql = "SELECT * FROM EMPLOYEEINFO WHERE ID = " + employeeID;
    ResultSet rs = statement.executeQuery(sql);
    while(rs.next()){
    %>
    <TR><TD ALIGN="right" WIDTH="50%">Name:</TD>
    <TD WIDTH="50%"><%= rs.getString("NAME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Address:</TD>
    <TD WIDTH="50%"><%= rs.getString("ADDRESS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Phone Number:</TD>
    <TD WIDTH="50%"><%= rs.getString("PHONE") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Work Status:</TD>
    <TD WIDTH="50%"><%= rs.getString("WORKSTATUS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Total Sick Days:</TD>
    <TD> <%= rs.getString("TOTALSICKDAYS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Taken Sick Days: </TD>
    <TD><%= rs.getString("TAKENSICKDAYS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Total Personal Time(in hours): </TD>
    <TD><%= rs.getString("TOTALPERSONALTIME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Taken Personal Time(in hours): </TD>
    <TD><%= rs.getString("TAKENPERSONALTIME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Health Care Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("HEALTHCAREPLAN") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Dental Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("DENTALPLAN") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Vision Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("VISIONPLAN") %></TD>
    </TR>
    <% }//end while loop
    } // end try block
    catch (Exception e) {};
    %>
    </TABLE>
    <%@ include file="ch24_SiteNavigator.html" %>
    </BODY>
    </HTML>

    <%
    String dept_name=request.getParameter("D1");
    String itmp,itmcd,sn;
    %>
    <%
    Connection con;
    PreparedStatement ps;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:acc");
    Statement stmt=con.createStatement();
    ResultSet rs=stmt.executeQuery("select * from item_details where Item_Name='"+dept_name+"'
    %>
    <td> Product name</td>
    <td>Product description</td>
    <td><Product code</td>
    <td>Product price</td></tr>
    <form method=post action="mycreate.jsp">
    <%
    while(rs.next())
    %><tr>
    <%=rs.getString(1)%></td>
    <%=rs.getString(4)%></td>
    <td><font color="#ffffff" size="3" face="arial unicode
    ms">    <%=rs.getString(3)%></td>
    <% String temp=rs.getString(3);%>
    <%=temp%>
    <td>
    <%=rs.getString(5)%></td>
    <td><input type=submit value="Add to cart"></td></tr>
    <form method=post action="mycreate.jsp">
    <%
    con.close();
    %>
    </tr>
    </table></tr></table></tr></table>
    </form>
    </form>
    I want the value of rs.getString(3) in a variable

  • Cann't install up to date update Lion 10.7 cancel during install error: damaged by download but it's download without errors 1,34 GB. What can I do has anyone a solution to solve this issue?

    cann't install up to date update Lion 10.7 cancel during install error: damaged by download but it's download without errors 1,34 GB. What can I do has anyone a solution to solve this issue?

    I wish I fully understood your post, but perhaps you should try re-downloading. Are you trying to download the 10.7.3 update? If so, then try downloading OS X Lion Update 10.7.3 (Client Combo).

  • How to hide the Last date Update in the Excution of a report

    Dear All,
    When we execute a query in EP, the Out Result will contain the following Options
    1) Save As
    2) Open
    3) Export Excel
    4) Information
    5 ) Comments
    6) Filters
    7) Settings
    8) Last data update
    Can anyone plese tell me how to give the authorisation in BI for the above options.so that we can give restrictions for some users.
    hope everything is crear.
    Please give me the hint atleast

    You also have to test the value:
    REPORT ztest MESSAGE-ID 00.
    DATA: BEGIN OF itab OCCURS 0,
            f1 TYPE i,
            f2 TYPE i,
            f3 TYPE i,
            f4 TYPE i,
          END OF itab.
    DATA: sel_field(20),
          value TYPE i.
    DO 5 TIMES.
      itab-f1 = sy-index.
      itab-f2 = sy-index + 10.
      itab-f3 = sy-index + 20.
      itab-f4 = sy-index + 30.
      APPEND itab.
    ENDDO.
    LOOP AT itab.
      WRITE: /001 itab-f1, itab-f2, itab-f3, itab-f4.
      HIDE itab.
      CLEAR itab.
    ENDLOOP.
    AT LINE-SELECTION.
      CLEAR: sel_field,
             value.
      GET CURSOR FIELD sel_field.
      IF sy-subrc = 0.
        CASE sel_field.
          WHEN 'ITAB-F1'.
            value = itab-f1.
          WHEN 'ITAB-F2'.
            value = itab-f2.
          WHEN 'ITAB-F3'.
            value = itab-f3.
          WHEN 'ITAB-F4'.
            value = itab-f4.
        ENDCASE.
        MESSAGE s001 WITH 'Value of' sel_field 'is' value.
      ELSE.
        MESSAGE s001 WITH 'Invalid field selected'.
      ENDIF.
    Rob

  • Master Data Update Report

    Hi All
    Can you please provide me a solution for the below scenario:
    At the time of master data update from BW to BPC client wants to see the updated master data reports in excel file.
    Exmp:
    Existing number of Master data (IDs) before BW update : 1000
    Today : I updated the master data into bpc from BW:10
    Now they want to generate a report for only updated recoreds that is "10" and along with this they want to see is there any changes (property values) happen with the existing master data as well and this activity should be included in the package link of master data update and a Email noticafication should be triggered to the concerned person.
    Please help me
    Regards
    Srikant

    Hi Srikant,
    I have attached the screenshots of above table.
    hope this will help,
    thanks,
    Rishi

Maybe you are looking for