Open Hub - variables in selection criteria

Hi there Experts
I would like to be able to use a variable in selesction criteria in DTP fro Open hub.
To only extract previous month.  Is it possible to do this in the GUI of Open Hub.
If not, any smart workaraounds?
best regards
Ingrid

Good Morning Gueorgui.
I am not using FISCPER, but posting date, so fiscvar should not be necessary.
But is it possible to use a variable  like in BEX queries.  Like 0DAT or some Zvariable.
In general OLAP variable in DTP.
Thanks you.
Ingrid

Similar Messages

  • Order of Variables in selection criteria involving multiple queries

    Hello,
    I've a query Q1 which has one of it's variables defined with replacement qry Q2. The query Q2 has a variable defined with replacement qry Q3. When i put qry Q1 in a application designer template and run the report, The selection criteria has the variables in the order of Q3, Q1 instead of Q1, Q3.
    How can i control this order of variables appearing in sel criteria.
    (i've observed that if there are 2 queries in the report the order is correct i.e Q1, Q2).
    The second problem is, in the report i've added a
    'Text Element' object. In the webitem tab, for property
    'List of Text Elements', i've added all the variables
    of the Query, The variable of qry Q1 are populated in the report output, but the variable of qry Q3 are not, How do i display this variable.
    For the  variables where no criteria is given, the report shows the text as 'Empty Demarcation'. How can this be made blank.
    Regards,
    Nagendra.

    Hi Nagendra,
    For removing the Empty Demarcation, in SE38 > SAPLRRSV > look at Text Element 301 and blank it out.
    Hope this helps...

  • Open Hub Destination with Application Server Issue

    Hi all,
    I have requriment that i need to save my monthly data in application server with the help of OPen Hub Destination.I have created an DSO
    on that DSO i have created an Open HUb with application server as target.When i store my every month file in application server that file name should be a per the system date.
    So i have Created an LOgical File----ztest_data
    Assgined Physical path to Logical File-----/usr/sap/<sysid>........
    created an Logical File name------Ztest_data_file....
    IN the open HUb i have selected Aplication Server as My target and i have checked the box.
    I have selected Logical FIle name and given the file name which i have created-----ztest_data_file...
    Runned DTP it is showing no errors,but when i check in AL11 ,in the path which i have given(/usr/sap/<sysyid>........,i couldnt find the file.....
    Please check this and let me know...
    Thanks In Advance,
    Bobby.

    Hi,
    Please check the link /people/jyothi.velpula/blog/2010/01/20/creating-open-hub-destination-using-a-logical-file-to-extract-the-data .
    Also is your DTP full or delta. Try running the DTP as Full.
    Hope it helps.
    Best Regards,
    Kush Kashyap

  • Open hub Table deletions

    Hi all,
    I  am using an open hub and out put as DB .   for delta load form DSO in open hub level i selected technical key so it will maintain the entire history of delta changes but for performance reason i should delete the DB after some time  .
    note:
    I don't want to select the option deletion data from the table
    Thanks and regards
    uday

    HI,
    Deleteing Data in Tables depends on your requirements, generally there are options i.e. Append or Overwrite data, or Delete.
    For reference keep data in Tables after some time/days/weeks you can delete the data in tables using some ABAP code. So you write simple code to delete the data in that Table and execute that program whenever you want to delete the Data in Tables.
    For, some references see in below url in Open Hub Destination section
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Reg: Open Hub

    Hello, Experts.
    i am creating Open Hub to download selected data from the CUBE to load in to another Planning tool using CSV.
    here i have few question before i start working on this.
    if i use open hub do i have flexibility to select the data need from the cube.  
    like if i want to select only one version for few months is this possible? if so can you let me know how?
    Please suggest me
    Thanks
    Sharp

    Hello, Sam.
    so every month i can change my selection in production?  or every time if i intend to change the selection conditions i have to transport it from Dev?
    is it flexible as info pack selection where we can select only the data we need ?
    Thanks
    Sharp

  • Data selection in new Open Hub destination Vs Infospoke

    In BW 3.5, we can use T code RSBO to create Infospoke, In the selection tab, we can use any infoobject in the source infocube as the data filterfor the infoSpoke, e.g I can set company code as 1002 etc, while in the new  BI 7.0, Open Hub Destination,  where I can achieve the same by set the filter for a specific infoobject in the source cude?
    Edited by: Jianbai on Mar 29, 2010 11:49 PM
    Edited by: Jianbai on Mar 29, 2010 11:51 PM

    For Open Hub in BI7 we are creating transformation and DTP. The same resrtiction you can give in DTP (activate it after change).

  • Variable selection criteria in the record selection

    Variable selection criteria in the record selection with Crystal Report with SQL 2005 Server tables.
    In the record selection I would like to use the value of the field u201CsSQL1u201D as part of the selection criteria instead the field name {tblReportAccessAutority.sSQL1}
    The value of the field {tblReportAccessAutority.sSQL1} is {tblSalesReporting.sJEDivisionCode} = 'I'
    I tried with formulas, SQL expressions, but nothing works.
    Record selection of the report:
    {tblReportAccessAutority.sUserID} = CurrentCEUserName
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} =  {?PARAM_IG3RD}
    and {tblReportAccessAutority.sSQL1}                           <---this is the problem line
    The field {tblReportAccessAutority.sSQL1} is not converted in the value:
    {tblSalesReporting.sJEDivisionCode} = 'I'     
    The tables tblSalesReporting and tblReportAccessAutority are joined in this report.
    Many thanks for your help.
    Roger

    How is the syntax for the selection criteria in the record selection?
    {tblReportAccessAutority.sUserID} = 'ch1scro2'
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} = {?PARAM_IG3RD}
    and SELECT {@sSQL_Condition} ???????? or
    and  {@sSQL_Condition} ??????? or how?
    The expression fir the formula {@sSQL_Condition} is:
    TOTEXT({tblReportAccessAutority.sSQL1})
    The field definition for {tblReportAccessAutority.sSQL1} is nvarchar(50).
    Thanks Roger

  • WAD - How to create the variables to have the selection criteria

    Hi all,
      I am trying to display a BW Statistics query in 'Chart' with Web Application Designer (WAD). I want to have the selection criteria with variable USER ID ('ABC123'), Info Cube ('Z_FIGL_C01') and Time Period '01/01/2005' to '12/31/2005'. How can I have this selection criteria in Web Application Designer, PLEASE ?.
    Thanks.

    Venkat,
      Yes, It's possible.
       I think in the menu options.. there tools--> create Table(it's not Table Web Item web item). May be similar option. we need to create the Table. Right now i don't have the system. you need to keep the 2 Drop Down Boxes in the Table(in the 2 coloumns).
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Attribute variable in a selection criteria

    Hello Experts,
           I have an attribute '***' under infoobject 'patient id'. I wanted to create a variable on '***' and use it in the selection criteria on a query. I need to get only two options i.e F(emale) or
    M(ale) but I get all the options of 'patient id'. Is it possible to create variables on attributes and use them as the selection criteria? It would be great if someone could refresh me.
    Thanks,
    Anjali

    Hi!
    anjali I created a simmilar  senario in my system. It works fine with me. I have following conditions
    1) maitained masterdata for this *** infoobject
    2) maitained ***  as a navigational attribute in patient attributes and activated the patient
    3) maintained the *** attribute as a navigation attribute in ods object
    4) created a query which display my data based on ***
    5)created a variable with userentry  opetion with no default values.
    6)activted master data once again after this step
    I ods object i added the person(patient) in my data part and the *** attribute in navigational attribute section is displayed as  ZIOPERS_ZGENDER and ticked as navigational attribute.
      finally it is working  with my system. it is displaying only F and M values in variale entry scrren help. try closing the Bex and then restarting it.
    hope this info helps you
    with regards
    ashwin

  • Filtering data in Open Hub

    In the info-spoke definition, is there a way to make filter values dynamic in the 'Selection' tab.  For example, we have an info-spoke that we extract data to monthly - by fiscal period.  Since the Production instance is a closed system, we cannot change the filter value directly in Production, but would have to change it in Development and transport it up to Production.  I have read in some SAP documentation that there is a plan to have variables available as selection criteria but it was not mentioned when this would be available.  Thank you for your help.

    Hi Celine,
       Why you want to change the selections.... why cant you use delta...?
       If you want to do selection accourding to ur fiscal year create a BADI and create a variables from system data. and restrict according to ur selection.
       for more info check at www.service.sap.com/bi -> infoindex -> O(Open hub destination).
    I hope this helps.
    Srini

  • Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"

    Hi all,
    We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded. 
    I understand we could use logical file for this purpose.  However we are not sure how to have the period and year to be dynamically derived in filename.
    I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename".  However i could not seem to be able to get document from the link given. 
    Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
    Many thanks and best regards,
    Victoria

    Hi,
    After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths'  then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of  physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
    however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
    hope this helps u to some extent.
    Regards

  • MB5B G/L  ACCOUNT AS SELECTION CRITERIA

    Hi experts
    I have to modify mb5b tranx prg . presently we are using date as selection criteria..but now onwards user wants G/L account along with date as selection criteria. I created one selec-option for field HKONT type hkont-bseg. Now in select queries i need ur help ..Kindly tell me where i need to use this field in my select queries to fetch RELEVANT data.
    Regards
    Anu

    Go thru this code. hope it will help you.
    reward if help.
    REPORT zfi_gl_fss0
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Standard Include for Selection Screen
    INCLUDE bdcrecx1.
    Internal Table for Upload Data
    DATA: BEGIN OF i_gl OCCURS 0,
            saknr(010),            " GL Account
            bukrs(004),            " Company Code
            waers(005),            " Currency
            xsalh(001),            " BAl Local Curr Ind
            mwskz(002),            " Tax Category
           xopvw(001),            " Open Item Ind
           xkres(001),            " Line Item Ind
            zuawa(003),            " Sort Key
            fstag(004),            " Field Category
          END OF i_gl.
    Data Variables & Constants
    CONSTANTS : c_x             VALUE 'X',  " Flag
                c_tax           VALUE '0'.  " Tax Category
    Parameters
    PARAMETERS: p_file LIKE ibipparms-path.  " Filename
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start of Selection
    START-OF-SELECTION.
    Open the BDC Session
      PERFORM open_group.
    Upload the File into internal Table
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = i_gl
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Upload the Data from Internal Table
      LOOP AT i_gl.
    Initial Screen
        PERFORM bdc_dynpro      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN'
                                         '2001'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ACC_CRE'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_KEY-SAKNR'.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                      i_gl-saknr.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                      i_gl-bukrs.
        perform bdc_dynpro      using
                           'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=TAB02'.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                      i_gl-WAERS.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                      i_gl-XSALH.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                      i_gl-MWSKZ.
        perform bdc_field       using 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
       perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                     i_gl-XOPVW.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                      c_x."i_gl-XKRES.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                      i_gl-ZUAWA.
        perform bdc_dynpro      using
                             'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=SAVE'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_CCODE-FSTAG'.
        perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                      i_gl-FSTAG.
    Call The Transaction
        PERFORM bdc_transaction USING 'FSS0'.
      ENDLOOP.
    Close the BDC Session
      PERFORM close_group.

  • How to add into dynamic selection criteria (FBL1N) - custom field from LFB1

    Hello all,
    i have following problem. I added new customer field into table LFB1 (Z* field). And now i need to use this field as dynamic selection criteria in transaction FBL1N. I enhanced selection view for logical database KDF - i have created new customer view and I added my new field from LFB1. It is OK, i see this field in dynamic selection criteria in FBL1N but if i try to select according that Z* field, short dump occured.  
    open cursor with hold LC_KRED for select (VF_KRED_FIELDS)
            from <b>VF_KRED</b>
              where LIFNR in KD_LIFNR
              and   BUKRS in KD_BUKRS
              and   LAND1 in KD_LAND1
              and   KONZS in KD_KONZS
              and   VBUND in KD_VBUND
              and   AKONT in KD_AKONT
              and   BUSAB in KD_BUSAB
              and (VF_KRED_WHERE)
    Problem is in VF_KRED - this is database view (LFA1 joins LFB1). This view has no Z* fields and therefore it cannot be use in statement above -> dump.
    Is needed repature of standard - enhancement of view VF_KRED?
    Thank you very much.

    Hi guys,
    thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
    I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
    When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
    Regards

  • Open Hub Vs Infospoke

    Hi All,
    In BW 7 We are using Open Hub & previously using Infospoke in BW 3.5. My question is in infospoke we have the flexibility of using BADI but in Open Hub we dont have that option. can we still use infospoke instead of Open HUB. Are there any advantages of open hub over infospoke.
    Thanks,
    Kiran.

    Hi,
    The open hub service enables you to distribute data from an SAP BW system into external data marts, analytical applications, and other applications. With this, you can ensure controlled distribution using several systems. The central object for the export of data is the InfoSpoke. Using this, you can define the object from which the data comes and into which target it is transferred.
    Through the open hub service, SAP BW becomes a hub of an enterprise data warehouse. The distribution of data becomes clear through central monitoring from the distribution status in the BW system.
    Functions
    BW objects such as InfoCubes, ODS objects, or InfoObjects (attributes or texts) can act as open hub data sources. You can select database tables or flat files as open hub destinations. Both a full and a delta mode are also available as the extraction mode.
    Components of the Open Hub Service
    The open hub service is made up of the following objects:
    InfoSpoke
    The central object for the data export is the InfoSpoke.
    The InfoSpoke defines the following:
    u2022 The open hub data source from which the data is extracted
    u2022 The extraction mode
    u2022 The open hub destination into which the data is delivered.
    In addition, you can also select which data selection is to be extracted from which InfoProviders. This selection ensures that a destination for different points in time from the same InfoProvider can be supplied with data for different selection criteria using a delta. The selection set is freely configurable as long as extraction has not taken place in the delta mode. Once it has, this no longer applies.
    Open Hub Data Source
    BW objects such as InfoCubes, ODS objects, MultiProviders and MultiProviders and InfoObjects (attributes or texts) can function as open hub data sources. If you use an InfoCube with non-cumulative key figures as a data source, refer to the note regarding the settings on the Selection tab page in Creating InfoSpokes.
    Extraction Mode
    An InfoSpoke can extract data in two ways: in full mode (F) and in delta mode (D). See InfoSpoke Extraction Mode.
    Open Hub Destination
    Database tables (from the database in the BW system) and flat files (CSV) can act as open hub destinations. See also Extraction to Database Tables and Extraction to Flat Files. You can extract the data from a database to a non-SAP system using APIs with a third-party tool. See also Extraction to Non-SAP Systems.
    The open hub destination includes all information about a target system for the InfoProvider data: type of destination, name of the flat file or the database table. It also contains a logical target system. The logical target system is used to structure the individual open hub destinations in the open hub monitor. The open hub monitor groups the requests according to logical target system, open hub destination and InfoSpoke. By specifying a logical target system, you get a better overview of the individual open hub requests.
    for more information u can see the further link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ce/c2463c6796e61ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f902dfb06fc9e10000000a1553f6/content.htm
    open hub
    open hub
    @AK

  • Difference bw open hub destination and info spoke ???

    Hi,
    what are difference b/w open hub destination and info spoke ???
    Thanks In advance.
    Regards
      Nitin

    Hi,
    The open hub destination is the object that allows you to distribute data from a BI system to non-SAP data marts, analytical applications, and other applications. It ensures controlled distribution across multiple systems.
    The open hub destination defines the target to which the data is transferred.
    An InfoSpoke can extract data in two ways:
    1.Full mode (F): the data corresponding to the selection criteria of the InfoSpoke is transferred from the data source into the respective destination.
    2.Delta mode (D): records that were added since the last extraction only are transferred in this mode. This is only possible for the source objects InfoCube and DataStore object.
    See the below Articles:
    InfoSpoke: Part -1
    www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/infospoke%20part%201.pdf
    Open Hub Destination: Part 1
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%201.pdf
    Open Hub Destination: Part 2
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%202.pdf
    Thanks
    Reddy

Maybe you are looking for

  • What is a redo log file? can anyone explain in simple terms

    I am confused between redo log file and physical datafile can anyone explain in simple terms Thank u Regards, Vijay

  • How can I use an iteration value from a "while" (or "for") loop as part of a filename?

    I am using the "Write To Measurement File" function  inside a while structure and would like to incorporate the iterative value from the while-loop as part of the file name. I'm not sure how to do it. Any suggestions?

  • Can't uninstall itunes Windows 7

    Hi everyone, I downloaded iTunes (11.0.3.42) the other day but it wouldn't open (specific error message: "iTunes was not properly installed.  If you wish to import or burn CDs you need to reinstall iTunes).  I think what happened is that I inadverten

  • Get Session Object return NullPointerException

    Hi, i write my code this give me NullPointerException                ClientBean client = (ClientBean)FacesContext.getCurrentInstance().getExternalContext(). getRequestMap().get("client"); here is my faces-config.xml <managed-bean> <description> Clien

  • I can't update my ipod to the other pc

    when i try to update my ipod to the other pc it won't let me update. When i tried to plug in my ipod it would still show please plug in your ipod to update it. Please help me! I update this already to my dad's computer and now he sold his computer to