Specific Values in Info Package

Hi All,
I want to load the data into BW by giving the specific values in Info Package Level.
For example i want to load data for a sales number = 1,6,10,2000 etc. Instead of giving the intervals, i want to load the data specific to the sales Order Number
I have seen From and TO values over there. Can i write any ABAP Code to pull the data by hard coding the above values over there.
Pls suggest.
Thanks,
Jelina.

Hi,
You can achieve it in both the ways.
You can hardcode in the infopackage through multiple single values instead of range.
Please the cursor on the Sales Order number and Click the green color '+' button.
It will create an additional line.  You can enter the second Sales order number.
You can also write an ABAP routine.
But if the sales order numbers are available, then it is better to enter in the data selection sceen.
Thanks.

Similar Messages

  • How to find a certain usage of a specific value inside an SSIS package

    Hi,
    In T-SQL, there are many tools to search for instances of a specific value in all the objects such as tables and SPs.
    The only way I can think of in SSIS, is to search for a value in the XML of the DTSX, but it is not that user friendly.
    Are there any existing tools or other ways for a value search that can assist ?
    Thanks,
    Dani

    Since a package is just a plain text XML file thus  you are able to perform a text search in the file.
    http://sqlblog.com/blogs/jamie_thomson/archive/2012/06/12/using-find-replace-with-regular-expressions-inside-a-ssis-package.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • 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

  • ABAP Routine in selection of Info package in 3x

    Hello Experts
    We need to load distinct PO data in 3x server.
    I have added this distinct po values in range table of info package abap routine.
    However its not loading for range table values more than two selections/pos.
    If I try to append more than 2 values,only last one is uploaded.
    However after load, in monitor tab-header , selection paramenters I can see all PO values in selection.
    Some how it works only for two inputs (rows) in range table of ABAP routine in infopackage.
    Anybody has faced such issue? any help is appreciated!
    Edited by: Kanchan Angalwar on Jan 30, 2010 9:59 AM

    Hi,
    Please post your ABAP code here

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

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • Info package in a PC failed

    Hi Experts,
    An Info Package in a PC has failed.
    When I see the status tab it shows that "Request Successfully Updated in the data target"
    But the status is Red.
    It is a Master Data
    Please help me in this regards.
    Should I Manually change the status to green ?
    Regards,
    Ashwin

    Hi Ashwin,
    In the Infopackage monitor screen, go to the details tab. In that check if the following mentioned tabs have completed successfully
    1) Extraction
    2) Transfer
    3) Processing
    If everything is green and processed sucessfully, then it means that ur request has been updated successfully in the datatarget
    Also sometimes it may occur that your Request might have run for a longer time than usual and crossed the maximum wait time settings defined..to cross check this... goto
    In the infopackage monitor screen goto Setting--> Incorret waiting time for status, and check what value is present there, if the IP run time is more than the value defined there, change it temporarily and refresh, then the request should turn to green..
    This should help i believe...
    Regards
    Deepak

  • Info package routine

    If I want to delete a line of data in say an update rule start routine, I can write for example the following:
      DELETE DATA_PACKAGE WHERE <field> NE 'ABC'.
    I am wondering if I can write the same in an info package and if so rather than DATA_PACKAGE what should I be referencing? Thanks

    Hi Nitin,
    Please note that is is not possiable to delete any data in InfoPackage routine, but surely you could ignore the value of a field when it is not equal to ABC or just load data for a field for value ABC. If that field is not present in the selection screen, you could get it into the selection screen by selecting it in RSA6, datasource maintenance.
    No need to write a routine, it is just a simple selection is what you need to give.
    Hope this helps.
    Regards,
    Pankaj

  • Info Package Routine issue.

    Hi I was working on an info package routine. I have to load somw documents based some some criterias. My question is how may values can i append for loading Document No. i have somwhere about 400,000 records. I'll have all those doc no's in an Internal table... Can i append all those and load or is there any limit for doing so.
    Thanks in Advance.

    Hi Siva,
    I would suggest to use range instead of appending the document numbers one by one. Its not best of approach.
    You can maintain a transparent table with different range values if you don't have sequential values. Write a routine in the info-package to restrict the document number to the ranges.
    Hope it helps.
    Thx.
    Soumya

  • 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

  • Problem in function BAPI_IPAK_CHANGE : Changing info-package parameter.

    Dear All,
    Would you like please kindly help me regarding my problem ??
    My problem is when i'm gonna run this function (written in subject). It's error, because One of parameter in info-package is mandatory.
    But I have already input value for the mandatory field one, but it always mention that the corresponding field is not input yet.
    Could you kindly help me please ??
    This is my code:
    p_selections-low = 'TSS-ACTIVE'.
    p_selections-sign = 'I'.
    p_selections-OPT = 'EQ'.
    p_selections-fieldname = '9AVERSION'.
    append p_selections.
    IF sy-mandt = '100'. " Development.
      IT_INFOPACKAGE-tINFOPACKAGE = 'ZPAK_4EY7D32RZXLLOJSLAWDNGX6G1'.
      append IT_INFOPACKAGE.
    ENDIF.
    loop at IT_INFOPACKAGE.
      clear P_BAPIRETURN.
      CALL FUNCTION 'BAPI_IPAK_CHANGE'
        EXPORTING
          INFOPACKAGE = IT_INFOPACKAGE-tINFOPACKAGE
        TABLES
          SELECTIONS  = p_selections
          RETURN      = P_BAPIRETURN.
    How can I solve it yah ??
    Is there any idea regarding this ?
    Thanks a lot all for ur time.
    Best regards,
    Daniel Nurindra

    Hi
    this seems to be an APO datasource hence any further testing wont b possible at my system
    You can try this thing
    write a abap routine in infopackage to provide the value 'TSS-ACTIVE'   to the Field 9AVERSION
    p_selections-low = 'TSS-ACTIVE'.
    p_selections-sign = 'I'.
    p_selections-OPT = 'EQ'.
    then try to execute the  infopackage to check no issue with the value of field
    and
    Also try including IOBJNM  in p_selections while FM BAPI_IPAK_CHANGE

  • Problem with info package :Type variables in dataselection tab

    hi,
    i am facing a problem with the info package where, instead of date 'from and to' values if i am providing a Variable, info package is not loading data and the request status flag is in yellow for a long time though the no of records are less.
    the same is working fine if i am providing values for from to to values in the 'data selection' Tab.
    the field i am giving input is date field,i'm converting date into char format and  giving the input in the same format.info package will not work if i provide  '0' or '7' as the variable values.
    anybody having any ideas, that would be help ful.
    Thanx in advance

    Hi Loknath,
              Have a look at this help documents on the creation of Routine.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/2d9778476b11d4b2b40050da4c74dc/frameset.htm
              Also go through this previous thread on the same issue.
    ABAP Routine
              Hope it helps.  Reward if the answer is helpful.
    Cheers,
    Aravindhan

  • Info Package filter for not pulling some materilas

    Hi All,
    I have requirement. I need to put filter in the info package for not to pull  material no XXXX and YYYY.
    I do know how to restrict in the infopackage. But in this case I need to write MATNR N0T EQUAL TO XXXX and YYYY.
    Can you please provide me a code that I can write in the info package.
    Regards
    Sunny

    Hi,
    Hi,
    There are many way to achive this, few are:
    1. Create a Infopackage routine and exculde the values u do'nt want.
    2. Create a OLAP varriable and in customer exit exclude the values u do'nt want.
       To achive this u have to create a customer exit varriable in BEX the same will be reflected here.[Process
       of creating a OLAP variable remains the same as is done in case of query's]
    3. You can exclude values by including all the values around the ones you dont want:
       Let's say you don't want types 103 and 506. In your infopackage, input three intervals:
       001-102
       104-505
       507-999
       You can add more rows for your product type selection by hitting the "insert duplicate row" button, next to the check-button on the bottom left corner.
    4. Load the data and then delete the records in DTP Filter, start routine or end routine. This will lead
       to large data set being loaded better approach is to delete the data at Infopackage leavel.

  • Errors in info package

    hi friends,
    please some one can explain me the errors occurs in info package like referential integrity failures, due to locks, etc.
    please some one explain about this points.
    thanks in advance.

    Hi sreekanth,
    Referential Integrity: Its a DataBase concept which combines(logically) the data of multiple table with the master table. Here master table has the primary key and rest of the tables have the same key as forienkey.
    Here we use the characteristic (or combinations of Chars) call as referential char.
    check this.
    you might be knowing that generally refrential integrity is concerned with nothing but primary key and foriegn key relationship. Generally we use to check uniqueness of records.
    In sap we use it during flexible updation...to check the data records of transaction data and master data.
    In other words, to check before loading of data, that whether loading will be properly or not.
    we will check(tick) the option in the maintainance of the
    infosource--> communication structure
    it will be better if you clearly mention your problem, if further help is needed.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/14c43bb7137503e10000000a11402f/content.htm
    Referential integrity is the property that guarantees that values from one column depend on values from another column.This property is enforced through integrity costraints....
    see this link...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6d/117c5fd14811d2a97400a0c9449261/content.htm
    Please find the below url
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=referential%20integrity&cat=sdn_all.
    Enble the referential integrity at Communication structure***
    Locking Errors:
    1.These Locking error are due to If Some body using same Infopak when ur using that same Infopak.This is Not a major problem.
    2. If any Request has lock u can Unlock that by using se03.
    ***Assign Points If Helpful****
    Thanks,
    kiran.

  • )How can we schedule the info package daily run at 6 AM, with out useing in

    Hi
       Can any one explain 1) what is information broadcasting &how can we use this.
    2)What are the settings we have to do when we use the charts in WAD's
    3)How can we schedule the info package daily run at 6 AM, with out useing in process chains
    Thanks
    Bharath

    Hi,
      Information broadcaster :
          you can precalculate and distribute(thru mail) the query, workbook and webtemplate through online link or html file to the receipents (users).
    have a look at the below link.
         http://help.sap.com/saphelp_nw04/helpdata/en/3a/0e044017355c0ce10000000a1550b0/frameset.htm
    Infopackage scheduling:
         you can schedule the infopackage daily at your desired time .In the schedule tab ,select the start later in background and in the scheduling option give the date and time and give the period values as daily.
    Regards,
    Siva.

Maybe you are looking for