INIT InfoPackage Selections

Hello,
In an INIT Infopackage I want to make the following selections for extraction:
Sales Org = 0003 through 0004
Sales Org = Not Assigned (Blank)
With these selections my goal is to get records for Sales Org 0003 and 0004 as well as the records that are not assigned to a Sales Org.  Specifically I am trying to avoid getting records for Sales Org 0005, but I want to make sure and get the records that have an unnassigned Sales Org.
Is this possible?  I am mostly unsure of how to indicate in my selection criteria that "if the sales Org is unassigned then bring over the record".
We are on BW 3.5
Thanks,
Nick
Message was edited by:
        Nick Bertz

Hello Jr. Roberto,
Thanks for your reponse, I have some follow up questions.
What sort of routine are you suggesting? 
Also what do you mean by <b>F2</b> won't work in InfoPackage Selections?  What is <b>F2</b>?
Thanks,
Nick
Message was edited by:
        Nick Bertz

Similar Messages

  • Data Selection in Init Infopackage

    Hi All
    I want to schedule a Delta Upload on a ODS to load data to another ODS
    For this i created a init load infopackage. I want to give some Data Selections for load. But in the Data Selection Tab I am  unable to see any selection options
    The same infopackage if i select Full upload I can see the Selection options how do i get all these selection options in init infopackage aswell.
    Regards
    Akshay Chonkar

    Hi Akshay,
    You Cant have a Dataselection option in Initiazation option, however, you if you still want to have a Dataselection option as you wish (Say Document posting date from -to) in delta from ODS 1 to ODS2. You can change the update rule for the By writting a routine or can give the create your rule for selection of your own selection. but i am not sure youcan use ranges
    (From- to) in update rule.
    Reward points if helpfull
    Regards
    Hari

  • Full upload / init Infopackage

    Hi all,
    I am wondering what the differences are between init infopackage and full load ?
    I am using an infpackage in init mode and the PSA is loaded. Once I load the PSA to one of my targets, I can't load it anymore to other targets. How could I get through that ?
    Thx,
    Olivier

    Hi I want to add some more points .
    First check whether the processing is set to only PSA then the data will come upto PSA oonly if you want to push further then go to the monitor screen in that status tab u can see a button process manually. click that button then the data will enter in the data targets.
    Differences between init and full package:--
    1)If you do a INIT then there will be a possibulity for delta...
    2)Once you do Full there will not be delta even after u want to do deltas after doing a Full do a INIT without data transver (Before doing this make sure that the delta has become 0 in the source).other wise uy can miss the delta(Irrespective of selections means with u can do a full also and a init also diffrence is if u do a init with a particular selections then the delta will run with the same selections for full it is not like that u can change the selections but once u do init with a selection u cannot change the delta info package f u want to change then you have to do a separate init without data transver with different selections we can have N number of inits from source with DIFFERENT SELECTIONS.
    3)When the deltas are running and in the mean while if u want to doa full without distrubing the delta pointer then u have do for reppair full request this option will be avaiable in scheduling screen scheduling TA B

  • The fields of type Int 1  not appearing in Infopackage selection

    Hello Gurus,
    I have created a generic datasource on two tables .
    The fields that should be set as Selection fields for the DataSource are the following:
    -     field 1------type char
    -     field  2----
    type char
    -               field 3----
    type Int1
    -     field 4----
    type Int1
    Out of the above four table fields only the two fields  with char datatype are appearing in infopackage selection.
    The other two ie(field 3 and field 4) of datatype Int1  does not appear in infopackage selection.
    I have ticked the check boxes in the selection field of datasource.
    I also get all the four fields available for selection in RSA3(extractor checker tcode).
    Kindly help me in resolving this issue.

    Hi Amol,
    Can you please replicate DS once again and then try creating the infopacage
    Mann

  • *** Abap Routine in Infopackage selection ***

    Hi !!!
    I have the scenario below:
    I have created an infoobject called CAEMPFF. In the infopackage selection under field 0COMP_CODE I want to create an abap rotine to read all vaules filled in CAEMPFF.
    How can I do that using abap routine ?
    Thanks in advance,
    Leandro.

    Hi Leandro,
    In the infopackage, under 0comp_code (or probably field BUKRS if it's an ERP datasource), you should select ABAP routine (6) under Type field. Then, you'll be prompted to create the routine.
    There you should create a program that reads all the values of your infoobject master data table.
    Hope this helps.
    Regards,
    Diego

  • Infopackage Selections Tab-OLAP Variable/ABAP Routine

    Hi Experts
    In my Infopackage Selections Tab i had Cal Mon/Year field....
    As per my requirment i have to write a selection condion that when we execute info package (it is a monthly data load)  it will extract data only for the months greater than or equal to current month
    Please update me on how can i achieve this either by using OLAP Variable or ABAP Routine in infopackage...will be great if can provide the required ABAP Code
    Thanks in Advance

    here's an example that fills the fiscal year from last month (bold is customer code... the rest is standard):
      data: l_idx like sy-tabix.
      read table l_t_range with key
           fieldname = 'PARAM_P_GJAHR'.
      l_idx = sy-tabix.
      data:
      v_caldy type /BI0/OICALDAY,
      v_calmn type /BI0/OICALMONTH,
      v_calyr type /BI0/OICALYEAR.
      v_caldy = sy-datum.
    determine first day*
      v_caldy+6(2) = '01'.
    determine last month*
      subtract 1 from v_caldy.
      v_calyr = v_caldy(4).
      l_t_range-sign   = 'I'.
      l_t_range-option = 'EQ'.
      l_t_range-low    = v_calyr.
      modify l_t_range index l_idx.
      p_subrc = 0.

  • OLAP Variable with user exit for Infopackage Selection 0fiscper

    Hi Frds/ Guru's ,
                    I have a requirement to use a OLAP Variable for Fiscal year period 0fiscper(Characteristic ) in the Infopackage Selection. . I need to extract the data for Previous Year and Current Year , that is to be automatically selected with a OLAP Variable . The standard one's provided by SAP are not satisfying my requirement,as they are getting populated with SAP Exit and I am not getting the ranges .I am planning to create a variable and use the processing type as Customer Exit and Populate it with ABAP code in respective Enhancement RSR00001.
    Even Can I create a ABAP Routine ? Please suggest me which is better to do in respect to performance of dataload  , will be really glad if anyone can provide some code for doing this as u might have faced the situation sometime .
    I have checked with all the threads available , could get some idea but will be really thankful if u gimme some hints in writing the code , at Exit level and routine level .
    Thanks,
    Krish

    thnx

  • InfoPackage selection offset with OLAP variable

    Hi Bw Gurus,
    I have a requirement to load ODS with full upload everytime but in order to reduce repeated loads I am trying to use a DATE field which is not part of communication str. as a selection critera in InfoPacakge.
    I changed DS to include this field avaialable for selection and It's working fine when I input date to and from values hard coded in InfoPackage.
    Further I am trying to automate this InfoPackage scheduled weekly and I need to include date offset value for this DATE field to load for additional last 2 weeks every time to capture changes for already loaded data.
    I have created OLAP customer exit variable having Date interval for Date starting from last 3 weeks to Current DAte and included in InfoPackage selection for DATE field but it's not working. By the way if someone can explain what's meaning for two columns there for TYPE(Variable change to selection.....) and detail for type.
    Any clue for reason or any other way to accomplish this requirement?
    Thanks in advance,

    hi,
    can you explain me ,hw you solved the pbm,
    the same pbm i am facing.
    i am trying to load the data everyweek ( i have date field ),so i have selected OLAP Variable option -7 and there i have selected 0WEEK,but data is not comining from R/3,then i have selected the option -6 abap code,i have written code to get the date range,even though i am not able to retrive the data.
    can you suggest me
    Thanks
    Madhu

  • Routine in Infopackage selection

    Hi,
    We are using DB Connect and hence we need to write a routine in Infopackage selections to restrict the data to be extracted.
    In the source file, there is a field called " Time stamp".
    This is a Char 23 field with mm-dd-yyyy-hh.mm.ss.sssss format.
    My requirement is lookinto first 10 char ( only for date) and filter the records.  If the date = Sy-datum, then only, i want to extract the data in BI staging.
    Is it possible to write a routine in Infopackage ?   Can you pls help me ?
    Or do i need to take the whole data into PSA and then write a routine in transformation while uploading to Data Target ?
    Regds,
    BW Small

    Hi,
    See the below code for Including  0FISCPER dynamically, so in that way you can write code to get your selection or change the data formate etc.., show this code to ABAPer ask according to this code implement your logic.
    In below code I'm calculating  0FISCPER based on Sy-Datum using FM.
    program conversion_routine.
    * Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    * 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   *-*
    *     InfoObject      = 0FISCPER
    *     Fieldname       = FISCPER
    *     data type       = NUMC
    *     length          = 000009
    *     convexit        = PERI7
    form compute_FISCPER
      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_idx LIKE sy-tabix,
            zzdate LIKE sy-datum,
            zzbuper LIKE t009b-poper,
            zzbdatj LIKE t009b-bdatj,
            zzperiod(7) TYPE c.
      READ TABLE l_t_range WITH KEY
           fieldname = 'FISCPER'.
      l_idx = sy-tabix.
      zzdate = sy-datum - 1.
      CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
        EXPORTING
          i_date               = zzdate
    *             I_MONMIT             = 00
          i_periv              = 'V3'
               IMPORTING
         e_buper              = zzbuper
         e_gjahr              = zzbdatj.
    *           EXCEPTIONS
    *             INPUT_FALSE          = 1
    *             T009_NOTFOUND        = 2
    *             T009B_NOTFOUND       = 3
    *             OTHERS               = 4
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CONCATENATE zzbdatj zzbuper INTO zzperiod.
      l_t_range-low = zzperiod.
      l_t_range-option = 'EQ'.
      l_t_range-sign = 'I'.
      MODIFY l_t_range INDEX l_idx.
      p_subrc = 0.
    *$*$ end of routine - insert your code only before this line         *-*
    endform.
    Thanks
    Reddy

  • " To Value " is  greyed out  in Infopackage Selection Tab ??????

    Infopackage Selection Tab has some <b>mandatory</b> selections to be fild in for loading.
    "From value" is excepting values but "To Value" is greyed out ???
    Its for a SAP extractor - FERC.
    Help SDNer's

    I see the Doc :
    Text
    Selection Options
    Definition
    Selection options that can be processed for a DataSource field.
    Note 1:
    The selection options defined here must be supported by the extractor.
    Note 2:
    If no other selection options are used for a DataSource field other than
    'EQ' and 'BT', no further definition is required. The value of the
    selection options can remain as the the default setting '0'.
    The selection option combinations are encoded into a binary string using the following schema and are saved as decimal figures:
    Selection option exponent (binary string)
    EQ 2^0
    BT 2^1
    CP 2^2
    GT 2^3
    GE 2^4
    LT 2^5
    LE 2^6
    NE 2^7
    NB 2^8
    NP 2^9
    Each character in the resulting binary string describes whether the corresponding selection option is allowed or not.
    That is:
    <b>
    1-allowed</b>
    <b>0-not allowed</b>
    For example:
    Selection options EQ and CP can be used to select in a field.
    The binary string is then: 0000000101
    The corresponding decimal value that sis saved as the DataSource definition is: 12^0 + 12^2 = 5
    <u>
    All the selections have 1 which is allowed but why To value is greyed out ?</u>

  • InfoPackage Selection - Logical OR

    Is there any way to enable a Logical 'OR' in an InfoPackage on 2 fields? When both fields are populated by respective ABAP routines, the result condition turns out a Logical 'AND'.
    I have two timestamp fields, in InfoPackage Selection TS1 and TS2 intervals. I have routines on both of them. How can I enable the system to generate my selection to be an OR meaning either TS1 interval OR TS2 interval. The way it is behaving now is TS1 interval and TS2 interval.
    I am using BW 7.1 and DB Connect interface in this case.
    Thanks.

    I don't need this anymore but if anyone has ideas, please feel free to chime in as it can benefit the community.

  • ABAP routine at Infopackage selection options

    Dear all,
    I need to write ABAP Routine at InfoPackage Selection Options.
    Requirement is to bring only the versions (contains 2 characters) starting with 'C'.
    Ex. I need versions CR, CP...
    Code template is the following:
    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = 'VERSB'.
    l_idx = sy-tabix.
    modify l_t_range index l_idx.
    p_subrc = 0.
    Can anybody help me to resolve this?
    Regards

    Hi,
    here is an example:
      DATA: string(40) TYPE c.
      CONCATENATE 'C' '%' INTO string.
      SELECT *
      FROM /bi0/hwbs_elemt
      INTO TABLE lt_hwbs_elemt
      WHERE nodename LIKE string.
    Best regards,
    Frank

  • Technical Design Review Question: InfoPackage Selection

    I got my hands on technical design documentation for a project on COPA budget. I came up with a few questions but I will post them separately for fast closing and awards:
    1. In the discussions of InfoPackage Selection, a statement
    “The budgets InfoSource will have full/Replace loads, based on plan version”
    Can you explain what this statement may mean? I am not sure I get it right.
    Thanks.

    Hi Caud !
    I think that thi statement refers to the possibility to delete the content of an infoprovider for the same selection criteria...so, in this case, you have to load budget data on the basis of the plan version and delete (replace) the already existing data for the same plan version loaded before !
    Hope it helps!
    Bye,
    Roberto
    http://help.sap.com/saphelp_nw04/helpdata/en/f8/e5603801be792de10000009b38f842/content.htm

  • Update data from ODS to ODS with infopackage selection

    Hi,
    I am trying to update data from one ODS to another ODS with selection criteria in InfoPackage which is created manually.For Full load I can give selection criteria in InfoPackage. When I initialize data Selection is greyed out even selections for Full load exists. Please advise me how to give selections for delta loads from ODS to ODS loads.
    Thanks in advance.
    Ram

    Once you started an ODS as destination in FULL mode from a DS you cannot get back.
    So if you want to update from ODS to ODS using Change Log but considering only some data records you could create an Update Routine with a Start Routine that DELETES undesired records (e.g. DELETE DATA_PACKAGE WHERE ...) and then start an Init-Delta Loading.
    Hope it helps
    GFV

  • Read Infopackage selection from a table using ABAP

    Hello Experts,
    I have a flat file consisting of 3 columns which I want to use as selection fields for the Infopackage. Now, is it possible to load this flat file to an ODS or a master data table and then write some ABAP  in the Infopackage to read the values of the columns and populate the selection fields.
    This is what I want: The columns of the flat file are  - Company Code, Doc number, Fiscal Year
    Now, I loaded this file into a tables (around 2 million records) and then use ABAP to populate the entire file into the selection tab of the Infopackage.
    What would be the best approach for this?
    Thanks in advance
    Vivek

    Hi,
    It's possible in theory. Just one thing, too many selections in an InfoPackage may not work (I remember about 1,000 or 10,000, not very sure).
    I'd like suggest loading a range rather than so many selections. For example, say you have below documents:
    1000
    1001
    1005
    1010
    Then just load from 1000 to 1010, and create a start routine in your update rule/transformation. There you can do this:
    1. select records from the table where you store flat file, using the same selection (1000 to 1010)
    2. For every records in DATA_PACKAGE, using READ TABLE statement to check whether that record exist in the table. If not exist then simply delete it from DATA_PACKAGE
    I think that would have much better performance. Let us know if you have further questions.
    Regards,
    Frank

Maybe you are looking for

  • IndexOutOfBoundsException

    Hello Every body, Iam getting IndexOutOfBoundsException, Is there any way to avoid this error other than using Iterator. I am using get() method. Thanks in advance for the responses....

  • Pf status and function codes

    Hi, I have a report where in i have to add a new icon with a tick symbol along with the existing execute icon ie f8.I have copied the status of the program into another before adding the new icon and to that i have added the new icon and function cod

  • Exporting any file type - reverts to Photo Album 6 Photo automatically

    It's enough to drive me insane. Someone help!

  • Oracle 10G : ORA-12500: TNS:listener failed to start a dedicated server pro

    When connecting to Oracle I am getting this error. I have restarted the database, restarted the listener, but the problem does not go away. I have increased the processes to 400. Error : ORA-12500: TNS:listener failed to start a dedicated server proc

  • Last Folder Position

    anyone know how to fix this? finder forgets last folder position!! i already trashed the finder plist and still no avail. no matter what program i am in - save as always goes to the user documents folder. i dont want that to happen! worked fine befor