Automatic change of data selection for full update

Hi,
I have created datasource for full update and load data mannulay on weekly basis by date selection in infopackage.
If I want to schedule the job on weekly basis, is there any way to change the date selection in infopackage for each data load.
i.e. if the previous range was 1st to 7th for full update, then next it should become 8th to 14th.
Regards,
Pravin.

Hi,
Go to that infopackage - dataselection tab - calday field - there will you will  type  (near to TO value ) - there enter 6 for abap routine and give the name..
Eg :
data: l_idx like sy-tabix.
          read table l_t_range with key
               fieldname = 'XXXXXX'.  " XXX- techname
              l_idx = sy-tabix.
data : date_low like sy-datum,
        date_high like sy-datum.
        date_high = sy-datum - 1.
        date_low  = sy-datum - 5.
        l_t_range-low = date_low.
        l_t_range-high = date_high.
        l_t_range-sign = 'I'.
        l_t_range-option = 'BT'.
          modify l_t_range index l_idx.
          p_subrc = 0.
Here in the above eg , we are loading daily data from the interval of last 5 days.. ( from 03.02 to 07.02.08)
Hope you have got an idea..
Regards,
Siva.

Similar Messages

  • Need a single point of view on date selections for Delta and Full load IP's

    Hi Experts,
    Every year we are facing issues on date selections for data extraction, for example the Delta or Full selections for particular IP is like 2005 to 2008 , in this situation, for the year 2009, this IP is picking 0 records as the selections are upto 2008 only.
    My requirement is, I need to check the selections of all the IP's in the system and want to change on need base if the selections are getting expired instead of going and checking manually to each and every IP as the system is having around 3000 IP's, which is a tedious job.
    Guys, please let us know if there exits a Table/Program or any other way to check it.
    Inputs appreciated.
    Regards
    Nandu

    Hi
    Persistent through module RSSM_SHIP_PSEUDO_DVERSION_WRI
    Primary table RSLDPIOSH
    RSLDPIO Links datasource to infopackages
    RSLDPIOT InfoPackage Text Description
    RSLDPRULE ABAP source code for InfoPackages
    RSLDPSEL Hardcoded selections in InfoPackages
    RSMONICDP Contains the request-id number by data target
    RSPAKPOS List of InfoPackage Groups / InfoPackages
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/20d704d45be7458582cdfcc5487090/frameset.htm
    Hope it helps

  • Why does iCal automatically change the date of the entry i am making to the day before??

    why does iCal automatically change the date of the entry i am making to the day before??
    for example, when i am attempting to make a 'all-day' appointment on october 2nd 2011, it automatically shifts it to october 1st.
    but if i am doing a timed appointment for only a few hours, it will allow me to put it on that day.
    i am trying to put in travel dates so any help on how to fix this, would be greatly appreciated.

    alsdman,
    Quit iCal, and try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. Since that Library is now hidden, you have to use the Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart and check iCal for functionality.
    Also go to System Preferences...>Language & Text>Formats>Region: and set/re-set the appropriate "Region."

  • Change the data selection tab page in an InfoPackage

    Hi SDN Community,
    Is it possible to have an Infopackage and change the data selection tab page ? Because  I would like to know if  I can change the select-options by a parameter.
    For example: Now you can enter 01.01.1950 as the start date and 31.12.9999 as the end date,
                          I only want that the user enter the start date.
    Thanks a lot,
    best regards.
    Ana

    Yes, I tried an abap routine option and the result is not good because the user can't put the information in the low (start date) parameter.
    Thanks

  • No data selected for printing in production server t.code J1INCERT

    Dear Gurusl,
    I am facing a issue to tds certificate printout through t.code J1INCERT in production server. My client has booked the invoice in the month of march 2011 & remittance, bank updation is done in the month of 30th Apr. 2011. But while taking the printing out it the error No data selected for printing 8000I. So I need some permanent solution.
    For invoice booking fiscal year is 2010 & remittance, bank updation it is 2011.
    Regards
    Sachin Patil

    Dear:
               Check whether you have selected the relevant tax types for invoice posting while posting the vendor invoice. If its correct then Vendor Master data, Section/Business Place code Address data. Check tables in SE11
    J_1IEWT_CERT_N
    J_1IEWTCALID_N
    J_1IEWTNUMGR_N
    In these tables section codes might have been maintained directly. Please check these for any discrepancies.
    Regards

  • Execution of  infopackage by change in data selection without client open

    Hi,
    In BI Prd if we suppose to execute a infopackage manually by changing its data selection then how to execute with out opening client.
    Regards,
    Kiran

    Kiran,
    I think in your Production system infopackages are set to not changeble,
    Make it Changeble then it works.
    RSA1 --> Transport Connection --> Object changebility --> Infopackage --> from context menu choose --> comple changeble.
    After this no need to open client. To do above changes may need to open client.
    Hope it helps
    Srini

  • How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors

    Hi SAP Gurus,
    Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
    Regards
    Mohan

    Hi Ramakrishnappa,
    If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
    Regards,
    Mukthar

  • How do I change the image selected for the finalized movies pane in all events?

    How do I change the image selected for the finalized movies pane in all events? I made a movie some time ago in iMovie, and a still from this now appears as the image for Finalized Movies in the All Events pane (as well as showing up if I then click on this pane to take me to Finalized Movies). Anyone know how to change or delete this image, please?

    Unfortunately, the suggested solution in that thread does not work and the thread appears to be closed to replies.  That is, even though I am logged in the Reply|Quote|Mark as answer|Report as abuse items are missing.
    The suggested solution is:
    First, I found I had "img100.png" in  C:\Windows\Web\Screen  and
    C:\Windows\WinSxS\x86_microsoft-windows-themeui-client_31bf3856ad364e35_6.2.9200.16384_none_69ee3fa2269e545e
    1. Belonging to the Administrators Group, I replaced file Owner TrustedInstaller with my Username on both "img100.png" files
    2. After resizing the image I wanted to see on the Login screen to the resolution of "img100.png" file,
    I copied and pasted it to both "img100.png" files keeping this way the format (extension) and resolution of the original "img100.png" file,
    which I permanently deleted.
    However, I have not been able to replace the img100.pgn in C:\Windows\Web\Screen even after taking ownership of it and setting the permissions for my userid to All.  I edit it with mspaint and then try to save it. The save starts that then says the
    save was interrupted.
    The appears to be some additional protection besides the standard acls.
    http://www.saberman.com

  • No data selected for printing  message no 8I000

    Dear All
    At the  time of printing J1INCHLN certificate getting error NO DATA SELECTED FOR PRINTING MESSAGE NO 8I000 , where we have data in vendor's A/C and TDS is deducted at vendor's A/C .
    Some vendor under the same section allow us to print the certificate, but the in case of few vendors we r
    facing the problem.
    As we need to send the same to vendors help is needed.
    VG.

    we sorted out the issue

  • Message No: 8I000 - No data selected for printing

    Dear All,
    I need inputs for resolving this.....please help me out...
    Issue Description:
       When i am doing J1INCERT, for one company code it is working properly...but for one specific company code it is giving the error that No data selected for priting (message no 8I000) that to specifically in one client only....where for the same company code in another client it is working.
    I've checked all the settings, and tables which are client specific, and finally i didnt succeded in finding the route cause of the error.
    Can someone have any idea why this error is coming.....and can give some insight abt this to resolve.
    Thanks
    Raja

    we sorted out the issue

  • Variable data solution for full color variable inkjet printing

    Looking for a variable data solution for full color variable inkjet printing.
    Currently we use objective lune  / Planet press and it is not keeping up with the times...any adobe products that might be suitable??
    Thanks
    Everett

    Hi Everett,
    I am an employee of Objectif Lune and just stumbled upon this post.
    I am sorry to hear that you feel that way about PlanetPress.
    As we highly value feedback from our users to continuously improve our products, I would like to know why you think PlanetPress is underperforming so I can pass it onto our team. Please email me at [email protected] if you would like to share your frustrations.
    Thank-you and looking forward to hearing from you.
    Cheers,
    Nancy

  • Trying to change the data source for a Crystal Report.

    <p>The method below represents my best attempt to programatically change the data source of a Crystal Report. The goal is to have a routine that will update the data source for reports after they have been distributed to production servers. So far I have not been successful in saving the report back to the CMS. No exceptions are thrown, but when I view the Database Configuration of the report in the CMC nothing has changed.
    </p>
    <p>
    Am I missing a step, or is there another way to accomplish this?
    </p>
    <p>
    Thank you.
    </p>
    <hr />
    <pre>
    private void test(String reportName)
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects;
       IInfoObject reportObj;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dc;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
       Fields connFields = null;
       String queryStr = "Select * From CI_INFOOBJECTS " +
          "Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
       newInfoObjects = getCms().executeQuery(queryStr);
       if(newInfoObjects.size() > 0)
          reportObj = (IInfoObject)newInfoObjects.get(0);
          try
             clientDoc = getCms().getReportAppFactory().openDocument(
                reportObj
                , OpenReportOptions._refreshRepositoryObjects
                , java.util.Locale.US);
             dc = clientDoc.getDatabaseController();
             conInfos = dc.getConnectionInfos(null);
             for(int i = 0; i < conInfos.size(); ++i)
                oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
                newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                pBag = newConInfo.getAttributes();
                pBag.putStringValue("QE_ServerDescription", "alio");
                logonProps = new PropertyBag();
                logonProps.putStringValue("Trusted_Connection", "false");
                logonProps.putStringValue("Server", "alio");
                pBag.put("QE_LogonProperties", logonProps);
                newConInfo.setUserName("admin");
                newConInfo.setPassword("password");
                dc.replaceConnection(
                   oldConInfo
                   , newConInfo
                   , connFields
                   , connOptions);
          catch(ReportSDKServerException Ex)
             String msg = "A server error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          catch(Exception Ex)
             String msg = "An error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          finally
             clientDoc.save();
             getCms().commitToInfoStore(newInfoObjects);
             clientDoc.close();
    </pre>
    Edited by: Mark Young on Sep 10, 2009 2:16 PM

    <style type="text/css">
    /<![CDATA[/
        body
            font-size: 1.125em;
              font-family: helvetica,arial,"sans-serif";
          .code{font-family: "courier new",courier,mono,monospace}
          .bi{font-style: italic; font-weight: bold;}
    /]]>/
    </style>
    <p>Justin,</p>
    <p>
    Thank you for the reply. Time constraints have not allowed me to post back to this tread
    till now. I will try your suggestion. My assumption is that <i>Save the report back to the
    info store</i> refers to <span class="code">IInfoStore.commit(IInfoObjects)</span>.
    </p>
    <p>
    I'm afraid that I do not understand why I don't want to change the report client document,
    or why <i>successfully exporting the report with the new login/password</i> is not what I
    want to do. Any explanation on that statement would be appreciated.
    </p>
    <p>
    I did find a way to accomplish my goal. It involved adding the SSOKEY property to the
    logon property bag. Below you'll see my revised code which modifies the report logon and
    server. I have no idea what
    this does, and SAP support has not been able to tell me why it works. However, what I
    discovered is that if I changed the report option, <b>Database Configuration -> When
    viewing report:</b>, in the CMS to <span class="bi">Use same database logon as when report
    is run</span> from <span class="bi">Prompt the user for database logon</span>, then the
    SSOKEY property had been added to the logon property bag having an empty string as its
    value. This allowed me to successfullyupdate and save the modified logon back to the CMS.
    </p>
    <p>
    So I took a chance and added code to always add the SSOKEY property with an empty string
    as its value, and I could then successfully modify and save the report's logon info
    and server. Again, I don't know what this means, but it has worked so far. If anyone has
    some insight or comments, either are welcome. Thank you in advance.
    </p>
    <br />
    <hr />
    <pre>
    private void changeDataSourceOfAWFCrystalReports()
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects = null;
       IInfoObject reportObj = null;
       IReport curReport = null;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dbController;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
       Fields connFields = null;
       String outputStr;
       int numOfReports;
       int numOfQueryPages;
       double progressIncrementPerPage = 30;
       int progressIncrementPerReport = 0;
       // Path query to reports is in a .properties file.
       String queryStr = getAppSettingsFile().getWscAwfCrystalReportPathQuery();
       try
          // Executes IInfoStore.getPageingQuery() and generates a list of queries.
          getCms().setPathQueryQueries(queryStr, 100);
          numOfQueryPages = 0;
          // Gets a List&lt;String&gt; of the IPageResult returned from IInfoStore.getPageingQuery().
          if(getCms().getPathQueryQueries() != null)
             numOfQueryPages = getCms().getPathQueryQueries().size();
          if(numOfQueryPages &gt; 0)
             // Use 30% of progress bar for the following loop.
             progressIncrementPerPage = Math.floor(30.0/(double)numOfQueryPages);
          for(int queryPageIndex = 0; queryPageIndex &lt; numOfQueryPages; ++queryPageIndex)
             // Gets the IInfoObjects returned from the current page query
             newInfoObjects = getCms().getPathQueryResultSetPage(queryPageIndex);
             numOfReports = newInfoObjects.size();
             if(newInfoObjects != null && numOfReports &gt; 0)
                progressIncrementPerReport =
                   Math.round((float)Math.floor(progressIncrementPerPage/(double)numOfReports));
                for(int reportIndex = 0; reportIndex &lt; numOfReports; ++reportIndex)
                   reportObj = (IInfoObject)newInfoObjects.get(reportIndex);
                   curReport = (IReport)reportObj;
                   clientDoc = getCms().getReportAppFactory().openDocument(
                      reportObj
                      , OpenReportOptions._refreshRepositoryObjects
                      , java.util.Locale.US);
                   dbController = clientDoc.getDatabaseController();
                   conInfos = dbController.getConnectionInfos(null);
                   for(int conInfosIndex = 0; conInfosIndex &lt; conInfos.size(); ++conInfosIndex)
                      oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                      newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                      pBag = newConInfo.getAttributes();
                      pBag.putStringValue(
                         "QE_ServerDescription"
                         ,getConfigFile().getDBDataSourceConnections());
                      logonProps = new PropertyBag();
                      logonProps.putStringValue("Trusted_Connection", "false");
                      <b>logonProps.putStringValue("SSOKEY", "");</b>
                      logonProps.putStringValue(
                         "Server"
                         ,getConfigFile().getDBDataSourceConnections());
                      pBag.put("QE_LogonProperties", logonProps);
                      newConInfo.setUserName(getConfigFile().getUNVConnectionUserName());
                      newConInfo.setPassword(getConfigFile().getUNVConnectionPasswordDecrypted());
                      dbController.replaceConnection(
                         oldConInfo
                         , newConInfo
                         , connFields
                         , connOptions);
                      newConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                   } // end for on conInfosIndex
                   clientDoc.save();
                } // end for on reportIndex
             } // end if on newInfoObjects
          } // end for on queryPageIndex
       } // end try
       catch(ReportSDKServerException Ex)
          // handle...
       catch(Exception Ex)
          // handle...
       finally
          getCms().commitToInfoStore(newInfoObjects);
          if(clientDoc != null)
             clientDoc.close();
    </pre>

  • Start Data Selection for Header Tabels fail

    Hi!
    The above mentioned activity fails because tabels COEP and COBK are vergy large and it seems that I run into a time out.
    I found the note:
    1166229 - Customizing the select statement within Fill Header Reports
    I' am not a CO spezialist and I don't know which field I could take to add additional selection criterias on this tabels.
    As much as I understand this tabel save CO data and since I transfer with TDMS just the last 2 month of our production system, my idea is to select e.g. just year 2009 for COEP and COBK.
    Any hint or proposals??
    BR
    Werner

    Hi,
    1. Check if all the recommendations as per note 890797 are followed.
    2. If yes, run the troubleshooter for the activity.
    3. Here, under "Change Technical Settings for Conversion Objects", change the size category for the table to Large.
    4. Go back to the Troubleshooter screen and run "Troubleshooter for Conversion Objects" -> "Automatic Repair"
    5. Restart Data Selection
    Hope this resolves the issue.
    Regards,
    Suman

  • How to change the Data Foundation for an existing Business Element

    My Issue:
    I have quite a few reports that use the same Business View. The Business View has an under lying Data Foundation that uses a Dynamic Data Connection (DDC). I no longer want to use this DDC because production users are complaining they do not want to have to select a data source each time (multiple times when the report includes sub reports) they run/refresh their reports.
    The Holy Grail:
    I would like to change the Data Foundation that my Business Element layer is built upon and use another data foundation with identical tables, linking, and fields. The new data foundation would be using a production connection. This solves my immediate issue and has a great side benefit of providing a convenient way to promote reports from development to stage/test, to production and would not require production users  to have to select which environment they want their report to run against.
    I am logged in to BVM as administrator:
    When I look at the Business Element layer Property Browser,  I see a Data Foundation Property but is is disabled (such that it can not be changed).
    Is there a way to change the Data Foundation that is used by an existing Business Element layer ?
    I'd appreciate any help that someone can offer on this topic. Even if it is not possible and someone can shed some light on why this would not work or would not be a good idea, I'd be interested in learning

    Technically No the system will not allow you to change as it is involved with many depreciation areas and change is not permitted for control reason.
    You only need to retire the asset, reverse the postings, assign correctly and repost the values.

  • BW Master data delta generic data source for further update in BW

    Hi BWers,
    I am looking for an option to load delta from Master data to another master data within BW. Export data source option for master data only has full load option but no delta update possible.
    I tried creating generic data source delta enabled on view of master data (/BI/M). But the problem I am facing now is master data contains quantity field as attribute and this field refers another table RSDKYF for unit. To be able to create data source on view / table no field should refer field in another table.
    Did anybody create delta for master data for further loading within BW or came across similar issue with key figures, please let me know the best procedure in this scenario? Appreciate your quick response.
    Regards,
    Madhav

    In your master data attribute have a date field which will be filled by the R/3 load as sy-datum - then create an export datasource and in the infopackage - give a selectoion for the date field as sy-datum and sy-datum -1..
    Not exactly a delta but then usually master data is not kept as delta because the volumes are usually less - you can achieve delta by this method...

Maybe you are looking for

  • Creating Domain stuck at 0% -Oracle PFRD 11g - Windows 7 64-bit -laptop

    Someone can help me? I installed Oracle Portal, Forms, Reports and Discoverer on Win7. I have install: jdk 1.7.0 64bit Oracle db 11g (64bit) Oracle client 11g (32bit) Oracle Weblogic 1035 (wls1035_generic.jar) Oracle Portal, Forms, Reports and Discov

  • Best way to create DVD

    I've exported a movie that I created in FCP 3 to a Quicktime file. I would like to burn the movie to a DVD that I can play on a DVD player. I've been trying to use iDVD 4, but its not recognizing the audio in my quicktime file. Is there another way t

  • 10.4.11 to 10.5.4

    Hello and happy holidays to all, I'm having problems installing Leopard - v 10.5.4 on my Powerbook that is using Tiger - v 10.4.11. When I try to run the install from the disc, I get a message that says; "Unable to install on this computer." I've got

  • Network stream get IP address of the other side

    Hello  If I wire the reader url (computer A) input of the Writer Endpoint function in computer B, the Network Stream will run. Then how can I get the IP address of computer B in computer A. Thanks.

  • Can one change the built-in dictionary for IoS Adobe Reader?

    I'd like to change it to another language. Are there built-in dictionaries in languages other than English? Or can you link it to another offline dictionary on your device so you can use the 'Define' feature directly? Thanks.