Servlet pull some data

Hello all,
I have a servlet that pulls some data from the db and populates
a bean (call it dbObject), puts it into the session then sends a
HttpRespons.sendRedirect() to a jsp page with a from where that
data in the bean can be modified.
So I'm in modify.jsp, I'm doing a useBean dbObject(session
scope), then setting dbObject = session.getAttribute
("dbObject"); and a setProperty for dbObject *. The NAMEs of
the fields match the properties in the bean (ie NAME="userName"
corresponds to dbObject.[gs]etUserName()).
Now, the problem is that the form action is a post to another
servlet, let's call it DoEdit. So, I modify my data, and hit
submit, and the server ships me off to /servlet/DoEdit.
Unfortunately the data changes don't make it back with me, they
are still set to the values that were taken from the DB.
I know that in the application server jars there is a
JSPxxServlet class file that has a setProperties(bean,
HttpRequest) and I've used that before out of desperation but
it's obviously a closed solution (due to imports, etc. I'd have
to modify source for each different app server).
and also see my below problem code
loginWeb.java
Web webObject = new Web();
webObject.retrieveByKey(userName);
session.setAttribute("webObject", webObject);
pRequest.sendRedirect("/some/some/edit-web.jsp");
return
Ok, now edit-web.jsp
<%@ page import="com.vte.detour.DB.Web"%>
<jsp:useBean id="webObject" scope="session"
class="com.vte.detour.DB.Web">
</jsp:useBean>
<jsp:setProperty name="webObject" property="*" />
<FORM ACTION="/servlet/WebEdit/" METHOD="POST">
[form elements, same NAMEs as gets/sets in webObject]
[submit button]
</FORM>
Then WebEdit.java
HttpSession session = pRequest.getSession();
session.setAttribute("status","");
String error = "";
Web webObject = (Web) session.getAttribute("webObject");
[System.out.println() of the various webObject attributes]
The attributes have not changed in the webObject from the
original webObject.retrieveByKey(userName)
if u have any idea above this iam very thankfull

Hi
Create one more jsp (bridge-jsp) with the following and also
change these modifications to edit-web.jsp.
edit-web.jsp
<%@ page import="com.vte.detour.DB.Web"%>
<jsp:useBean id="webObject" scope="session"
class="com.vte.detour.DB.Web">
</jsp:useBean>
<jsp:setProperty name="webObject" property="*" />
<FORM ACTION="bridge.jsp" METHOD="POST">
[form elements, same NAMEs as gets/sets in webObject]
[submit button]
</FORM>
bridge.jsp
<%@ page import="com.vte.detour.DB.Web"%>
<jsp:useBean id="webObject" scope="session"
class="com.vte.detour.DB.Web">
</jsp:useBean>
<jsp:setProperty name="webObject" property="*" />
<html>
<script language="javascript">
function close()
document.test.submit()
</script>
<body onload="close()">
<FORM name="test" ACTION="/servlet/WebEdit/" METHOD="POST">
</FORM>
</body>
</html>
Regards,
TirumalaRao
Developer Technical support,
Sun MicroSystems, India.

Similar Messages

  • Need info on Standard Web services to pull Order data in CRM from external applications

    Hi Gurus,
    I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
    Appreciate your help on this.
    Thanks
    Lakshman

    Hi Lakshman,
    I have checked further.
    Please review below link of the SAP Help documentation :
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm&current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
    and also the link :
    –http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
    Hoping that this will be helpful.
    Best regards - Christophe

  • Querying on a value and using that to pull other data in the same query

    I am having some issues pulling the correct data in a query. There is a table that houses application decision data that has a certain decision code in it, WA, for a particular population of applicants. These applicants also may have other records in the same table with different decision codes. Some applicants do NOT have WA as a decision code at all. What I need to do is pull anyone whose maximum sequence number in the table is associated with the WA decision code, then list all other decision codes that are also associated with the same applicant. These do not necessarily need pivoted, so long as I can pull all the records for a person whose highest sequence number is associated with WA and all of the other decision codes for that applicant for the same term code and application number also appear as rows in the output.
    I do not have the rights in Oracle to create tables, so please pardon if this code to make the table is incorrect or doesn't show up here as code. This is not the entire SARAPPD table framework, just the pertinent columns, along with some data to put in them.
    DROP TABLE SARAPPD;
    CREATE TABLE SARAPPD
    (PIDM              NUMBER(8),
    TERM_CODE_ENTRY   VARCHAR2(6 CHAR),
    APDC_CODE         VARCHAR2(2 CHAR),
    APPL_NO        NUMBER(2),
    SEQ_NO             NUMBER(2));
    INSERT INTO SARAPPD VALUES (12345,'201280','WA',1,4);
    INSERT INTO SARAPPD VALUES (12345,'201280','RE',1,3);
    INSERT INTO SARAPPD VALUES (12345,'201280','AC',1,2);
    INSERT INTO SARAPPD VALUES (23456,'201280','RE',1,2);
    INSERT INTO SARAPPD VALUES (23456,'201280','WA',1,3);
    INSERT INTO SARAPPD VALUES (23456,'201280','SC',1,1);
    INSERT INTO SARAPPD VALUES (34567,'201280','AC',1,1);
    INSERT INTO SARAPPD VALUES (45678,'201210','AC',2,1);
    INSERT INTO SARAPPD VALUES (45678,'201280','AC',1,2);
    INSERT INTO SARAPPD VALUES (45678,'201280','WA',1,3);
    INSERT INTO SARAPPD VALUES (56789,'201210','SC',1,2);
    INSERT INTO SARAPPD VALUES (56789,'201210','WA',1,3);
    COMMIT;I have attempted to get the data with a query similar to the following:
    WITH CURR_ADMIT AS
          SELECT   C.SEQ_NO "CURR_ADMIT_SEQ_NO",
                            C.PIDM "CURR_ADMIT_PIDM",
                            C.TERM_CODE_ENTRY "CURR_ADMIT_TERM",
                            C.APDC_CODE "CURR_ADMIT_APDC",
                            C.APPL_NO "CURR_ADMIT_APPNO"
                              FROM SARAPPD C
                              WHERE C.TERM_CODE_ENTRY IN ('201210','201280')
                              AND C.APDC_CODE='WA'
                             AND C.SEQ_NO=(select MAX(d.seq_no)
                                                   FROM   sarappd d
                                                   WHERE   d.pidm = C.pidm
                                                   AND d.term_code_entry = C._term_code_entry)
    select sarappd.pidm,
           sarappd.term_code_entry,
           sarappd.apdc_code,
           curr_admit.CURR_ADMIT_SEQ_NO,
           sarappd.appl_no,
           sarappd.seq_no
    from sarappd,curr_admit
    WHERE sarappd.pidm=curr_admit.PIDM
    and sarappd.term_code_entry=curr_admit.TERM_CODE_ENTRY
    AND sarappd.appl_no=curr_admit.APPL_NOIt pulls the people who have WA decision codes, but does not include any other records if there are other decision codes. I have gone into the user front end of the database and verified the information. What is in the output is correct, but it doesn't have other decision codes for that person for the same term and application number.
    Thanks in advance for any assistance that you might be able to provide. I am doing the best I can to describe what I need.
    Michelle Craig
    Data Coordinator
    Admissions Operations and Transfer Systems
    Kent State University

    Hi, Michelle,
    903509 wrote:
    I do not have the rights in Oracle to create tables, so please pardon if this code to make the table is incorrect or doesn't show up here as code. This is not the entire SARAPPD table framework, just the pertinent columns, along with some data to put in them. You really ought to get the necessary privileges, in a schema that doesn't have the power to do much harm, in a development database. If you're expected to develop code, you need to be able to fabricate test data.
    Until you get those privileges, you can post sample data in the form of a WITH clause, like this:
    WITH     sarappd    AS
         SELECT 12345 AS pidm, '201280' AS term_code_entry, 'WA' AS apdc_code , 1 AS appl_no, 4 AS seq_no     FROM dual UNION ALL
         SELECT 12345,           '201280',                    'RE',               1,             3                 FROM dual UNION ALL
         SELECT 12345,           '201280',                  'AC',            1,          2               FROM dual UNION ALL
    ... I have attempted to get the data with a query similar to the following:
    WITH CURR_ADMIT AS
          SELECT   C.SEQ_NO "CURR_ADMIT_SEQ_NO",
    C.PIDM "CURR_ADMIT_PIDM",
    C.TERM_CODE_ENTRY "CURR_ADMIT_TERM",
    C.APDC_CODE "CURR_ADMIT_APDC",
    C.APPL_NO "CURR_ADMIT_APPNO"
    FROM SARAPPD C
    WHERE C.TERM_CODE_ENTRY IN ('201210','201280')
    AND C.APDC_CODE='WA'
    AND C.SEQ_NO=(select MAX(d.seq_no)
    FROM   sarappd d
    WHERE   d.pidm = C.pidm
    AND d.term_code_entry = C._term_code_entry)
    Are you sure this is what you're actually running? There are errors. such as referencing a column called termcode_entry (starting with an underscore) at the end of the fragment above. Make sure what you post is accurate.
    Here's one way to do what you requested
    WITH     got_last_values  AS
         SELECT  sarappd.*     -- or list all the columns you want
         ,     FIRST_VALUE (seq_no)    OVER ( PARTITION BY  pidm
                                        ORDER BY      seq_no     DESC
                                  )           AS last_seq_no
         ,     FIRST_VALUE (apdc_code) OVER ( PARTITION BY  pidm
                                        ORDER BY      seq_no     DESC
                                  )           AS last_apdc_code
         FROM    sarappd
         WHERE     term_code_entry     IN ( '201210'
                           , '201280'
    SELECT     pidm
    ,     term_code_entry
    ,     apdc_code
    ,     last_seq_no
    ,     appl_no
    ,     seq_no
    FROM     got_last_values
    WHERE     last_apdc_code     = 'WA'
    ;Don't forget to post the results you want from the sample data given.
    This is the output I get from the sample data you posted:
    `     PIDM TERM_C AP LAST_SEQ_NO    APPL_NO     SEQ_NO
         23456 201280 WA           3          1          3
         23456 201280 RE           3          1          2
         23456 201280 SC           3          1          1
         45678 201280 WA           3          1          3
         45678 201280 AC           3          1          2
         45678 201210 AC           3          2          1
         56789 201210 WA           3          1          3
         56789 201210 SC           3          1          2I assume that the combination (pidm, seq_no) is unique.
    There's an analytic LAST_VALUE function as well as FIRST_VALUE. It's simpler (if less intuitive) to use FIRST_VALUE in this problem because of the default windowing in analytic functions that have an ORDER BY clause.

  • Report no longer pulls in data

    Hi All,
       Very weird thing happened today. I have a report that connects to an ODBC SQL connection. It was pulling in data fine from this connection and producing a report. All of a sudden, the report no longer shows data anymore when I submit the parameters or when refreshing.
      Some things I did to test the connection is pull the data in excel via the same ODBC connection and it worked. I also created a new crystal report and it also worked. Is there a way to restore my original report to get it woking again? I would hate to have to start this report from scratch!
    I am using Crystal Report 2008 SP1. This report is also being test into VS 2008 web app which was also working but ceased to work at the same time.
    Thank you in advance.

    Hi Antoine
    There are two ways to set the location of the data source your report points to, depending on your connection type:
    For ODBC and Native Connections
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click the data source to be changed. You must click each individual table in the data source one by one. If the data source is a stored procedure you will not see individual tables.
    NOTE
    In Crystal Reports 10, XIR1, and XIR2, if you are mapping from a data source such as a stored procedure where the report designer can not determine which fields should be mapped automatically, you will see a 'Mapping' dialog box where you can manually map fields, as in the procedure cited above.
    3. In the 'Replace with' section, click the data source you want the report to use.
    4. Click 'Update'.
    5. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    For Native Connections Only:
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click 'Properties' to expand it and right-click 'Database Name: <path to database>'.
    3. Click 'Edit' and then type the path to the
    new data source location.
    4. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    Regards
    Girish Bhosale

  • Report is not pulling the data from multiprovider in BI 7.0

    Hi BW gurus,
    We have upgraded our BW systems from 3.5 to BI 7.0.
    According to our requirement we did some modifications(added some new cubes) to existing multiprovider. All the objects and assignments looks good in the multiprovider.
    We are facing a problem while executing the reports, report is not pulling any data from the particular multiprovider but I can see the data from the multiprovider.
    For any selection creteria we are getting the msg like "No applicable data found".
    Created a sample query with only two chars and two KF's no conditions, no exceptions still the report is not populating any data for any selection creteria.
    Appreaciate for your help in this regard.
      -BK

    Hi
    Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
    GTR

  • How can i pull out data from a spreadsheet only from the current month?

    Data is constantly being fed into a spreadsheet using a VI, this data comprises of such things as month, year, weights, std dev, etc.  I want to do some data manipulation on the current months data while the VI is running, how can I pull out only the data relating to the current month?  Each input into the spreadsheet stores the values for that run on one row, and there are perhaps 150 runs each month
    Any thoughts are greatefully received
    Thanks
    Ross
    Attachments:
    Results.xls ‏1 KB

    Hi Ross,
    I thought I would go away and make you an example VI for the results xls that you have sent me.
    Here it is:  I have added a few comments here and there but if you need more info please don't hessitate to post back on the forum
    Hope if helps
    AdamB
    National Instruments
    Applications Engineering Team Leader | National Instruments | UK & Ireland
    Attachments:
    MonthExtract.vi ‏43 KB

  • Pulling/Extracting Data from Multiple SAP Systems - Scripting, ABAP?

    Hello All,
    I am working as an analyst for a large company that has multiple SAP installations across the world.  What I am trying to do is create some global reporting metrics based on data from all of those systems on an ad-hoc basis without having the other units send the data to a central repository.  I can receive access to all of the systems but I am unsure how to pull the data. The access to one of the systems I have currently does not allow the use of ABAP or RFC but does allow scripting.  If I have a good business case I could ask for ABAP access and RFC as well.
    I have researched and read through many posts and articles within the forums but I am yet to find a solution.  I have experience in VB, VBA, and MS Access.
    Can anyone suggest any ways to move forward? 
    Thanks!

    According to my understanding, you may use vba in your excel or a just vb by programming against rfcsdk(librfc32.dll) or the newly nwrfcsdk, or use jco or nco..., but all these method are based on rfc function call.
    You may write a simple abap side data extraction agent, just a function select some table with the data you interest, and then call this function from outside regularly, then you may save the returned table to a csv then bcp to sqlserver(c + batch), or just write to excel sheets(vba).
    The simple table read function you may check RFC_READ_TABLE, but it has some limits and are not released. The more functional agent is also can be found from other vendors, eg ms sqlserver2005 kit`s sap adapter...
    I do not have idoc or services experience, maybe in that senerio you will find a easier solution.Good luck, you may reach me at <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Hide portlet in between some date of the month

    Hi all,
    I have a requirement to hide a perticular portlet in between some dates in a month.
    Say I want to show portlet from 1st of month to 15th o the month and hide portlet
    for rest of the month.
    How can I achive this.
    Can I do it through portal admin if yes how?
    Or i will have to do it programatically?
    Any help on this will be highly appreciated
    Thanks in advance
    Manish

    Right now, I don't think the entitlements support this type of
    day-of-month checking functionality directly. However, you can use a
    role and entitlement as part of a solution. You could have a servlet
    filter or your portal's skin's jsp or the portlet's backing file
    initialize a request attribute called DayOfMonth to the numeric day of
    the month from a java.util.Calendar. e,g.:
    request.setAttribute("DayOfMonth",
    new Integer(Calendar.getInstance().get(Calendar.DAY_OF_MONTH)));
    Then, in workshop, create a Request Property Set in data/request. Add a
    single-value, unrestricted Numeric property called DayOfMonth. Save the
    Request Property Set. In the admin portal, create a role whose condition
    checks the request's DayOfMonth property to be greater than or equal to
    1 and less than or equal to 15. Entitle the portlet to that role.
    Greg
    Manish wrote:
    Hi all,
    I have a requirement to hide a perticular portlet in between some dates in a month.
    Say I want to show portlet from 1st of month to 15th o the month and hide portlet
    for rest of the month.
    How can I achive this.
    Can I do it through portal admin if yes how?
    Or i will have to do it programatically?
    Any help on this will be highly appreciated
    Thanks in advance
    Manish

  • Cs3 Indesign problem - Pulling incorrect data from an .xlsm file.. please help

    Hello,
    I am hoping someone can provide me some answers here, as this problem has stumped me for a couple of days now.
    I am using Adobe Indesign Cs3 - and I have been pulling excel tables into the .indd file with no problem. However, I had to upragde my version of 2003 excel, to the newer 2007 version, which inlcluded having to update the base excel files to .xlsm from their previous .xls versions.
    I did not change anything else with the files.. simply used 'save as' to update the files.
    After the upgrade, I relinked all instances of tables for the .indd file, and all seemed to be fine. Except when I look at anything that was pulled in as a date, is now pulling in 4 years and one day behind what it is written as in the .xlsm file it is being pulled from.
    It doesnt make any sense to me how Indesign can be pulling in figures differently than how they are written in the Excel file it is pulling the data from.
    Hopefully this makes sense, and someone will be able to help me here
    Thanks
    J

    Aye.. the reason I have had to upgrade the excel files is because of the column limit in the .xls format. 2003 excel files will only allow columns up until the IV limit.. and my data now goes past that.
    Since Indesign seems to have a huge problem trying to draw excel data/tables from anything other than 1 worksheet in an excel file, Ive had to try and create an .xlsx or .xlsm file to give me the extra columns I need for my data.
    As for changing my source files.. that would be fine. Ive tried a few things with the dates, but nothing I've tried has worked so far. It reeks of a 1904 date system problem, becuase of the exact 4 years and one day off that indesign is pulling in (if you are familar with the 1904 date setting in excel, you will undertsand what Im saying) but why indesign is pulling in different data than what is visible in the source file is beyond me.
    Example, the source file has a date: July 15, 2010. Indesign is pulling in July 14, 2006.
    It is really bizzare.

  • Html- jsp- servlet to retrieve data from DB

    hi there, i'm a newbie of jsp programming and I'm trying to develop a simple application in order to retrieve some data from a database table. Then I want to display it.
    I read lots of examples but all of them used sql queries or java code into the jsp file. Actually I would like to respect the MVC structure as much as I can.
    The final thing shoul be like this:
    -type in a name into the search box implemented in the html file
    -the html file then calls the jsp wich get the typed in value and pass it to the servlet
    -the servlet which connects to DB and makes an SQL query using the typed in value, then send the result to the jsp
    -finally the jsp displays the result (in this case I'm trying to use displaytag (displaytag.sourceforge.net)).
    The code must still have to be checked for unuseful stuff but it compiles and this is enough by now.
    Here it is:
    cerca_agenzie.html
    <html>
      <head>
        <title>Cerca un'Agenzia</title>
      </head>
      <body bgcolor="white">
    <i>     Inserisci il nome dell'agenzia di cui si richiedono le informazioni o parte di esso e poi clicca sul pulsante "Cerca"</i>
        <form action="info_agenzie.jsp" method="get">
          <table>
              <td>Nome Agenzia:</td>
              <td><input type="text" name="cerca">
              </td>
            <tr>
              <td colspan=2><input type="submit" value="cerca"></td>
            </tr>
          </table>
        </form>
      </body>
    </html>
    info_agenzie.jsp
    <%@ page language="java" contentType="text/html" %>
    <%@ page import="andrea.*" %>
    <%@ page import="org.displaytag.sample.*" %>
    <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
    <jsp:useBean id="agenzie" class="andrea.Sessione" />
    <jsp:setProperty name="agenzie" property="*" />
    <html>
      <head>
        <title>Risultato Della Ricerca</title>
      </head>
      <body bgcolor="white">
         Sono state trovate le seguenti agenzie:
          <p>
         <display:table name="agenzie" list="requestScope.risultato.rows" decorator="org.displaytag.sample.Wrapper" >
         <display:column property="Indirizzo" title="ID" />
         <display:column property="Telefono" />
         </display:table>
      </body>
    </html>
    Sessione.java
    /*=========================================================
    Sessione.java          
    si connette al DB e recupera le informazioni sulle agenzie
    ==========================================================*/
    package andrea;
    import org.apache.commons.beanutils.RowSetDynaClass;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Sessione extends HttpServlet {
    private String cerca;
    private RowSetDynaClass resultset;
    private RowSetDynaClass risultato;
    /*======================
    metodo getter del bean
    ======================*/
    public RowSetDynaClass getRisultato() {
         return risultato;
    /*======================
    metodo setter del bean
    ======================*/
    void setCerca(String cerca) {
            this.cerca = cerca;
    /*===========
      form get
    ============*/
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
         RowSetDynaClass risultato = connectToDB(cerca);
            req.setAttribute("risultato",risultato);
         String nextJSP = "/info_agenzie.jsp";
         RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(nextJSP);
         dispatcher.forward(req,res);
    /*====================================================================================================
    doSelect restituisce: 1. tutti i dati di tutte le agenzie se la form viene lasciata vuota
                           2. tutti i dati dell'agenzia corrispondente al valore del campo descrizione
    =====================================================================================================*/
    public ResultSet doSelect(Statement st, String s) {
         ResultSet rs = null;
         if (s == "") {
              try {
                   rs = st.executeQuery("SELECT * FROM agenzie ORDER BY descrizione");
              catch (SQLException e) {
                   System.out.println(e);
         else {
              try {
                   rs = st.executeQuery("SELECT * FROM agenzie WHERE descrizione LIKE %\""+s+"\"% ORDER BY
    descrizione");
              catch (SQLException e) {
                   System.out.println(e);
         return rs;
    /*=============================================================
    connectToDB esegue la doSelect e invia il risultato alla jsp
    ==============================================================*/
    public RowSetDynaClass connectToDB(String sel) {
         Connection conn = null;
         ResultSet rs=null;
         try {
              Class.forName("com.mysql.jdbc.Driver"); //carica il driver per MYSQL
              conn = DriverManager.getConnection("jdbc:mysql://82.51.248.50/progestimm?user=root&password=ak47posse");
    //log in al database
              Statement stmt = conn.createStatement(); //necessario per fare le query
              rs = doSelect(stmt,sel);
              resultset = new RowSetDynaClass(rs, false);
              try {
                   rs.close(); }
              catch(SQLException e) {
                   System.out.println(e); }
         catch (ClassNotFoundException e) {
               System.out.println(e);
         catch (SQLException e) {
              System.out.println(e);
         finally {
              try {
                   if (conn != null) conn.close();
              catch (SQLException e) {
                   System.out.println(e);
         return resultset;
    }Thanks in advance for your kindness,
    Andrea

    These values are from a form MStatus1.jsp which are
    retrieved by a javabean named fileuploadbean:And you are sure those values are actually set? Besides, accessing fields by name strings strikes me as a little bit odd and un-OOish. But oh well..
    The name strings are the names of the controls on the MStatus1.jsp file.
    The controls are having their values from database which are no doubt visible on the MStatus1.jsp page.
    on MStatus1.jsp page i have a button on whose click the servlet is called which uses fileuploadbean to retrieve the values from MStatus1.jsp page.
    Message was edited by:
    aarohan_jamwal

  • Alternative to 2lis_01_S507 extractor to pull Planned data in BW

    HI Experts,
    Currently we are using 2LIS_01_S507 extractor to pull the Planned data from R/3 (S507 table), as most of you are aware beause of *LIS type of extraction this load takes huge lot of time hence we are pulling this data in BW on Monthly basis.Now as a part of business requirement it is needed to pull the planned data (from tcode :MC94) on Daily routine .  Actually , we don't want to extract the same data from this extractor and looking for some alternative in LO's , we tried a lot but was not able to find an alternative to pull the same kind of data from any other extractor/table
    If any of you can please suggest any relevant table or any other LO type of extractor with which we can select similar data as from Tcode MC94 in R3 or table S507.
    Regards ,
    Rahul

    Well if you have a lot of data i recommend to have many init of setup tables, checkif you can use filters in setup table transaction for load data in many parts... so you can have many loads with little delay....
    Regards

  • 0fi_gl_4 init is not pulling any data

    Hi All,
      We have ofi_gl_4 installed and running fine with deltas. We thought of reinitializing the delta because of some business reasons. I deleted the delta initialization and started delta initialization with data transfer with Fiscal Year/Period selection. It is not pulling any records and it is saying there is no new delta since last extraction. I'm sure there is data as this extractor pulled the data so far for this period.
      Then I thought of testing this using RSA3. Even RSA3 is not pulling any data. But there is data in BKPF/BSEG for this periods.
    The extractor is putting the correct time stamps in BWOM2_TIMEST and all other entries in tables like TPS31, BWOM_SETTINGS are all okay.
    Did any body faced this problem? Is there any change in the FI extractors recently?
    Your help is greatly appreciated.
    Thanks,
    Trinadha

    Hello Trinadha,
    You may want to have a look at OSS note 640633. Following is the text from note.
    Hope it helps.
    Regards,
    Praveen
    Symptom
    Deleting the Init 0FI_GL_4 deletes all BWFI_AEDAT data
    Other terms
    0fi_gl_4, 0fi_ar_4, 0fi_ap_4, 0fi_tx_4, BWFI_AEDAT, BWFI
    Reason and Prerequisites
    The system was intentionally programmed like this.
    Solution
    The error is corrected in the standard system with PI 2004.1.
    The reset logic is changed with this note so that during the reset, the DataSources 0FI_4 only delete their own entries in the initial selection table (ROOSPRMSF) and in the time stamp table (BWOM2TIMEST). The data of the table BWFI_AEDAT is, however, only deleted if no more 0FI__4 DataSources are active.
    Proceed as follows for the advance correction:
    1. Install the code in function module BWFIT_RESET_TIMESTAMPS or include LBWFITTOP.
    2. Create an executable program ZFCORR_BW_02 with transaction /NSE38.
    Program title:        Change 0FI_*_4 DataSources.
    Selection texts:      Name Text
                           OBJVERS Version
                            OLTPSOUR DataSource
    Implement the source code of program ZFCORR_BW_02.
    Execute the program for the DataSources 0FI_AR_4, 0FI_AP_4 and 0FI_TX_4. The program uses the BWFIT_RESET_TIMESTAMPS function module as a reset module for these DataSources.

  • Delta Load is not pulling any data....Need to Run Full Repair EVERYTIME ? ?

    Dear Experts,
    Today again I need your help gurus.
    The Delta load is running everyday but its not getting any data to BW form CRM. But when the User raises an issue regarding the data , I pull the data by Repair Full load by some Selection ( Same selection of Delta + Transaction No ).
    The selection(For Full Repair Load ) is only the Transaction No and the Sales Organization.
    The selection for the normal Delta is Sales Organization ( 0CRM_SALORG ) 50000609.
    But I am confused about the issue.
    Kindly put some light on this issueu2026
    Thanks,
    Sanjana

    Hi Sanjana:
       Have you applied any SAP Note to fix this problem? Please check if the SAP Note below helps you in solving this issue.
    Note 788172 - "CRM BW adapter: No data in delta with parallel processing"
    Regards,
    Francisco Milán.

  • Pulling differential data from the cache

    Hi,
    I am using LCDS 2.6 in my application. My application is using DMS to pull data from the EhCache which inturn gets refreshed from the database. Now once I receive a piece of data, it will not change in the future. Only new data would get appended to it. Hence I would just be needing the differential data and not the entire data. Currently after a regular interval, I use the DataService to hit the cache and get the whole data again which includes the older data as well as the newly appended data since I have the VOs mapped on both Flex and java ends using assemblers.
    What I now want is that I don't want to again pull the data that has already come in. I just need the new data that has got appended to the original data. Is there any way that the LCDS would itself get to know about the differential data and notify the client.
    Please note that the LCDS service hits the EhCache using assemblers and is not directly mapped to the database.
    I am currently in the design phase and would really need help on this.
    Looking forward to your replies on this.
    Thanks and Regards,
    Shally

    I believe data is being added to the store (in this case EhCache) from some other location. You need to notify LCDS that you are adding/removing/modifying data in the store directly, LCDS will then evaluate the change and send updates to relevant clients.
    You do this using the DataServiceTransaction API. http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/flex/data/DataServiceTransacti on.html
    Inside the same webapp as the one in which LCDS is running, on adding an object, you need to begin() a DST, call createItem() to notify LCDS that you have added a new item and then commit() the DST to send messages to clients.

  • Pull the data from Azure sql and load into the on premises data base

    Hi friends,
    I have small requirement here, I have to pull the data from Azure sql and load it to the on premises data base.
    I am using Azure sync process to do that, but it will take so much time to do that..
    I know that azure have some limitations, is there any other way to do this..
    Please help me on this...

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

Maybe you are looking for

  • Why does my Macbook freeze when I try to transfer my Powerbook files

    Hello out there I have been having trouble with my PB and could not retrieve any of my files... the bash shell appeared. I thought my files were gone forever. I was able to find my HD through utility disk, great! The problem is that I am trying to re

  • Adobe Photoshop CS3 Extended Activation Problem

    Hi all, hoping someone can help me. I have a legitimate hard copy of Adobe Photoshop CS3 Extended which was only recently taken out of its sealed package. On installing and trying to activate I get an error. Now i am left with a window telling me "Re

  • Can you create a user entered text field that flows content in a subform?

    I am working on a conversion project taking a document library of over 600 forms from Word into PDF, for the most part it's simple and binding fields to the database schema and using subforms is working quite well - however, there are some instances

  • Problem in reading this particular text file, what is the problem with it..

    Hai to all.., I had developed an application to read the text file that is stored in my computer from mobile, all are working fine but some files create problems in reading the file content, like the file i had attached with this.. Can any one please

  • Is image editing easier on more recent versions?

    I run a small website and am trying to decide if I should purchase this software for editing, or if I can get by with an older copy as easy, or something else free online? Is there any advantage of this over a 3-4 year old copy? Will images look bett