Selection at infopackage level

HI Everybody,
Is it possible to have selection at infopackage level.
Regards,
BPNR.

Hi ,
yes .it is possible to have selection at infopackage level.
at infopackage level you can have three options for selection criteria.
type-5--- free temporal selection (for as many fields as you like)
type-6 ---ABAP routine
type-7---OLAP Variables.
Regards
upen

Similar Messages

  • 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

  • Routine for multiple selection in infopackage???

    hello guys
    I thought of creating one routine for Multiple selections aT Infopackage level....in Selections screen in infopackage,I found one option 'Use Conversion routine' with a check box and it is inactive.....Is it here I need to write my routine inorder to get multiple selection for a infoobject....or is it somehwhere else?How to activate thisoption?
    Thanks,
    Regards,
    S

    Hi,
    Conversion routines are used in the BI system so that the characteristic values (key) of an InfoObject can be displayed or used in a different format to how they are stored in the database. They can also be stored in the database in a different format to how they are in their original form, and supposedly different values can be consolidated into one.
    This will be there at info object level.
    Eg : ALPHA: Fills purely numeric fields from the left with zeroes (0).
    For multiple selections at info package , in data selection tab under type , u need to select 6 and write the code to select the value.When info package runs it takes the value from routine dynamically and extracts the data based on selection.
    Eg: There is a field FISCAL PERIOD For data selection, if u write the code to select current fiscal period. then whenever info package runs it extracts the data for current fiscal period from data source to PSA.
    Thanks,
    Joseph.

  • 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

  • Sample routine for dynamic flatfile selection in infopackage?

    hello guys,
    I tried to find one sample routine for Dynamic Flatfile selection at Infopackage level in forums,internet...but couldnot find it....(something like....we give one flatfile everyday...process chain runs everday...and whenever Infopackage executes...it selects that days flatfile basing on date or something and loads the data)....
    can anyone give that sample routine ?
    Thanks,
    Rgards,
    S

    Hi,
    You can select the dynamic flat file using routine at info package.
    The routine here is to create dynamic file name, click the routine button beside the name of flat file.
    create name and write the related code.
    Eg: concatenate 'D:\BIFLATFILES\PRODUCTDATA_'   SY-DATUM  '.CSV'  INTO P_FILENAME.
    In this path you have to paste your file with name PRODUCTDATA_09.10.2009.CSV.
    So if it is daily load we need change the file name with that date.Infopackage automatically picks up this file and loads the data.
    Based on your requirement you need to change the code to select file with path.
    Thanks,
    Joseph

  • Selected period data extraction at infopackage level

    Hi All,
    I am trying  to Extract data from APO Demand Planning Cube to BW.
    In BW how to extract data for Specified Date.
    To extract specified current month plus -4 months and +4 months of data per extraction.
    Do I have to write routine at infopackage level for calculating specified period.
    Please help to solve this.
    Thanks in advance

    hi Brinda,
    take a look sample code if you use routine
    routine as selection in infopackage
    Dynamic selection
    abap routine
    hope this helps.

  • 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 infopackage level routine

    hi guys
    I am trying to write a infopackage level routine for dynamic flatfile selection.Im getiing error:Error 1 while loading external data.
    I did like this:
    I am accessing one external harddisk having BW-R3 software installed in it through VM Ware from my laptop.here I saved one flatfile with name DFF_10.10.2009.csv  in D drive.so path becomes  -- D:\DFF_10.10.2009.csv
    then in my infopackage...i wrote code ..here it is
    DATA: XFILE LIKE P_FILENAME .
      CONCATENATE 'D:\DFF_' SY-DATUM '.csv' INTO XFILE .
    P_FILENAME = XFILE .
    now tried to schedule infopackage....to see if it worksand loads data from flatfile.....but it throws error....Error1 while loading external data....
    how can I fix this?
    Thanks in adv,
    Rgds,
    S

    DATA:
      ch1(32) TYPE x VALUE
      '00200120022003200420052006200720082009200A200B200C200D200E200F20',
      ch2(32) TYPE x VALUE
      '10201120122013201420152016201720182019201A201B201C201D201E201F20',
      ch3(60) TYPE c VALUE
      '¿ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¡ ¯ ® ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ '.
    DATA:
      ch4(90) TYPE c VALUE
      'ø ÷ æ ß  ? ? ? ? ? ? ? ? ? ? ? ! ~ `  #'.
    FIELD-SYMBOLS:  TYPE c.
    DATA: l_ZPWRKCTY TYPE /BIC/OIZPWRKCTY,
          l_ZPSTNAMe TYPE /BIC/OIZPSTNAME.
    l_ZPWRKCTY = SOURCE_FIELDS-FIPS_NAME.
      translate l_ZPWRKCTY to upper case.
         RESULT = l_ZPWRKCTY.
      CONDENSE RESULT.
    Exclamation mark is not permitted as a first symbol of the field
    content
      IF RESULT(1) = '!'.
        RESULT(1) = ' '.
      ENDIF.
      CONDENSE RESULT.
    The only # sign is not permitted
      IF STRLEN( RESULT ) = 1.
        IF RESULT(1) = '#'.
          RESULT(1) = ' '.
        ENDIF.
      ENDIF.
    Replace Invalid Characters by SPACE
      ASSIGN ch1 TO .
      TRANSLATE RESULT using ch3.
      TRANSLATE RESULT using ch4.
      CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
        EXPORTING
          INTEXT                  = RESULT
       IMPORTING
         OUTTEXT                = RESULT.
    Remove leading and trailing blanks if any
      CONDENSE RESULT.

  • Routine at the Infopackage level-Urgent

    Hi,
    My requirement is I need to write an routine at the infopackage level for the fiscal period which should have the low value as the current period and the high value as current period +12 months.
    For example.
    As per the system date the
    low value should be 2007.09
    and the high value shoudl be 2008.09.
    Could anyone help me with the ABAP code.Points would be assigned.
    Regards,
    vamsi

    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'FISCPER'.
              l_idx = sy-tabix.
    data: l_year                like T009B-BDATJ,
          l_period              like T009B-POPER,
          today                 like SY-DATUM.
    data: l_fiscperlow like l_t_range-low.
    data: l_fiscperhigh like l_t_range-high.
          today = SY-DATUM.
            CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
              EXPORTING
                I_DATE               = today
              I_MONMIT             = 00
                I_PERIV              = 'Z1'
              IMPORTING
                E_BUPER              = l_period
                E_GJAHR              = l_year
            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 l_year l_period+1(2) into l_fiscperlow.
          l_t_range-low = l_fiscperlow.
          l_t_range-high = l_fiscperlow+12.
          l_t_range-option = 'BT'.
          l_t_range-sign = 'I'.
          modify l_t_range index l_idx.
          p_subrc = 0.
              modify l_t_range index l_idx.
              p_subrc = 0.
    This is the code which i had written but when i execute the infopackage i am aboe to see only the low value 200709 in the infopackage selections and unable to see the high value,Could any one suggest me if i missed something in the code.
    regards,
    Vamsi

  • Restrcitions at Infopackage level

    Dear All,
    There is an Info package where we have an Infoobject Posting level. We need to restrict some of the postings levels data when coming from the Source cube to the target cube.
    For eg: we have posting level 00,01,02,10,12,20,22. We need to restrict 02,12 and 22 from coming to the Target cube. Can I restrict these at the infopackage level?
    Please suggest.
    Thanks Rama.

    If u use infoapck selections, then enter values other that restriction 02, 12, 22...
    U have to write a routine to restrict at infopackage level....  Check following sample code
    data L_S_MC11VA0ITM like MC11VA0ITM,
    L_tabix like sy-tabix.
    case i_datasource.
    when '2LIS_11_VAITM'.
    loop at c_t_data into L_S_MC11VA0ITM.
    l_tabix = sy-tabix.
    if L_S_MC11VA0ITM-SPART ne '10'.
    Else.
    delete c_t_data index l_tabix.
    continue.
    endif.
    modify c_t_data from L_S_MC11VA0ITM index l_tabix.
    endloop.
    Endcase.

  • Skip a record at Infopackage level

    Hi all
    I need to skip a record at infopackage level due to a problem in processchains and we dont wont this to be repeated again, could someone help me with the code for this
    Will  definetely assign points
    Chris

    Hi,
    you can actually select the record that u want to filter in the <u>transfer rules maintainance screen</u>. once u have selected these records , those records will be displayed in infopackage screen.
    hope this helps!
    Ravi

  • OLAP variable selection in Infopackage

    Hi,
    I have a Requirement to load data for the last 14 days everyday,i.e Truncate laod,for that i have crated a userexit variable in Quey designer,that variable picks the data for last 14 days default.it is working fine in query on calday restriction,but that variable i used in Infopackage level for calday selection parameter,but its not working, my cube getting load for all days.Can any one help on this.
    Thanks
    Naveen.

    Hi..
    I am not sure if it helps or not.. but in PC there is option wekly and fortnightly...can you try this...
    REg
    Ram

  • Setting # for 0CALYEAR in selection for planning level in BPS

    hi all!
    when i try to set # for 0CALYEAR (and other time variables) in selection for planning level in BPS, i recieve the following error message: 'Value # is not permitted for characteristic Calendar Year' (UPC003). As i understand, this problem began to occur after upgrading to SPS12.
    we have BI 7.0 installed
    can anyone help me solve this problem please?

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    Check in year master data if value BLANK (#) exists. System should permit only those values for characteristics which are available in master data tables.<br><br>
    Secondly, does system allow you to select value # for calendar year using the F4 drilldown?
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    Please assign Reward Points if I above information was useful
    </FONT>

  • Change the packet size at infopackage level

    Hi, Experts:
    All loads (full or delta) in the system can split data into small packets expect for one full load, which has almost 2 million records into 1 packet. It overflows the memory and fails.
    I found the following settings for this datasource when click from menu "Scheduler"->"DataS. Default Data Target":
    "Maximum size of a data packet in kByte" = 20000
    "Number of Data Packets per info-IDoc" = 10
    "Number of Data Packages per Delta Request" = 0
    "Update Method" - full Upload
    It seems to me that the load should split data into small packets.
    Can someone please tell me why only this load still puts all 2 million records in one big packet?
    Thanks,
    Jenny

    Some update on more information:
    The datasource is 0FI_GL_8, a standard SAP datasource for transaction data. I think it is an old datasource because I can not find any on-line document for its details from SAP help website. I was told that this datasource is not Delta capable. That is why full load is used.
    I also tried to reduce the package size settings for this datasource from "Scheduler"->"DataS. Default Data Target". But whatever I changed did not affect the way that this load is putting all records in one big data package.
    I assume the set up in Transaction RSCUSTV6 is for every infopackage across the whole system unless setup differently at infopackage level? I checked in RSCUSTV6, it is set up as the following:
    FrequencyStatus-IDOC = 10
    Package size = 30000
    Partition size = 1.000.000
    I also checked in ECC system with transaction SBIW for the control parameters for data transfer from the source system. It has the following set up for the source system:
    Max. (kB) = 20000
    Max. lines = 0
    Frequency = 10
    Max. Proc. = 3
    Max. DPs = 0
    From all the checked results, I still don't get why every other datasource loading can split data into small data packages, but only this one datasource can not. And why whatever I changed from the infopackage to reduce the size did not affect how it is splitting the data package.
    Any more inputs?
    Thanks,
    Jenny

  • Deletion selection in infoPackage setting

    Hi, experts,
        I noticed two options of "selection Area" in deletion selection in infoPackage
        1.Same or More Comprehensive
        2.Overlapping
      who can tell me what the exactly difference between these two options? the help of them is quict same.
       in my case, one infoPackage setting  period: 1 ~ 8 and country is China. if another infoPackage with setting Period:8 and country is china. it should to delete data in old request with period 8 and country is china. right?  but in here, I think both setting is work in this case. then, how was the different usage of this option.
        Thanks in advance.

    Let me see if i can help u there.
    1. Same or More comprehansive:
    Lets say that you ran job yesterday with selection conditions Period: 8 and Country:China.
    If you run a job again today with conditions Period: 1 to 8 and Country: China.
    The second load is more comprehensive than the first one. Then it'll delete the yesterday load.
    2. Overlapping: Lets say yesteday u ran a load with conditions Period: 1 - 8 and Country: China
    Today u ran a job again with conditions Period: 3-9 and Country: China. This will delete the yesterday load. If you have selections like this, and if u select the first option "same or more comprehansive", your yesterday load is not deleted.
    Is it clear now? Or give me the exact scenario how your loads going to be, i'll see if i can come up with an answer

Maybe you are looking for