Date selection in Infopackage

Hi Folks,
  I have a new info provider. Its not been loaded yet. I have to load data from 01/01/2007 to current date. I have done init load from 01/01/2007 to 11/22/2007 by selection option. It went successfully. Now when I am doing delta loads its bringing changed data only from 01/01/2007 to 11/22/2007.Its not bringing data from Nov 22 i.e its not loading any new data from nov 22. In delta infopackage its automatically converting the selection date  01/01/2007 to 11/22/2007 which is similar to init.What I need is changed data from 01/01/2007 to current date.Any help.

Hi,
Do one thing.Do a full load with selection condition from 01/01/2007 to current date.Then do init without data transfer.Then run the delta.So what all changes happened in the data will be laoded into the Cube.
I think since this is a new data target,there is no harm if u do without selection conditions in the init.
Since if you do init with selection conditions,the delta will run with based on the seletion paramteres which you gave in the init.
Thanks & Regards,
Suchitra.V

Similar Messages

  • How to change date selections at Infopackage data selections in production sys

    Hi All ,
    we are loading data into Infocube from datasource ,one process chain for delta init with data transfor  ,which has data selections at infopackage say 06.2014 and other process chain for delta which has same selections at infopackage . Now I want change this data selections  at Infopackage level .
    I Have tried to change these dates in data selections at infopackage level , tho I have changed and saved to future date at delta initial with data transfor ,it's keep coming back to 06.2014. Of course data selection at delta Infopackage level is faded .
    I Want to set future date with delta int with disturbing delta loads . How to do it please .
    regards
    hari

    Hi Ram,
    We will  load delta Intial with data transfer every weekend , and we run delta everyday , because we do delta init with data transfer with selections say ( 01.20011 to 12.2003 ) every weekend , hope I need to create new delta infopack  with new data selections say ( 01.2004 to 12.9999) only  to get update data in Infocube.
    Please correct me if I am wrong .
    Regards
    hari

  • Data Selection in Infopackage not picked.

    Hi,
    I have a generic datasource. I have data selections in the Infopackage. Say, I have Data selection for Plant as "5000". But, data for all Plants are getting pulled for all Plants. Why is this Selection not picked ?
    Thanks.

    hi, what type of datasource is yours.. is the selection parameter handled in the definition of ur datasource?

  • Data selection in infopackage to exclude 3 values

    Hi,
    I want to exclude 3 values for ZCOUNTRY field in the data selection of an infopackage. I don't want to do this using start routine(in transfer structure or update rules). I just need to do the coding in infopackage level. Can anybody plz tell me the ABAP coding for this in detail?
    Thanks,
    Chandan

    Hi,
    correct, but once you have defined an ABAP routine in your IPack for the country (select type 6 "ABAP" in the IPack selection of the country) why not to exclude the countries directly?
    I've never had this req but the hereunder should work (it should exclude countries US and CA from the selection)
    data: wa_range LIKE rssdlrange.
    READ TABLE l_t_range with key fieldname = 'COUNTRY'.
    MOVE l_t_range-iobjnm TO wa_range-iobjnm.
    MOVE l_t_range-fieldname TO wa_range-fieldname .
    MOVE 'E' TO wa_range-sign.
    MOVE 'EQ'    TO wa_range-option.
    MOVE 'US' TO wa_range-low.
    CLEAR l_t_range-high.
    APPEND wa_range TO l_t_range.
    MOVE 'CA' TO wa_range-low.
    APPEND wa_range TO l_t_range.
    p_subrc = 0.
    hope this helps...
    Olivier.

  • Error in data selection of Infopackage

    Hi,
    My infopackage is failing with "Error in data selection". RSM 340 is the error message number.
    Datasoucre: 0FI_AP_4
    I have checked
    1. Timestamp--consistent
    2.Reactivated and replicated datasource
    3.Checked SM58 in both BW and source systems and found it OK
    I have taken Source jobs for 1 succesfull infopackage run and 1 unsucessfull infopackage run.
    I see that Job log for unsucessfull has no call to customer enhancement and no data selection is done thereby.
    i am attaching the job logs for 1 successful and 1 unsuccessful case. Please check and let me know the gap that is contributing to this error.

    Hi nayab,
    You and harish works at same location?
    i seen same issue from harish as well.
    http://scn.sap.com/thread/3578278
    Thanks

  • Abap Routine for Date selection in Infopackage

    Hi
    I have to write an abap routine for date selections in the infopackage,
    There are two date begda and enda.
    Do i code for BEGDA and fill in the begin date using routine and use another routine to fill the ENDA.
    JPJP

    Hi JP,
      If you have two info objects BEGDA and ENDA in the Info package for selection
      then you will have to write seperate routine for each of them.
      If you want to give single value for each date field then update only the field l_t_range- low otherwise if you want to give range then you can update the internal table fields l_t_range-low and l_t_range-high .
    Regards,
    Prakash

  • Date Selection in InfoPackage Scheduler

    I am having problem in loading the data from the InfoPackage under the selection options for the "Date". When I try to enter a range of date like 12-2-2008 to 18-2-2008, I cannot load any data and it monitor screen return in 0 records, when I enter the date like 12-2-2008, the the data can be extracted out succesffully and return in 42 records.
    I try to extract the data in RSA3, I enter the same thing for the range of values: 12-2-2008 to 18-2-2008, I manage to extract the records for the date 12-2-2008 only, which is 42 records, but the correct amount records from the range of the date should be 120 records. But the log only show 42 records in this case, and the extraction did not perform successfully to extract the data between the date: 12-2-2008 to 18-2-2008. When I enter single value: 12-2-2008, the extraction return to 42 records.
    It will be appreciated if someone here can help me here. Thanks =)

    Hi Toffee,
    in RSA3 by default the no. of records will be 100 increase to 1000 ro 2000
    give the date range you may see all the records
    hope this helps
    thanks
    kishore

  • Data Selection at infopackage

    Hi BI Experts,
    I have created an ABAP routine for sales document type (0doc_type) on Data Selection Tab to restrict the volume of data extracting from transactional DSO to the cube and the infoobject is part of the selection table as well.
    In order to speed up the data extraction process, I also added an index (0doc-type) on the DSO. But, when I analysed the code on ST05, the database optimizer did not use the index on its SQL statement. It used the different document types specified in the ABAP routine on WHERE condition but did the TABLE FULL ACCESS /BIC/AZO_SOP_100.
    Do I need create index when defining selections at the infopackage? If so, why the database optimizer did not use it?
    Could you help me on this matter please?
    Thanks.

    Hi,
    if You use or have a full Table scann = read all the data in a table than an index makes obviously no sence.
    This is what the database thinks. All Data = no Index access necessary.
    You try to can overcome this  if You do not need all columns and build an index on the columns You need.
    Than, hopefully, you get a "full index scan".
    Best
    Martin

  • Automated filling of Data Selection in Infopackage

    Hello guys,
    I want to automate a process of filling data into BW 35. I'm using R/3 IS-U, the data model is for cleared items in FI/CA (0FC_CI_01). In order to load data in BW, I have to run FPBW in the source system with a date and a run id as parameters and then the infopackage in BW must contain in the Data Selection tab the exact date and run id as in the IS-U system.
    So...I know it's possible to run a process chain using an abap program which calls remotely fpbw with those parameters in the R3 system, but how could I complete automatically those params in the BW Infopackage Data Selection tab with the exact values that were given in R3?
    Thankfully,
    Tudor

    Hello Sairam
    , well I was hoping to find an answer on the SDN. In case I won't receive any answer, I'll put a message on the Marketplace.
    If I'll receive and answer (or if perhaps you'll do please mail me at [email protected]) I'll write back.
    Good luck,
    Tudor

  • How to populate data selection in infopackage from spreadsheet

    Hello,
    I have to load data for thousands of missing CRM orders into BI via the BI-CRM extractor 0CRM_SALES_ORDER_I . We have list of those missing orders in a spreadsheet.
    How do I  populate these order numbers into the data selection tab of the data source?
    I tried adding multiple orders at a time..butit doesnt load any data. On the other hand, when I was loading a single order at a time, it does load all the data.
    Loading thousands of them manually will be a hectic job
    Also, I cannot use ranges as they are not at all in range
    Can somebody provide a workaround which hopefully will not involve any transports
    Thanks!

    This seems to be really cool! and I am able to open the editor in production too...
    The only problem is I really have not ides how we can pass the parameters here..how we get the program to look up a spreadsheet and populate those records
    Thanks for your input..it will be really helpful if you can provide me anymore information you have on htis..in the meanwhile, I will be doing some trial and error myself
    thanks!

  • ABAP Code Date Selection for InfoPackage Scheduler

    Hello Group
    I need to automate the selection of valid condition records for an extraction that have a From and To date range.
    I noticed there is an option (Routine for time interval) to write ABAP code along with a template that is available in the InfoPackage.
    I think the logic for the selection would be any record
    Valid from       <= today
    Valid to           >= today
    Can anyone help with the ABAP code?
    The template is as follows:
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rsldpsel.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    form compute_time_dependent_dates
      changing p_datefrom type d
               p_dateto   type d
               p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
              p_datefrom =
              p_dateto   =
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    endform.
    Thank You for your help!!
    Frank

    I resolved the problem . I have changed the order of read table l_t_range because I need the header .
    In the loop at datos I add the line l_t_range-iobjnm = 'ZXGE_UNO'.
    The problem wasn't the call RFC it was that I built l_t_range bad. I need the infoObject name.
    This is correct!!
    READ TABLE L_T_RANGE WITH KEY
             FIELDNAME = '/BIC/ZXGE_UNO'.
    LOOP AT DATOS.
          L_T_RANGE-FIELDNAME = '/BIC/ZXGE_UNO'.
          L_T_RANGE-IOBJNM = 'ZXGE_UNO'.
          L_T_RANGE-SIGN = 'I'.
          L_T_RANGE-OPTION = 'EQ'.
          CONCATENATE '00' DATOS-WA+3(4) INTO L_T_RANGE-LOW.
          APPEND L_T_RANGE.
        ENDLOOP.
    *READ TABLE L_T_RANGE WITH KEY+
    +*FIELDNAME = '/BIC/ZXGE_UNO'.+
    +*    L_IDX = SY-TABIX.+
    +*    MODIFY L_T_RANGE INDEX L_IDX
    Thanks a lot
    Ana

  • Data selection in infopackage

    hi,
    I have to create a info package whicah can load data from last saturday of april 07 to last friday of the may07.
    if i m sheduling the info pack on 1 june it must load data from 28th april to 25th may.
    please help i m not good in coding.
    any help would be appreciated.

    I GOT THE CODE
    data: l_idx like sy-tabix.
    DATA: lv_calday1 LIKE /BI0/SDATE-DATE0,
          lv_calday2 LIKE /BI0/SDATE-DATE0.
    DATA: lv_day TYPE DATS,
          l_day(8) TYPE N.
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = 0CALDAY
        Fieldname       = KDAY
        data type       = DATS
        length          = 000008
        convexit        =
    form compute_KDAY
      tables   l_t_range      structure rssdlrange
      using    p_infopackage  type rslogdpid
               p_fieldname    type rsfnm
      changing p_subrc        like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    DATA: l_days(1) TYPE C.
    "previous month
    lv_day = SY-DATUM.
    lv_day+6(2) = '01'.
    lv_day = lv_day - 1.
    lv_calday1 = lv_day.
    DO.
      CALL FUNCTION 'DATE_COMPUTE_DAY'
        EXPORTING
          DATE          = lv_calday1
        IMPORTING
          DAY           = l_days.
      IF l_days = '5'.
        EXIT.
      ENDIF.
      lv_calday1 = lv_calday1 - 1.
    ENDDO.
    lv_day+6(2) = '01'.
    lv_day = lv_day - 1.
    lv_calday2 = lv_day.
    DO.
      CALL FUNCTION 'DATE_COMPUTE_DAY'
        EXPORTING
          DATE          = lv_calday2
        IMPORTING
          DAY           = l_days.
      IF l_days = '6'.
        EXIT.
      ENDIF.
      lv_calday2 = lv_calday2 - 1.
    ENDDO.
    READ TABLE l_t_range with key fieldname = p_fieldname.
    IF sy-subrc = 0.
        l_idx = sy-tabix.
        MOVE lv_calday2 TO l_t_range-low.
        MOVE lv_calday1 TO l_t_range-high.
        MOVE 'I' TO l_t_range-sign.
        MOVE 'BT' to l_t_range-option.
        MODIFY l_t_range from l_t_range TRANSPORTING low high option sign
                                        WHERE fieldname = p_fieldname.
    ENDIF.
    p_subrc = 0.

  • Data selection at InfoPackage Level

    HI Experts,
    This is related to 0vendor.
    0vendor is 10 digits in BI.
    At the ECC side, there are some vendors with 7 digits (e.g 1834710).
    When i pull vendor's using a IP into BI, I miss these records.
    To pull these records, I need to Manually put the Selections at the IP by making them 10 digits (e.g 0001834710).
    What can be done to avoid this selection.
    Please Help.
    Thanks,
    Max.

    Hi,
    You need to use the conversion for this.
    Use this piece of code in your infopackage routine.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = value_without_zeroes
          IMPORTING
            OUTPUT =value_with_leading_zeroes.
    This conversion exit will automatically add leading zeroes to the value as per the length of the object.
    Regards,
    Joe

  • The sme variable in data selection of inpopackage and value in transfer rul

    Hello
    I would like to use the same variable in data selection of infopackage (1) and as a value in transfer rules (2).
    Example :
    If I pass 1 I want to see value1 in data selection of infopackage (1) and as a value in transfer rules (2).
    If I pass 2 I want to see value2 in data selection of infopackage (1) and as a value in transfer rules (2).
    How is possible?

    Hi Aleks,
    In the transfer routine your code would be something similar to this:
    zvar is a variable
    select LOW from RSLDPSEL into zvar where LOGDPID = '<Technical name of Infopackage>' and IOBJNM = '<The Info-object whose value you want to use>'.
    *Now assign the value
    RESULT = zvar.
    Hope this helps.
    Bye
    Dinesh

  • Sample code in Update Rule to restrict data selection?

    We used to restrict data selection in InfoPackage data selection, e.g., for company code range when loading data from a source system (e.g. EBP which is similar to R3), but somehow the company code range we set in InfoPackage data selection not working and we found actually it occurs on the source system side when running RSA3 on EBP side and input the company code range in RSA3 selection section, but still it extracts data beyond the company code range.  We don't understand why EBP data selection doesn't work, then we consider in update rule on BW to set the company code range.  We know in update rule, we can select Start Routine, formula, or routine to set the company code range.  But we would be appreciated if experts here can recommend which one is the most efficient to load data fast for data load performance reason and would be appreicated if you can let us know the sample code!
    Thanks in advance!

    hi Hari,
    I copy the whole code of the start routine below:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    Includes to update generic objects
    INCLUDE rsbctgn_top .
    INCLUDE rsbctgn_update_rules .
    INCLUDE rsbctbbp_generic_objects.
      The following section is prepared for you if you compound
      the business partner 0BPARTNER with the
      Source System 0BBP_SYS_BP or if you compound the organizational
      Unit 0ORGUNIT with the source System 0BBP_SYS_BP
    TYPE-POOLS: RRSV.
    Data: L_HLP_CHAVL_CMP       TYPE RSCHAVL.
    DATA:
           L_S_DEP       TYPE RRSV_S_DEP,
           L_T_DEP       TYPE RRSV_T_DEP.
      End of compound
    DATA: l_s_errorlog        TYPE rssm_s_errorlog_int,
          l_hlp_chavl         TYPE rschavl.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS0BBP_CONF_TD_1.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    delete data_package where 0comp_code < 'X300' OR 0comp_code > 'X6ZZ'.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

Maybe you are looking for