Selection Conditions on Info Package

Hi Experts
  Please advise me on how to proceed
My requirment is to include selection condition in INFOPACKAGE as the total data that data source is extracting is nearly 200 million records to minimize the extraction of data to be loaded to DSo...my requirment is include selection conditions at infopackage level
Condition 1: On Fiscal Year/Period
To load data from  2005 to current....
Condition 2: to exclude particula Cost Center
and data source is delta capable
Please update me how to include these selection conditions do i need to write any ABAP Code and
Do i need to include selection conditions on INIT & DELTA info package as well
I need to load data from FY 2005 to........
Thanks in advance

Hi Siegfried Szame
Thanks for the update...apologies for multiple posts
One question as you said Parallel Inits
If i created about 9 different INIT info packages  ( My requirment is to initilize data from FY 2006)
IP1: 001.2006 to 004.2006
IP2: 005.2006 to 009.2006
IP3: 010.2006 to 001.2007
IP4: 002.2007 to 005.2007
IP5: 006.2007 to 009.2007
IP6: 010.2007 to 001.2008
IP7: 002.2008 to 005.2008
IP8: 006.2008 to 010.2008
IP9: 011.2008 to 002.2009
How about delta....what are the selection conditions i need to use
and
Can i execute the above packages one after another...that is after completion of IP1 then IP2..then IP3
Please update
Thanks in advance

Similar Messages

  • Selection option in info package

    Hello Friends,
    While loading data in BW system (3.5 Version).
    I would like to use selection option in info package for one particular field.
    I can see only range options (Selection From and Selection To) which does not satisfy my requriement.
    I need to select nearly 5000records which are in one specific number range, so, how can i select these records in infopackage.
    Thanks
    Tony

    Did you think of InfoPackage routine?
    Try to write a routine under data Selection tab based on your data selection scenarios. I think you can achieve your goal.
    1) Data selection tab - Type column, choose ABAP routine.
    Whendo we use this?
    when we cannot extract data selectively by giving direct conditions in selection tab, eg: "list all the employees who joined on the current date". here current date value changes every day when we run the query. In such cases we cannot give direct condition, we need to write routine to get the current date
    Check this if it helps to proceed:
    ABAP ROUTINE AT INFOPACKAGE FOR DATE RANGE
    InfoPackage Routine

  • Data selection options in info package

    hi,
    I am using filter for current month while loading data into info provider (let us say 0calmonth). I am using below code in info-package after selecting type '6'  (ABAP editor),
    data: l_s_range type rssdlrange,
    l_date type d.
    l_date = sy-datum.
    l_year = l_date+0(4).
    l_mth = l_date+4(2).
    concatenate l_year l_mth into l_month_high.
    concatenate l_year '01' into l_month_low.
    loop at l_t_range into l_s_range where fieldname = 'CALMONTH'.
    if dy-subrc = 0.
    l_s_range-low = l_month_low.
    l_s_range-low = l_month_high.
    modify l_t_range from l_s_range.
    endif.
    endloop.
    But now I would like to use created date as filter instead of calmonth/year (yyyymm). please note that calmonth has only one value but calendar day will have both from and to values. Please give me code to use created date (mm/dd/yyyy).
    please help me with your code.
    thanks,

    I have got the solution by myself (trial and error method). Solutions: there is a SAP delivered variable to calculate current month (Variable name is 0CMONTH).
    Is there any variable to calculate both previous month and current month as filter value? pls reply.

  • Adding a field in data selection tab of Info Package

    Hello,
    how can I add a field for selection in the data selection tab of the info-package in BW 3.5.
    Thanks,
    SD

    Hi,
    You need check Selection in RSO2 in ECC then that field is available for Selectgion in InfoPackage.
    Here I'm giving 0CUST_SALES_ATTR DataSource Example for Selection Change, so see the logic and accordingly you can change your DataSource Selections.
    See the properties of that field in RSA2 in ECC and you can also make it for selection, use the following program and see it.
    In ROOSFIELD table give the datasource 0CUST_SALES_ATTR and see , select only Active version Fields.
    For the following fields you can find FIELD = X, it indecates that it is abailable for selections, so in this way you try to do it by using following program and check.
    KUNNR
    SPART
    VKORG
    VTWEG
    REPORT ZBI_ROOSFIELD NO STANDARD PAGE HEADING .
    tables ROOSFIELD.
    Update ROOSFIELD set SELECTION = 'X' where
    OLTPSOURCE = '0CUST_SALES_ATTR' and
    FIELD = 'FAKSD '.
    Also see SAP Note : 1033847
    Re: Field Selection in Datasource 0CUST_SALES_ATTR
    Thanks
    Reddy

  • Maximum number of selections in an info package

    Hi friends,
    i want to load an ODS with data from MSEG. Due to the great number of records I've to select by
    0ATERIAL. Selection criteria are provided by a routine I'll write for this selection, reading a different
    ODS. Estimated number of records for selection is about 80,000.
    My question:
    Is there any restriction regarding the number of selection criteria of an Infoobject in info packages?
    Will a selection work with 80,000 criteria?
    Any input is highly appreciated.
    Thanks in advance and regards
    Joe

    Hello,
    If I understood correctly...you will compare the values from a DSO and then pass these values in the infopackage selections..
    but how are you planning to do it...will it be interval or single value??
    Also I think you can assign only one value or range in the infopackage at a time for selection through routine...
    More the number of selections more the number of AND in the where clause.
    I am not sure if there is any limitations on where clause but after 100 selection the select queries become complex and overflow the memory...so thats the limitation.
    Thanks
    Ajeet

  • Very Urgent!...regarding selection criterion in Info Packages

    Hi all,
         This is very urgent requirement for the project now. Is there any way to indicate a field in selection criterion of a IP as blank.
    Like if I want to select all the records which have a field 0WBS_element as blank from one ODS into another ODS. How do I indicate it in the IP( any solution apart from writing a routine!)
    cheers
    Sudhir

    Hi Sudhir,
      Pls. refer to the earlier posted forums :
    Rotuine in Infopackage for Data Selection---- Urgent
    Thanks,
    Raj

  • Data selection tab from Info package.

    dear all,
    I'm using BI7 for my project. I have 1 simple question, how do you un-select a data target from the data selection tab?
    e.g.
    in the data selection i have 2 DSO
    0DSP_1 and ZDSP_1... how do i remove DSO 0DSP_1 from the selection tab?

    If you are using an infopackage...
    under Data Target tab you are seeing 2 DSO.
    in order to select only one: select the option "Select Data targets"
    and then select the DSO which you want to load.
    If you compeltly doesn't want to use the 2nd DSo then delete the update rules between the infosource and DSO.

  • Selection routine in info package

    Hi gurus,
    I need to load last month's data in to BW if I am executing the IP in this month.
    that is if Iam executing in Feb 2009 then it should load Jan 2009,
    and if Iam executing on JAn 2009 then it should pick data for Dec 2008,
    For this logic I had written like,
    data: TEMP_DATE TYPE DATE,
          TEMP_MONTH TYPE CHAR(6).
    TEMP_DATE = SY-DATUM.
    TEMP_MONTH = sydatum+2(6).
    L_T_RANGE-IOBJNM = 0CALMONTH.
    L_T_RANGE-SIGN = 'I'.
    L_T_RANGE-OPTION = 'EQ'.
    L_T_RANGE-LOW = TEMP_MONTH - 1.
    L_T_RANGE-HIGH = TEMP_MONTH.
    APPEND L_T_RANGE.
    Is this OK or I need to change,
    Thanks,
    Pavan

    Hi Pavan,
    This is an example How to ... Write Infopackage selection Routine
    1.Create an Infopackage
    2. Go to selections tab and choose Type: 6 u2013 ABAP Routine.You can see following available options(F4 Help).
    3. Give disruption, and hit enter, now you will move to following screen.
    4. Write Code between begin of Routine and End of Routine.
    5. See below sample code to select date range from Previous 6 days to Current date.
    6. L_T_Range table is of Type structure RSSDLRANGE.
    a. RSSDLRANGE contains SIGN, OPTION, LOW, HIGH
    We need to populate these fields to pass range dynamically.
    Sample Code:
    ***$$ begin of routine - insert your code only below this line -
    Data: l_idx like sy-tabix.
    Data: date_low like sy-datum.
    Date_low = sy-datum u2013 6.u201D(To get 6 days back).
    read table l_t_range with key
    fieldname = 'CRDAT'.
    l_idx = sy-tabix.
    Pass Range values to L_T_Range Table.
    Move date_low to L_T_Range -Low.
    Move sy-datum to L_T_Range -High.
    L_T_Range -Sign = u2018Iu2019. *****(Here: I u2013 Include, E u2013 Exclude)
    L_T_Range -Option = u2018BTu2019.****( Here: BT u2013 Between )
    modify l_t_range index l_idx.
    p_subrc = 0.
    Regards
    Sudheer

  • Info-package setting: Data selection tab

    Hi,
    I have to give selection conditions in info-package.
    The need is to restrict the values of a particular field to start with BP and BQ.
    i.e i need only values starting with BP and BQ.
    I gave from and to values in the selection screen of info-package as BP* and BQ*
    But the error says CP(Compare Pattern) is not allowed.
    How else can i make the info-package to select values starting only with BP and BQ
    Regards,
    Yeshwanth

    Hi Yeshwanth,
    If this is a character string, then check the length and start from BP0000, as per the length of the feild till the end which in our case would be BQ0000.
    Let me know, if this doesnt work.
    Naveen.A

  • Selection Option question in Info Package

    We would like to stop update Master Data if no master data exists for a characteristics. I found there is a selection options in Info Package Update Tab called "Do not update data if no master data exists for a characteristic"
    I added a row in one of the InfoObject which has been used in another InfoObject as an Attribute. I selected this option in the IP and tried to re-load Master Data, and it didn't fail.
    What does this option do?
    Thanks!

    For example:
    InfoObject ITEM and ITMPLN. ITEM is an Attribute in ITMPLN.
    ITEM has
    Item    Description
    001     Test 1
    002     Test 2
    ITMPLN has
    Project No            Item         Description
    A                         001          Test A
    B                         002          Test B
    <b>C                         004          Test C</b>
    After I load the last row to ITMPLN, I would like to see the error message instead of adding <b>004</b> into ITEM InfoObject. Do you know how to do it?
    Thank you!

  • Language key in info-package selection

    Hi,
    Just wondering on the language key selection in the info-package. This topic was raised a number of times in the forum and what i have found is no matter what you do 'Language Key' will not appear in the info-package selction as its a srevice API feature and BW will automatically assign the language key based on the installed languages.
    If i need to filter out on any particular language then i need to use some formula / routines etc (of course this is the last option).
    Is my understanding correct ? or Do we have some workarounds to make the language key available in the info-package ?
    Points will be assigned to value added answers.
    Thanks,
    Soumya

    Hi Soumya,
    Hope you would have checked these:
    1. Datasource for text is lang-dependent. If not make it lang-dependant.
    Also check:
    look in OSS Note 324684 'Selections for language and time-dependence'...
    "If a field of a DataSource - typically with field name 'LANGU' or 'SPRAS' - is assigned to InfoObject '0langu', the field is not provided in the selection fields although the field actually can be selected. In this case, all languages of the language vector active in the BW System are requested by the source system but the language selection cannot be defined in the Scheduler.
    Check for more details:
    Re: Infopackage Language Selection
    Bye
    Dinesh

  • Issue withe Info Package Selection for the CRM Datasource

    Hello,
    I have a custom CRM data-source which has the Selection option as CRM-GUID as the Selection option in the RSA3.
    I have replicated the Same Data-source in BI system and Created the Info Package ,but i could not see that GUID Selection in the Info Package.
    To Be Noted:
    I went to RSA6 enabled the selection option( check Box ) , there is no hide option in the datasource , only the Selection option check box is enabled in the RSA6 .
    Replicated again , and activated again , logged out and logged in again . But the Info Package does not show the CRM - GUID selection option.
    I found something not sure this might be the issue:
    1) The Data type is RAW with length 16.
    2) The Datasource in the BI side has SS conversion Routine Blank for this field and the Selection has X.
    But no Selection option in the Info Package.
    Any suggestion and inputs are welcome.
    Thanks in advance.
    Adhvi.

    similar issue is disussed in the below thread...
    Info package Selection were hidden
    Info Package Selection Language key is not diplaying while this is checked
    search for any SAP Note which explains about data type RAW ....

  • Regarding Info package

    Hello All,
    I am using SAP BW 3.0.
    In data Selection tab of Info package , there is one ABAP routine on 0calday and I want to delete it .
    Could please let me how to do it ?
    Thanks a lot for your reply.

    Hi,
    Goto InfoPackage and in data selection for 0calday, under Type you can find NO 6, so click on Details and see teh code then remove it an dthen remove thr number 6,  and save it it becomes normal.
    Thanks
    Reddy

  • Deleting Request from cube based on Selection Condition

    HI All,
    I have a scenario where i have three selection condition while i update from ODS to CUBE . I keep getting differnet versions of the file so the latest version should replace the old version , to do this i tired using the option
    Delte Request from Info Cube after Update in the Data Tagets tab
    And the Radio button Overlapping is checked  . ( This is not working )
    The three selection conditions in Info Pacake are
    Reduest id from ODS : 11111
    Cal Month                 : 20072
    File Type                   : B
    The selecion condition for the second Version in Info Pacake of the same file that should replace the first file in cube is
    Reduest id from ODS : 22222  ( The request id is RID in the ODS for second file )
    Cal Month                 : 20072
    File Type                   : B
    so can any one let me know how can i achvie this ........

    Hi Abraham,
       You select the variable deletion conditions when you schedule the InfoPackage that is going to load the new data. On the Data Targets tab page in the Automatic Deletion of Similar/Same Requests from InfoCube column, you click on the pushbutton to go to the Deletion of Requests from the InfoCube After Update dialog box.
    Here you determine under which conditions existing requests are deleted from the InfoCube:
    ·        You can include update modes, InfoSources, DataSources, and source systems for requests.
    Example
    Requests are deleted when the appropriate deletion conditions are met if existing requests and new ones were loaded from the same DataSource.
    ·        You can determine whether the selections for the new request need to be the same as or more comprehensive than the selections of the request that is to be deleted, or whether the selections for the new request need to completely or partially overlap the selections of the request that is to be deleted.
    ·        You can specify deletion restrictions according to date. This means that, when the deletion conditions are met, only those requests that were loaded within a specific time period are actually deleted.
    Example
    If you choose Data for the Request from the Last Seven Days, only those requests are deleted that have been loaded in the last seven days.
    ·        You can specify situations in which a request is not to be deleted, even if the appropriate deletion conditions are in place.
    Example
    If, under Exceptions, you choose the Today is …the Last Day of a Month, existing requests are not deleted, if the new request is loaded on the last day of a month.
    ·        Another option for determining deletion conditions is creating a user routine for the InfoPackage and the InfoCube.  In this routine you can exclude requests from a deletion process or include additional requests for deletion.
    Check conditions again, it will work, if selection and data source is same.
    Hope it Helps
    Srini

  • How to control data load in Info-Package using ABAP?

    Hello Gurus:
    I am trying to resolve couple of issues. 
    1.  I need to load data DAILY Full Load into a Planning cube.  I have the 0NETDUEDATE   for selection in the
         Info-package.  I am getting data from anothe base A/R cube.  I want to Load Daily ONLY those records
         for which the "0NETDUEDATE" is Greater than "System Date".  I think the logic would be IF 0NETDUEDAT
         .GT. SYS-DATUM, bruing the record. What should be the statement in 'Result' for keeping the record? 
         (I don't know ABAP, so need help here...!)
    2.  Similalry, before loading the data above, I want to delete all the existing records from Planning cube where
         0NETDUEDATE is GT System date (records loaded the previosu day need to be deleted as the amounts may
         have changed).  How can I achieve this selective deletion automatically  in PC??
    Appreciate your feedback very much.
    Thanks... SMaa

    Hi Shruti,
    1) If i understand your requirement correctly you need to load only data which has 0NETDATE greater then sydatum.
    So you can do this in infopackage .Infopackage>Data selection->0NETDATE(field)-->type(colum).here you can selecy ABAP type(6).Now you create ABAP code in this.
    Here in ABAP code you need to specify high and low range ,Also the relation character like GT or BT(between).
    i guess some how ur code will look like this
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = 0NETDUEDATE
        Fieldname       = NETDUEDATE
        data type       = NUMC
        length          = 0000010
        convexit        = PERI6
    form compute_NETDUEDATE
      tables l_t_range structure rssdlrange
      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_idx like sy-tabix.
              l_idx = sy-tabix.
              l_t_range-low = sy-datum.
              l_t_range-option = 'GT'.
              modify l_t_range index l_idx.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    endform.
    i am not sure about coding but you can surely do it it is like specifying the ranges dynamically(you need to try it out)
    (also as mentioned by others you can do this in traansformation routines)but infopackage routine you can directly write in PROD system.
    2) And regarding the Selective deletion you donu2019t have nay process type in Process chain which does this
    But there is function module u201C rsdri_infoprov_delete " which can be used to develop a program( I guess you must be having a existing ZProgram in ur system already available because this is used commonly.
    Other wise you need to develop a ZProgram for this.
    Thanks and Regards
    Arun

Maybe you are looking for

  • Can 2 Apple ID's share the same cloud?

    Trying to back up my husbands Iphone to iCloud.  Was hoping to just use mine???  Not sure how things work here.  Does he need to create one for himself and pay for it? Thanks in advance for the help

  • How do I change the background appearance for the top tool bar, the one with 'file', 'edit', etc.?

    Yesterday, I changed the appearance of the toolbar I have in question, however, I don't like it and want to go back to what I had before. However, I have forgotten how I did it. Please help. thank you.

  • For UCCE 7.0, what are the default queue limit

    Hi, I am fairly new to this product, I am wondering if there is any doc indicated the default queue limit settings, I couldn't find in the script that the set value node, so I guess it must be running using the default value. please advise, thanks

  • No values in KSII

    While running the Actual Activity Price calculation through KSII, I am not getting the values. Everyhting is coming Zero. What are the settings I should Look for. Is it related to Cost component split.? Regards Kamlesh

  • MobileMe set up with a PC

    So, if I understand this correctly, I can access my G5 Email, calender, etc. through a PC - is that correct?  I have a PC through my employer and it would be nice to access my personal stuff.  So, how do I go about setting this up?