Filters in infopackage

Hi All,
I have a doubt in filtering the data in the infopackage. In my selection tab i have fiscal period, controlling area, cost centre and currency type.
And i wanted to write a code to filter all the cost centre based data.
data: l_idx like sy-tabix.
read table l_t_range with key
     fieldname = 'KOSTL'.
l_idx = sy-tabix.
l_t_range-FIELDNAME = 'KOSTL'.
l_t_range-sign = 'I'.
l_t_range-option = 'EQ'.
l_t_range-low = '0080000958'.
modify l_t_range index l_idx.
The code is working fine.
But i have few questions while working on this.
1, Is it possibel to filter the fileds which are not available in th selection tab.
2. In my example i have used  "modify" statement. But i have seen people writing APPEND too ..
       for ex:   if l_idx <> 0.
                     modify l_t_range index l_idx.
                        else.
                     append l_t_range.
                      endif.
     So when do we go for APPEND and when MODIFY.
3. When l_idx will have 0 value ( any scenario).
Can any one explain line by line please.
Thanks in advance .
Reena

Hi,
  Pls    check  the  Field selection /Hide  option for   the Data source .
Whatever Fields  are selected to that Data source those Fields  are available in the Info package under Data selection Tab..
Regards,
Asit

Similar Messages

  • Inactive filter in the infopackage

    Hi,
    There is a problem with the restrictions of the objects, specifically with the filters of infopackages, in PROD. All fields are inactive in filter and i can't change any of them. Where could i find some settings to change filter to 'modifiable'?
    thanks a lot.

    goto the workbench. then to the transport connection; in the tool bar, you have a button 'object changeability'. click on it, and you can change the setting for the infopackages.
    M.

  • Runtime error while loading data in BI 7.0

    Hi All,
    While loading data in BI 7.0,
    I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table.
    As per SAP BASIS SUPPORT comments:
    "This is NOT a space problem but rather a huge memory resource consumption one, as you're trying to hold excessive amount of data in Memory, and that's when you get the short dump; I know that SAP sometimes is not clear in explaining the issue (ie "No more storage space available...."), but this refers to memory requirement, not disk storage space per se.
    So, please try to break down your data load in smaller sets and this will work OK"
    How to proceed with the above comments? How to break down data load in to smaller sets?
    Please helpme....

    there could be various ways -
    using selections / filters in Infopackage / DTPs based on may be some period or some other char you could identify based on your data.
    Hope it helps
    Vikash

  • How can I use the same data source twice?

    in our system there is already a complete transfer of calculations to BI (0CO_PC_PCP_01).
    However I want to create a new data flow from ERP starting from the same data source.
    Is this possible?
    Thanks for help!!

    Hi!
    welcome to SDN forums.
    anydata source can be mapped only to a single infosource. but it will not ristrict you to have different datatargets from a single infosource. so you have to use filters in infopackages to select the data target and filter the data for this data sources. Only thing you have to do with old  dataflow is just ristrict the data relavent for  the 1st Datatarget in old Infopackage and re.initialize.
    with regards
    ashwin

  • Backendtable for infopackage/DTP filters

    Can anyone help me to know any backend table in BW where we can find details of Infopackage / DTP filters.

    DTP
    RSBKDTP                        BW: Data Transfer Process Header Data
    RSBKDTPSTAT                    Status Information on Data Transfer Proces
    RSSELDTP                       Selection Conditions for Output in Adminis
    infopackage
    RSLDPIO    Links datasource to infopackages
    RSLDPIOT   InfoPackage Text Description
    RSLDPRULE  ABAP source code for InfoPackages
    RSLDPSEL   Hardcoded selections in InfoPackages
    RSMONICDP  Contains the request-id number by data target
    RSPAKPOS   List of InfoPackage Groups / InfoPackages
    Regards
    KP

  • Change filters in an infopackage

    Hi expert
    i use an ancien version of BW (V3.5 i think) and i can get to change the filters in an infopackage.
    Can you help me on that,
    Thanks a lot

    Hi Reid
    Below example should clarify your doubt.
    You can change your filters in Init Info-Package. Let' s say you have initialized your Init InfoPackage with only one company code
    1001.
    So, your Delta InfoPack is bringing delta records related to company code 1001 only.
    Now , you added two more company codes  1002 and 1003 in the init selection. Subsequent deltas will bring data for 1001 , 1002 and 1003. So, its the upper maximum of all your delta inits.
    But you do not have old data for 1002 and 1003. If you are doing Repair full request then you can get old data of 1002 and 1003.
    But things to check here , whether you have all the Key Figure as overwrite here before pulling repair full, else KF values will be doubled. In that case you can do repair full request with selection to avoid duplicate values there.
    Regards
    Anindya

  • FAGLL03 report not filtering G/L line items based on vendor entered in free selection

    Hello SAPians,
    I have a requirement to add Vendor field in the free(dynamic) selection of the standard report FAGLL03 so that G/L line items are displayed(filtered) based on the vendor values given.
    I followed the SAP note 945932 to create the vendor field by adding the ZZLIFNR in the custom include  of the table FLAGFLEXA followed by the configuration of custom fields in SPRO tcode. Post that I tested the report by giving one particular vendor number and came to know that no line items were displayed.
    Upon debugging the program I came to know that , while selecting the data from the Inner join of BSIS and FLAGFLEXA tables, vendor number on FLAGFLEXA forms the part of WHERE clause and eventually no records are selected since all the existing records wont be having vendor number maintained in FLAGFLEXA table.
    However I asked the functional guy to post the new line items under the assumption that it might update ZZLIFNR field in FLAGFLEXA. But our assumption turned out to be wrong. At this point I seek advice from your experience on the following points.
    1) My understanding that failing of inner join condition is the root cause for data being not fetched in the output. Is it correct?
    2) When we add new custom field in FLAGFLEXA(ZZLIFNR in my case), how the data needs to be populated for that particular field from       functional/technical perspective? Does the custom scenarios in SPRO are related to this in anyway?
    3) How do we need to handle the old records existing in the system with respect to the updation of new field(column) added?
    Any inputs in this regard is very much appreciated.
    Thanks & Regards,
    Yaseen

    Hello Dennis,
    thanks for the tip, your assumption is right, it's regarding 0FIGL_V40 in BI 7.0. Could you please be more detailed, which BW 3.x InfoSource do you mean? Or what exactly has to be done?
    The "objects" under this InfoCube are - transformation, datasource (0FI_GL_40) and InfoPackage, that's it. When I check InfoCube Type/Namespace - it is based on Data Transfer Process for DirectAccess, but the checkbox With InfoSource 3.x is not checked..
    Thank you in advance for your answer.
    Regards,
    Peter

  • Infopackage in process chain taking long time to run

    HI Experts,
    One of the element (Infopackage) in process chain(Daily process chain) is taking much longer time(6 hr and still runing) as generally it takes 15-20 mins to complete and the status is in yellow and still running in process monitor without giving any clear picture of  error. Manually we are making the staus red and we are updating from PSA and this time it is getting completed in time as specified.
    Flow from PSA to datatarget(DSO) in series
    For last one week we are facing same issue and i would like to mention that we don't have access to SM37,SM12 to look the logs
    and any locks.
    without this i need to investigate what is the root cause for the same.
    with regards,
    murali

    Hi,
    please find the job log.
    Date
    Time
    Message
    MsgID/No./Ty
    13.12.2010
    21:45:30
    Job started
    00
    516
    S
    13.12.2010
    21:45:30
    Step 001 started (program SBIE0001, variant &0000000109368, user ID RFCUSER)
    00
    550
    S
    13.12.2010
    21:45:30
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    R3
    413
    S
    13.12.2010
    21:45:30
    DATASOURCE = 2LIS_17_I3HDR
    R3
    299
    S
    13.12.2010
    21:45:30
    RLOGSYS    = PBACLNT200
    R3
    299
    S
    13.12.2010
    21:45:30
    REQUNR     = REQU_D9GSSV08BTS93Z6Y7XWP1ZEUJ
    R3
    299
    S
    13.12.2010
    21:45:30
    UPDMODE    = D
    R3
    299
    S
    13.12.2010
    21:45:30
    LANGUAGES  = *
    R3
    299
    S
    13.12.2010
    21:45:30
    R8
    048
    S
    13.12.2010
    21:45:30
             Current Values for Selected Profile Parameters               *
    R8
    049
    S
    13.12.2010
    21:45:30
    R8
    048
    S
    13.12.2010
    21:45:30
    abap/heap_area_nondia......... 0                                       *
    R8
    050
    S
    13.12.2010
    21:45:30
    abap/heap_area_total.......... 25500319744                             *
    R8
    050
    S
    13.12.2010
    21:45:30
    abap/heaplimit................ 40000000                                *
    R8
    050
    S
    13.12.2010
    21:45:30
    zcsa/installed_languages...... ED                                      *
    R8
    050
    S
    13.12.2010
    21:45:30
    zcsa/system_language.......... E                                       *
    R8
    050
    S
    13.12.2010
    21:45:30
    ztta/max_memreq_MB............ 2047                                    *
    R8
    050
    S
    13.12.2010
    21:45:30
    ztta/roll_area................ 3000320                                 *
    R8
    050
    S
    13.12.2010
    21:45:30
    ztta/roll_extension........... 2000000000                              *
    R8
    050
    S
    13.12.2010
    21:45:30
    R8
    048
    S
    13.12.2010
    21:45:31
    70 LUWs confirmed and 70 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
    RSQU
    036
    S
    13.12.2010
    21:45:33
    Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 9,895 records
    R3
    407
    S
    13.12.2010
    21:45:33
    Result of customer enhancement: 9,895 records
    R3
    408
    S
    13.12.2010
    21:45:33
    Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 9,895 records
    R3
    407
    S
    13.12.2010
    21:45:33
    Result of customer enhancement: 9,895 records
    R3
    408
    S
    13.12.2010
    21:45:33
    PSA=0 USING & STARTING SAPI SCHEDULER
    R3
    299
    S
    13.12.2010
    21:45:33
    Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    R3
    409
    S
    13.12.2010
    21:45:34
    IDOC: Info IDoc 2, IDoc No. 5136702, Duration 00:00:00
    R3
    088
    S
    13.12.2010
    21:45:34
    IDoc: Start = 13.12.2010 21:45:30, End = 13.12.2010 21:45:30
    R3
    089
    S
    13.12.2010
    21:45:35
    Asynchronous transmission of info IDoc 3 in task 0003 (1 parallel tasks)
    R3
    413
    S
    13.12.2010
    21:45:35
    Altogether, 0 records were filtered out through selection conditions
    RSQU
    037
    S
    13.12.2010
    21:45:35
    IDOC: Info IDoc 3, IDoc No. 5136703, Duration 00:00:00
    R3
    088
    S
    13.12.2010
    21:45:35
    IDoc: Start = 13.12.2010 21:45:35, End = 13.12.2010 21:45:35
    R3
    089
    S
    13.12.2010
    21:55:37
    tRFC: Data Package = 1, TID = 0AF0842B00C84D0694000F00, Duration = 00:10:03, ARFCSTATE = SYSFAIL
    R3
    038
    S
    13.12.2010
    21:55:37
    tRFC: Start = 13.12.2010 21:45:34, End = 13.12.2010 21:55:37
    R3
    039
    S
    13.12.2010
    21:55:37
    Synchronized transmission of info IDoc 4 (0 parallel tasks)
    R3
    414
    S
    13.12.2010
    21:55:37
    IDOC: Info IDoc 4, IDoc No. 5136717, Duration 00:00:00
    R3
    088
    S
    13.12.2010
    21:55:37
    IDoc: Start = 13.12.2010 21:55:37, End = 13.12.2010 21:55:37
    R3
    089
    S
    13.12.2010
    21:55:37
    Job finished
    00
    517
    S

  • Urgent: Problems with filters with routines in DTP

    Hi All.
      I have this: ODS --> Transformation --> InfoCube
      I've created a "full" DTP which has a routine in the filters because I need to calculate the from-to date in a routine.
      The InfoObject in the ODS is: <b>0CREATEDON</b>
      It has no errors. I activate the DTP successfully but when I execute IT get que following errors:
    <b>3 - Incorrect initial value for characteristic 0CREATEDON in i_t_range (The description below)</b>
    <i>    Incorrect initial value for characteristic 0CREATEDON in i_t_range
        Message no. DBMAN889
        Diagnosis
        The specified characteristic is of type NUMC (number as character), DATS (date), or TIMS (time). The initial value of ' ' is incorrect for these data types.
        System Response
        The call is terminated.
        Procedure
        Use the correct initial value for the type in the selection condition</i>
    This routine has worked successfully in an InfoPackage
    Here is the routine code:
    form compute_CREATEDON
      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.
    *DATA: FECHA_L   LIKE SY-DATUM,
         FECHA_H   LIKE SY-DATUM.
    DATA: FECHA_L  TYPE D,
          FECHA_H  TYPE D.
          read table l_t_range with key
             fieldname = 'CREATEDON'.
          l_idx = sy-tabix.
          FECHA_L = '20050101'.
          FECHA_H = '20051231'.
          l_t_range-SIGN   = 'I'.
          l_t_range-OPTION = 'BT'.
          l_t_range-LOW    = FECHA_L.
          l_t_range-HIGH   = FECHA_H.
          if l_idx <> 0.
             modify l_t_range index l_idx.
          else.
             append l_t_range.
          endif.
          p_subrc = 0.
    I also tried with fieldname = '<b>0</b>CREATEDON' but I got the same error.
    Thanks in advance 4 your help

    Hi,
    Try replacing
    DATA: FECHA_L TYPE D,
    FECHA_H TYPE D.
    part of code with
    DATA: FECHA_L (8) TYPE C,
    FECHA_H(8) TYPE C.
    Hope this helps.
    Regards
    Rahul Bindroo

  • Problem extracting data from R/3 to BW using infopackage?

    Hi all,
    I am trying to extract data from R/3 to BI7.0 through infopackage and its giving below error.
    Request still running
    Diagnosis
    No errors found. The current process has probably not finished yet.
    System Response
    The ALE inbox of BI is identical to the ALE outbox of the source system
    or
    the maximum wait time for this request has not yet been exceeded
    or
    the background job has not yet finished in the source system.
    Current status
    No Idocs arrived from the source system
    In the details tab:
    Extraction (messages): Missing messages  in yellow status
    Missing message: Request received          
    Missing message: Number of sent records
    Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings  in yellow status
    Data Package 1 : arrived in BW ; Processing : Selected number does not agree with transferred n
    Processing (data packet): Everything OK             in green status
    Data Package 1 ( 370 Records ) : Everything OK
    Inbound Processing ( 370  Records ) : No errors
    Data package 1 received; Processing is starting
    Update PSA ( 370  Records posted ) : No errors
    Data package 1 is being saved...
    370 records for data package 1 updated successfully, 0 records filtered
    Processing end : No errors
    Inbound processing of data package 1 finished.
    Please anyone try to look at this issue and give me better soluttion ASAP.
    Thanks,
    Suresh.

    Hi ,
    The infopackage run for avery long time in yellow state with out changing to green, This might happen due to connection error(get in touch with your basis team) or due to over load on the system.
    eventhough the status of request is finished in source system, the job will be executing in the BI.
    1)Wait for sometime for the request to turn out green automatically or
    2)make the request to red and delte, repeat the infopackage step.
    3)IF you know about the no of records that need to be transferred and if the total records are transferred already, manually  change the request to green.
    Cheers,
    Srinath

  • Selection Condition In Infopackage

    Hello,
      Is there a way to use a single infopackage by passing different selection conditions thru' abap routine, for delta init.  We require this as we have to extract data based on the logged-in user.
      Any help is highly appreciated.
    Thank you very much,
    Raj

    Hi Ronald,
    I am coming back with further infn after a long time as i was strucked with other development area, actually our client requirement is Data has to be loaded on company wise .. means the respective responsible person only carryon loading person as per his profile(Authorisation)load has to be happen...this is one requirement,
    one more is (whether in this scenario can we go for Delta)
    we enhanced the Dtasource with new field in R/3 and when we are trying to make it selction condition in infopackage we are not getting filtering as per that ..
    could u or anyone who knows through a light on this..
    Thanks in advance
    BRB

  • Why can I not use variable filter on 0FISCPER at InfoPackage data selection

    Hi,
    I have several InfoPackages that have to be filtered with the same 0FISCPER range (for example with 0CO_OM_OPA_1 data source).
    In data section tab of my InfoPackage, column Type is not applicable for InfoObject 0FISCPER.
    Can I change this behavior?
    Thanks an regards,
    Wolfgang
    Edited by: Wolfgang Taag on Mar 5, 2008 1:53 PM

    Hi Wolfgang,
    well it is ok in my system. May be you have some fixed values entered in the columns 'From' - 'TO' Value. Delete those values and the column will be ready for input. After entering a type e.g. a abap routine, the fields 'From' and 'TO' Value will be greyed out.
    regards
    Siggi

  • OLAP Variable in InfoPackage / DTP

    Hi Experts,
    I created an ETL process in our Dev instance, and in my InfoPackage and DTP was able to use an OLAP variable when filtering on 0FISCPER (eg 0I_CUFYE or 0FYTCFP).
    When I tried it in Prod, the loads failed because it couldn't find these variables.  I am looking to find these types of objects so I can either transport them (ideally)  or activate them directly in Prd (if I have too!), but cannot find out where they exist.  Help!
    Thanks,
    Darryl

    Found it finally!
    Transport connection - Query elements - variable (ELEM.VAR)
    Cheers,
    Darryl

  • Filtering request in Manage Data Targets

    Hi,
    is it possible to filter all Requests loaded in the data target (InfoCube) by some criteria (InfoSource or DataSource, Source_System...).
    I would need filtering to locate all requests for delete (delete requests form one Source System / delete all request form particular InfoSource / etc.)
    Thanks and regards, Tomaz

    Hi,
    At an infopackage level, under the tab 'data targets' there is a column titled "automatic loading of similar / identical requests from infocube". If you click on this, you will be presented with a window that will allow you to delete existing requests based on various criteria like if infosources are the same, if datasources are the same, source systems are the same etc. etc.
    Check and see if this functionality meets your requirement.
    Assign points if useful.
    regards,
    Pinaki

  • Selections in Infopackage

    Hi All,
    I need to put selections in infopackage for "Material no." for multiple single values. (2700 materials)
    please suggest a way to do this kind of selection.
    Many thanks
    Tanu

    Hi Tanu ,
    1.You can dynamically put filters via OLAP var or ABAP routine .
    2.If values are in sequence (range ) then you can set the range in l_t_range-low  and l_t_range-high viA ABAP Routine .
    3.Better solution will be create around 27 infopackage with 100 selection in each and try to give range .
    4.OLAP var is a lso a good idea to set dynamic filter and easy if you are not very comfortable with ABAP.
    5.Can you please tell me what kind of filter values you want to put .So that accordingly filter can be decided for efficiency.
    6.One more possible solution is if material no values you don't want are less then put filter to exclude them .It will be easier .
    Let me know if you ned some help with this .
    Regards,
    Jaya Tiwari

Maybe you are looking for

  • IPod Touch wants to connect to iTunes, but iTunes Freezes

    So, my iPod Touch is the one before the one with the camera. Can't remember what gen that is supposed to be. Whatever. Anyways, about two years ago with on iTunes update, my iPod totally reformatted or whatever and I lost everything. I had trouble pu

  • Request for solo/mute opposite functionality

    I'm requesting an options menu check box to toggle on/off the fact that v3 "solo" won't override "mute". Also, but less imprtantly, a similar toggle to get ctrl+click to function as "add solos" while a regular click functions as "single solo (all oth

  • Profit Center for Billing Substitution

    Hello, I am currently using this substitution in 0KEM to populate the profit center for billing (PCTRF) in an inter-company sales order. PrCtr Type = '2' AND Profit Center = '' AND ( Sales Org. = '5010' OR Sales Org. = '5020' ) It is working because

  • Consumption of web services in J2EE app

    Hi experts! I have an J2EE java application, and I need to consume some external web service there with configuration capabilities in NWA->Application Communication->Consumed Services (like as using Enterprise Web Service model WebDynproJ app). Now I

  • Ichat frozen on Lion

    Ever since I updated to Lion my iChat will not work. I've force quit the app, went into the activity monitor, restarted my macbook countless times, and shut it down and yet it continues to freeze. can anyone help me out? thank you =]