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

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

  • 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

  • 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.

  • 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?

  • 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!

  • 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

  • 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.

Maybe you are looking for

  • IPhoto 6 keeps losing/dropping my photos from the thumbnail screen

    I have iPhoto 6.0.6 (322), and I store my photos on a LaCie external hard drive (Mac OS Extended format). Recently, all photos taken since 2008 keep disappearing from iPhoto. The photos still exist in the iPhoto library folder, and I've followed vari

  • Redirecting System.err on a mobile phone?

    Hi, Is there a way of redirecting System.err? Unfortunately, System.setErr does not exist in MIDP, so I haven't been able to write my own PrintStream to replace err. I need to know what the output of Exception.printStackTrace() is at a certain point.

  • A to Z then 0 to 9

    How can I decide if I want the sort order in Album view to always be either A to Z then 0 to 9 or 0 to 9 then A to Z The sort order in Album view changes from sync to sync. I want it to be the same sort order every time...

  • How do I prevent Adobe Reader from translating barcodes into the numbers?

    see title

  • CASE instead of DECODE

    With the help of the board I wrote a query using the DECODE function to display a full name correctly space with or without a middle name. Could I do that in a CASE statement? I am trying to come up with the best solution. I tried it but know I am mi