Infoobject in queries

Hi,
I amgetting an invalid char error while loading transcational data for in foobject 0incoterms2. To resolve it  I am planning to remove the mapping from transformation. But i have to make sure that 0intcoterms is not used in any of the queries.Can some one tell me how to do this(sme meta table etc). From where used list of infoobject queries are not displayed.
Thanks
Regards ,
Fazil

Hi.........
Go to RSA1 >> Metadata repository >> Click on Infoobject>>From there find the required infoobject andclick on it.........There u can find the whole flow........... quiries that infoobject has been used........InfoObject Directly Used in These Queries............
Hope this helps........
Thanks==Points as per SDN...............;)
Regards,
Debjani.........
Edited by: Debjani  Mukherjee on Oct 28, 2008 7:38 AM
Edited by: Debjani  Mukherjee on Oct 28, 2008 7:40 AM

Similar Messages

  • Usage of a specific infoobject in Queris/Workbooks

    Hi everybody.
    I'm going to add some nav. attribute to 0vendor infobject, and than
    I need to update many queries in which 0vendor exists by replacing the
    0vendor by the new nav. attribute.
    I need to now in which workbooks/queries that are in use (in the last 30 days)
    I have to make the changes.
    Please help !!!
    Thanks
    M.B.

    I'm affraid you'll have to dig into some tables... here are a few that might be usefull
    RSRREPDIR (you can find all queries linked to a Cube or get at least the guid of a query)
    RSZELTXREF (with the guid you found before, you can retrieve ALL the query elements)
    RSZELTDIR (gives more details about the elements... )
    it'll depend whether you want to look on variables on the InfoObject or just the use of the InfoObject in rows/columns how far you have to dig... obviously you can dig the other way

  • Auth: Restrict Infoobject for Queries differently for the same user

    Hi guys,
    I need to restrict an infoobject differently for some queries (analysis authorization). For example, I need to give full hierarchie access for query 1 to user 1.  But for another query for the same user I need to restrict the hierarchie authorization. Furthermore, both queries are based on the same multi provider. It is not possible to use different multi provider ... the adjustment effort is to high (to many queries).
    I have set up an authorization with rsecadmin
    QUERY1:
    ZHier1     Hyrarchie 1
    ZHier2     Hyrarchie 2
    0TCAACTVT     Activity in Analysis Authorizations
    0TCAIPROV     Authorizations for InfoProvider
    0TCAVALID     Validity of an Authorization
    0TCTQUERY     Query
    -->I added the respective values for the queries, the used multiprovider, hierarchies, etc.
    I have set up the same for QUERY 2 with different Hierarchy and Query values, but it does not work correctly. The user is always authorized for the hierarchie values of both queries.
    Thanks foryour helpin advance!!
    Regards,
    Sven

    Hi Sankar,
    Sorry for the confusion. Lets focus only one hierarchy ... ZHier1. 
    QUERY1:
    ZHier1     -> value: node2
    0TCAACTVT     -> value: 2 & 3
    0TCAIPROV -> value: multiprovider1
    0TCAVALID     -> value: *
    0TCTQUERY     -> value: query1 (based on multiprovider1)
    QUERY2:
    ZHier1     -> value: node2.1 (sub node of node 2)
    0TCAACTVT     -> value: 2 & 3
    0TCAIPROV -> value: multiprovider1
    0TCAVALID     -> value: *
    0TCTQUERY     -> value: query2 (based on multiprovider1)
    But this does not work. When I use query2 in reports the user has access to node2 and not only to node2.1.
    Any idea?
    Thanks again!
    Sven

  • Need help for finding objects impacted by size change for an infoobject

    hi all,
    need help for finding objects impacted by size change
    for xxx infoobject, due to some requirements, the size to be changed from
    char(4) to char(10), in the source database tables as well as adjustment
    to be done in BI side.
    this infoobject xxx is nav attribute of YYY as well as for WWW
    infoobjects. and xxx is loaded from infopkg for www infoobject load.
    now that i have to prepare an impact analysis doc for BI side.
    pls help me with what all could be impacted and what to be done as a
    solution to implement the size change.
    FYI:
    where used list for xxx infoobject - relveals these object types :
    infocubes,
    infosources,
    tranfer rules,
    DSO.
    attribute of characteristic,
    nav attribute,
    ref infoobject,
    in queries,
    in variables

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

  • What is Business Content ?

    Hi,
      I am new to BW and Learning BW
    What is Business Content in BW (3.5)?
    Any useful material in this regard will be helpful.
    Thanks

    Hi
    Business content is the function of dataware house workbench.It consists of preconfigured infoobjects,infocubes,Queries,Infosources.What we will do is transfer them according to our requirement in the project.
    Refer to this link to get in detail
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c13db90-0201-0010-e59d-bdd1c7b3f8c5
    if any doubts let me know
    <Request for points removed>
    Cheers
    Sunil Reddy LCP
    Message was edited by:
    Moderator

  • Roles,Authorization,Authorization objects for APD

    Hi Experts,
    Can anyone give me the list of roles,authorizations,authorization objects required related to APD.
    Its been a problem for us getting stuck at each authorization.
    With Regards,
    Meiyappan.

    The Analysis Process Designer allows you to work with a large number of objects. This includes different BW objects such as InfoProviders, InfoObjects or queries, and also other objects such as temporary database tables that are influenced by actions  already carried out and are authorization-relevant.
    Note 919614 - APD: FAQ authorization

  • To find Queries by InfoObjects

    Hi SDN Community
    Here is a reversal of a post made by another developer
    List of infoobjects used in a Query
    This has the reverse logic... thanks for the tip.
    *& Report  ZBW_FIND_CHARACTERISTICS_QUERY
    SAP Consulting BW Tools:
    *& Find Characteristics in BEx Queries using ABAP
    *& List of infoobjects used in a Query
    *& Developer: WBHADS 07/06/2011
    REPORT  ZBW_FIND_CHARACTERISTICS_QUERY.
    PARAMETER:  CHARACT   LIKE rszrange-IOBJNM.
    DATA:  s_characteristic LIKE rszrange-IOBJNM.
    s_characteristic  = CHARACT.
    DATA: lv_count        TYPE i.
    DATA: lv_count1       TYPE i.
    DATA: lv_count2       TYPE i.
    Data Declaration
    DATA:  D_MSG_TEXT(50).
    DATA:  lc_DIRECTORY(30)         TYPE c.
    DATA:  P_FILE(128).
    DATA:  FILENAME(128).
    DATA:  lc_query(60)             TYPE c.
    DATA:  lc_date(30)              TYPE c.
    DATA:  lc_time(30)              TYPE c.
    DATA:  lc_start_time(60)        TYPE c.
    DATA:  lc_syst(30)              TYPE c.
    DATA:  lc_exception(120)        TYPE c.
    RSZELTDIR   Directory of the reporting component elements
    RSZELTTXT   Texts of reporting component elements
    RSZELTXREF  Directory of query element references
    RSRREPDIR   Directory of all reports (Query GENUNIID)
    RSZCOMPDIR  Directory of reporting components
    RSZRANGE    Selection specification for an element
    RSZSELECT   Selection properties of an element
    RSZELTDIR   Directory of the reporting component elements
    RSZCOMPIC   Assignment reuseable component <-> InfoCube
    RSZELTPRIO  Priorities with element collisions
    RSZELTPROP  Element properties (settings)
    RSZELTATTR  Attribute selection per dimension element
    RSZCALC     Definition of a formula element
    RSZCEL      Query Designer: Directory of Cells
    RSZGLOBV    Global Variables in Reporting
    data: gi_data like rszrange occurs 0 with header line.
    Determine the queries
    tables:
    RSZELTTXT,
    rszeltdir,
    rszeltxref,
    rszrange.
    data: begin of lt_line occurs 0,
            ELTUID  like RSZELTDIR-ELTUID,      "char 25
            MAPNAME like RSZELTDIR-MAPNAME,       "char 30
          end of lt_line.
    data: begin of lt_line1 occurs 0,
            SELTUID  like rszeltxref-SELTUID,      "char 25
            TELTUID  like rszeltxref-TELTUID,     "char 25
            LAYTP    like rszeltxref-LAYTP,       "char 30
          end of lt_line1.
    data: begin of lt_line2 occurs 0,
            ELTUID  like rszrange-ELTUID,      "char 25
            IOBJNM  like rszrange-IOBJNM,     "char 25
          end of lt_line2.
    data: lt_tab like standard table of lt_line initial size 0.
    data: lt_tab1 like standard table of lt_line initial size 0.
    data: lt_tab2 like standard table of lt_line initial size 0.
    data: lt_line20(128) TYPE c.  " LIKE RSZELTXREF-SELTUID.
    data: lt_line30(128) TYPE c.  " LIKE RSZELTXREF-SELTUID.
      clear lt_line.
      lv_count  = 0.
      lv_count2 = 0.
    Loop through all the queries
      select * from RSZELTDIR
               into corresponding fields of lt_line
               where DEFTP = 'REP'
               and OBJVERS  = 'A'.
             Filter by the Z Developed Queries
               IF lt_line-MAPNAME CP 'Z*'.
                clear lt_line20.
                Get the Query Long Name
                  select single * from RSZELTTXT
                    into lt_line20
                    where eltuid = lt_line-eltuid           "rszeltdir-eltuid
                    and objvers = 'A'
                    and langu = 'EN'.
                  Find all the query elements within the query
                    select * from rszeltxref
                     into corresponding fields of lt_line1
                      where seltuid = lt_line-eltuid        "rszeltdir-eltuid
                      and objvers = 'A'.
                      IF lt_line1-laytp = 'FIX' OR lt_line1-laytp = 'COL' OR lt_line1-laytp = 'ROW'.
                        Determine if the Query Element is matching to the characteristic
                          select * from rszrange             "appending table gi_data
                             into corresponding fields of lt_line2
                             where eltuid = lt_line1-teltuid    "rszeltxref-teltuid
                             and objvers = 'A'
                             and enum = 1.
                              Populate tables
                                IF lt_line2-IOBJNM = s_characteristic.
                                    append  lt_line-MAPNAME to lt_tab.
                                    lv_count = lv_count + 1.
                                ENDIF.
                          endselect.
                      ENDIF.
                   endselect.
               ENDIF.
      endselect.
        sort lt_tab by MAPNAME.
        delete adjacent duplicates from lt_tab comparing MAPNAME.
       DIRECTORY represents path where file is stored .
        lc_DIRECTORY = '/interfaces/EDW/data/CSM/'.
        CONCATENATE 'EDW Queries by Characteristic -' SY-DATUM
        '.txt' into P_FILE SEPARATED BY SPACE.
      CONCATENATE lc_DIRECTORY P_FILE into FILENAME.
    Opening the Log File
      OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
                           ENCODING DEFAULT.
        IF SY-SUBRC NE 0.
          WRITE: 'File cannot be opened. Reason:'.  ", D_MSG_TEXT.
          EXIT.
        ENDIF.
       CONCATENATE 'System Date -' SY-DATUM 'YYYYMMDD' into lc_date
              SEPARATED BY SPACE.
       CONCATENATE 'EDW System -' SY-SYSID into lc_syst
              SEPARATED BY SPACE.
          TRANSFER lc_date TO FILENAME.
          TRANSFER lc_start_time TO FILENAME.
          TRANSFER lc_syst TO FILENAME.
      Queries for the parameters
         loop at gi_data into lt_line.
          loop at lt_tab into lt_line.
             TRANSFER lt_line TO FILENAME.
          endloop.    "Query Loop
    Closing the Log File
      CLOSE DATASET FILENAME.

    We have successfully created an ABAP program to do this.
    Thank you.
    Simon
    *& Report  ZBW_FIND_CHARACTERISTICS_QUERY
    SAP Consulting BW Tools:
    *& Find Characteristics in BEx Queries using ABAP
    *& List of infoobjects used in a Query
    *& Developer: WBHADS 07/06/2011
    REPORT  ZBW_FIND_CHARACTERISTICS_QUERY.
    PARAMETER:  CHARACT   LIKE rszrange-IOBJNM.
    PARAMETER:  VARIABN   LIKE RSZGLOBV-VNAM.
    DATA: query_name TYPE RSZCOMPID.
    DATA: s_varname  TYPE RSZGLOBV-VNAM,
          s_varnameu TYPE RSZGLOBV-VARUNIID.
    DATA:  s_characteristic LIKE rszrange-IOBJNM.
    DATA: lv_count        TYPE i.
    DATA: lv_count1       TYPE i.
    DATA: lv_count2       TYPE i.
    Data Declaration
    DATA:  D_MSG_TEXT(50).
    DATA:  lc_DIRECTORY(30)         TYPE c.
    DATA:  P_FILE(128).
    DATA:  FILENAME(128).
    DATA:  lc_query(60)             TYPE c.
    DATA:  lc_date(30)              TYPE c.
    DATA:  lc_time(30)              TYPE c.
    DATA:  lc_start_time(60)        TYPE c.
    DATA:  lc_syst(30)              TYPE c.
    DATA:  lc_exception(120)        TYPE c.
    RSZELTDIR   Directory of the reporting component elements
    RSZELTTXT   Texts of reporting component elements
    RSZELTXREF  Directory of query element references
    RSRREPDIR   Directory of all reports (Query GENUNIID)
    RSZCOMPDIR  Directory of reporting components
    RSZRANGE    Selection specification for an element
    RSZSELECT   Selection properties of an element
    RSZELTDIR   Directory of the reporting component elements
    RSZCOMPIC   Assignment reuseable component <-> InfoCube
    RSZELTPRIO  Priorities with element collisions
    RSZELTPROP  Element properties (settings)
    RSZELTATTR  Attribute selection per dimension element
    RSZCALC     Definition of a formula element
    RSZCEL      Query Designer: Directory of Cells
    RSZGLOBV    Global Variables in Reporting
    data: gi_data like rszrange occurs 0 with header line.
    Determine the queries
    tables:
    RSZELTTXT,
    rszeltdir,
    rszeltxref,
    rszrange.
    data: begin of lt_line occurs 0,
            ELTUID      like RSZELTDIR-ELTUID,        "char 25
            MAPNAME     like RSZELTDIR-MAPNAME,       "char 30
            TXTLG(60)   TYPE c,
          end of lt_line.
    data: begin of lt_line1 occurs 0,
            SELTUID  like rszeltxref-SELTUID,      "char 25
            TELTUID  like rszeltxref-TELTUID,      "char 25
            LAYTP    like rszeltxref-LAYTP,
          end of lt_line1.
    data: begin of lt_line2 occurs 0,
            ELTUID    like rszrange-ELTUID,      "char 25
            IOBJNM    like rszrange-IOBJNM,
            LOW       like rszrange-LOW,
            LOWFLAG   like rszrange-LOWFLAG,
          end of lt_line2.
    data: begin of lt_line3 occurs 0,
            VARUNIID  like RSZGLOBV-VARUNIID,      "char 25
            VNAM      like RSZGLOBV-VNAM,
            IOBJNM    like RSZGLOBV-IOBJNM,
          end of lt_line3.
    data: lt_tab like standard table of lt_line initial size 0.
    data: lt_tab1 like standard table of lt_line1 initial size 0.
    data: lt_tab2 like standard table of lt_line2 initial size 0.
    data: lt_tab3 like standard table of lt_line3 initial size 0.
    data: lt_line20(128) TYPE c.  " LIKE RSZELTXREF-SELTUID.
    data: lt_line30(128) TYPE c.  " LIKE RSZELTXREF-SELTUID.
    type-pools:
          rs,   "BW global
          rrms, "message server
          rsz,  "Qry definition global
          rzx0, "Qry RFC interface
          rzd1. "Qry definition database
    DATA: l_target_compid   TYPE rszcompdir-compid,
          l_t_uid_server    TYPE rzx0_t_uid_server,
          l_s_uid_server    TYPE rzx0_s_uid_server_x,
          l_s_msg           TYPE rs_s_msg,
          l_s_compdir       TYPE rzx0_s_compdir,
          l_s_eltdir        TYPE rzx0_s_eltdir,
          l_s_elttxt        TYPE rzx0_s_elttxt,
          l_t_eltdir        TYPE rzx0_t_eltdir,
          l_t_eltprop       TYPE rzx0_t_eltprop,
          l_t_eltprio       TYPE rzx0_t_eltprio,
          l_t_eltattr       TYPE rzx0_t_eltattr,
          l_t_eltxref       TYPE rzx0_t_eltxref,
          l_t_compdir       TYPE rzx0_t_compdir,
          l_t_compic        TYPE rzx0_t_compic,
          l_t_select        TYPE rzx0_t_select,
          l_t_range         TYPE rzx0_t_range,
          l_t_calc          TYPE rzx0_t_calc,
          l_t_elttxt        TYPE rzx0_t_elttxt,
          l_t_cell          TYPE rzx0_t_cel.
    data: c_subrc LIKE sy-subrc.
    data:
      l_GENUNIID                  LIKE RSRREPDIR-GENUNIID,
      l_COMPID                  LIKE RSZCOMPDIR-COMPID,
      l_COMPUID                  LIKE RSZCOMPDIR-COMPUID,
      I_OBJVERS                  LIKE RSZCOMPDIR-OBJVERS,
      I_WITH_TEMPLATES         LIKE RSGENERAL-BOOL,
      I_BY_INFOCUBE           LIKE RSZCOMPIC-INFOCUBE,
      I_TEMPLATE_TYPE           LIKE RSZELTDIR-DEFTP,
      I_VARIABLE_TYPES           LIKE RSZHELP-VARTYPES,
      I_VARIABLE_INFOOBJECT    LIKE RSZGLOBV-IOBJNM,
      I_LANGUAGE                  LIKE SY-LANGU,
      I_USE_BUFFER           TYPE RS_BOOL.
    FIELD-SYMBOLS:
                   <l_s_eltdir>        TYPE rzx0_s_eltdir,
                   <l_s_compdir>       TYPE rzx0_s_compdir,
                   <l_s_compic>        TYPE rzx0_s_compic,
                   <l_s_eltxref>       TYPE rzx0_s_eltxref.
    DATA:
        l_t_eltxref_seltuid   LIKE rszeltxref-seltuid,
        l_t_eltxref_teltuid   LIKE rszeltxref-teltuid,
        l_t_eltxref_laytp     LIKE rszeltxref-laytp.
      s_characteristic  = CHARACT.
    Find instances of the Forecast/Budget Variable in queries
      s_varname  = VARIABN.  "'ZE_BFC01'.
      SELECT SINGLE VARUNIID from RSZGLOBV
          INTO s_varnameu where VNAM = s_varname.
      clear lt_line.
      lv_count  = 0.
      lv_count2 = 0.
    Loop through all the queries
      select * from RSZELTDIR
               into corresponding fields of lt_line
               where DEFTP = 'REP'
               and OBJVERS  = 'A'.
               l_COMPUID = lt_line-ELTUID.
               l_GENUNIID = lt_line-MAPNAME.
             Filter by the Z Developed Queries
               IF l_GENUNIID CP 'Z*'.
                clear lt_line20.
                Get the Query Long Name
                  select single * from RSZELTTXT
                    into lt_line20
                    where eltuid = lt_line-eltuid           "rszeltdir-eltuid
                    and objvers = 'A'
                    and langu = 'EN'.
                  Find all the query elements within the query using function module
                  Get the tables of source query and its components
                    CALL FUNCTION 'RSZ_X_COMPONENT_GET'
                      EXPORTING
                       i_genuniid   =
                       I_COMPID     =
                        I_COMPUID     = l_COMPUID
                      IMPORTING
                        e_subrc       = c_subrc
                      TABLES
                       c_t_eltdir    = l_t_eltdir
                       c_t_eltprop   = l_t_eltprop
                       c_t_eltprio   = l_t_eltprio
                       c_t_eltattr   = l_t_eltattr
                        c_t_eltxref   = l_t_eltxref.
                       c_t_compdir   = l_t_compdir
                       c_t_compic    = l_t_compic
                       c_t_select    = l_t_select
                       c_t_range     = l_t_range
                       c_t_calc      = l_t_calc
                       c_t_elttxt    = l_t_elttxt
                       c_t_cell      = l_t_cell.
                    LOOP AT l_t_eltxref ASSIGNING <l_s_eltxref>.
                      l_t_eltxref_seltuid = <l_s_eltxref>-seltuid.
                      l_t_eltxref_teltuid = <l_s_eltxref>-teltuid.
                      l_t_eltxref_laytp  = <l_s_eltxref>-laytp.
                      IF l_t_eltxref_laytp = 'FIX' OR l_t_eltxref_laytp = 'COL' OR l_t_eltxref_laytp = 'ROW' OR l_t_eltxref_laytp = 'AGG'.
                        Determine if the Query Element is matching to the characteristic
                          select * from rszrange
                             into corresponding fields of lt_line2
                             where eltuid = l_t_eltxref_teltuid        "rszeltxref-teltuid
                             and objvers = 'A'.
                        Determine the variable name or master data value
                              IF lt_line2-LOWFLAG = 1.
                                Populate tables if match for Characterisic
                                  IF lt_line2-IOBJNM = s_characteristic.
                                      move lt_line-ELTUID  to lt_line-ELTUID.
                                      move lt_line-MAPNAME to lt_line-MAPNAME.
                                      move lt_line2-LOW    to lt_line-TXTLG.
                                      append  lt_line to lt_tab.
                                      lv_count = lv_count + 1.
                                      clear lt_line2-LOW.
                                  ENDIF.
                              ELSE.
                                 select * from RSZGLOBV
                                   into corresponding fields of lt_line3
                                   where VARUNIID = lt_line2-LOW
                                   and objvers = 'A'.
                                  Populate tables if match for Characterisic
                                    IF lt_line2-IOBJNM = s_characteristic.
                                        move lt_line-ELTUID  to lt_line-ELTUID.
                                        move lt_line-MAPNAME to lt_line-MAPNAME.
                                        move lt_line3-VNAM   to lt_line-TXTLG.
                                        append  lt_line to lt_tab.
                                        lv_count = lv_count + 1.
                                        clear lt_line3-VNAM.
                                    ENDIF.
                                endselect.
                              ENDIF.
                          endselect.
                      ENDIF.
                      clear l_t_eltxref_seltuid.
                      clear l_t_eltxref_teltuid.
                      clear l_t_eltxref_laytp.
                    ENDLOOP.
               ENDIF.
               clear lt_line-ELTUID.
               clear lt_line-MAPNAME.
               clear lt_line-TXTLG.
      endselect.
        sort lt_tab by MAPNAME.
        delete adjacent duplicates from lt_tab comparing ELTUID MAPNAME TXTLG.
       DIRECTORY represents path where file is stored .
        lc_DIRECTORY = '/interfaces/EDW/data/CSM/'.
        CONCATENATE 'EDW Queries by Characteristic -' SY-DATUM
        '.txt' into P_FILE SEPARATED BY SPACE.
      CONCATENATE lc_DIRECTORY P_FILE into FILENAME.
    Opening the Log File
      OPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE
                           ENCODING DEFAULT.
        IF SY-SUBRC NE 0.
          WRITE: 'File cannot be opened. Reason:'.  ", D_MSG_TEXT.
          EXIT.
        ENDIF.
       CONCATENATE 'System Date -' SY-DATUM 'YYYYMMDD' into lc_date
              SEPARATED BY SPACE.
       CONCATENATE 'EDW System -' SY-SYSID into lc_syst
              SEPARATED BY SPACE.
          TRANSFER lc_date TO FILENAME.
          TRANSFER lc_start_time TO FILENAME.
          TRANSFER lc_syst TO FILENAME.
      Queries for the parameters
          loop at lt_tab into lt_line.
             TRANSFER lt_line TO FILENAME.
          endloop.    "Query Loop
    Closing the Log File
      CLOSE DATASET FILENAME.

  • How to find the list of queries containing a Particular Infoobject

    Hi all,
    I have requirement to find the list of queries and workbooks which contains a Particular Infoobject. Please advice is there any Database table or Programs exists to find..
    Thanks in advance
    GAMY..

    Hi,
    Thanks for your replies.
    I have tried the oprion already..(RSD1 > Type in the name of the InfoObject and from the menu Edit > choose Where Used list.) but no use. It doesn't show the list of queires..It shows only the data targets.
    I would like to know is there any table to achieve the requirement.
    Thanks in advance
    Ganesh(GAMY)

  • List of infoobject used in queries

    hello!
    can someone tell me how to find the list of the infoObjects (fields) that are being used in all queries based on some set of infoProviders?
    I would like to know what tables I should be looking for.
    What I'm trying to find is  the list of infoObjects used by all my users, from the genereal list of infoObjects found in the infoProviders they use.
    thank you very much,
    Roman

    Function Modules RSZ_I_BASIC_CHA_WHERE_USED and RSZ_DB_KEYFIG_WHERE_USED will be able to tell you which queries an InfoObject is used in. You can use the RSDIOBJ table to get a list of the InfoObjects that are active in your BW system.
    Create an ABAP program that does the following:
    1) SELECT all of the InfoObjects in RSDIOBJ into an ITAB where the RSDIOBJ-OBVERS = 'A' (Active) and RSDIOBJ-IOBJTP = 'CHA' or 'KYF' (Character and Key Figure respectively).
    2) Copy ITAB into another ITAB.
    3) Delete all records with InfoObject type of Key Figure in the first ITAB, so that you only have Characteristics in the ITAB.
    4) Delete all records with InfoObject type of Characteristics in the second ITAB, so that you only have Key Figures in that ITAB.
    5) LOOP through the Characteristics ITAB and call the RSZ_I_BASIC_CHA_WHERE_USED FM, for each row in the ITAB, with the Import Parameters of I_OBJNM being the InfoObject being processed, I_OBJVERS always equal to 'A' and I_QUERIES_ONLY always equal to 'X'. LOOP through the structure returned and populate to a third ITAB.
    6) After all Characteristics have been processed, LOOP through the Key Figures ITAB and call the RSZ_DB_KEYFIG_WHERE_USED FM, for each row in the ITAB, with the Import Parameters of I_OBJNM being the InfoObject being processed, I_OBJVERS always equal to 'A'. LOOP through the structure returned and populate to the third ITAB.
    Edited by: Dennis Scoville on Nov 3, 2009 3:34 PM

  • Infoobject where-used list in Queries

    Hi all,
    Is there a way to find a list of all queries in which a specific infoobject is used?
    thanks
    Sabrina.

    Don't know if there is a easy way around this, but try the following:
    1) In table RSZRANGE give the InfoObject and active version.
    2) Take the ELTUID and give them in the RSRREPDIR-COMPUID to get the queries which have the characteristic as free, rows or columns.
    3) The only problem is that for things like key figures or structures, the RSZRANGE would refer to the structure (key figure or other) and not the query. In this case step 2 would fail. Table RSZELTXREF can then be used to get the linking. Give the ELTUID in TELTUID and then repeat step 2 for SELTUID.
    Repeat step 3 with the SELTUID this time. Keep on repeating until the output list does not grow.

  • InfoObjects used in Queries

    In BW 3.0B, is there an easy way to determine which InfoObjects are used in queries?  The ‘Where Used’ list for individual objects does not include queries.  I’m really looking for a way of determining which objects are actually used for reporting.
    Thanks in advance,
    Mike

    Hi Mike,
    You can see all queries in table RSRREPDIR , which will have some compressed name of the query in COMPUID field. This field will link it to a cross reference table which lists all the columns and rows of the report (table RSZELTXREF).
    The infoobject is stored in this table (RSZELTXREF) in a compressed format, I am not sure where to find the link to the infoobject technical name, but you can find the infoobject description in RSZELTDIR.
    This way (RSRREPDIR>RSZELTXREF>RSZELTDIR) you should get close to what you want.
    cheers,
    Ajay

  • How to find list of queries that the Cost Center infoobject is used in.

    Hi
    Is there any easy way of finding the list of queries that has cost center (0COSTCENTER) used in them? Please let me know.
    Thanks for your help.

    or try to create and run this program (SE38)
    Where-used list of an attribute (either display or navigational)
    REPORT ZZZ_IO_QUERY.
    tables : RSZRANGE, "table
    RSZELTXREF,
    RSZELTTXT,
    RSRREPDIR,
    RSZSELECT,
    RSZCOMPDIR.
    data : begin of IT_RSZSELECT occurs 0,
    iobjnm like RSZSELECT-iobjnm,
    eltuid like RSZSELECT-eltuid,
    end of IT_RSZSELECT,
    begin of IT_RESULT occurs 0,
    iobj like RSZSELECT-iobjnm,
    iobjnm like RSZSELECT-iobjnm,
    infocube like rszeltxref-infocube,
    compid like rszcompdir-compid,
    txtlg like rszelttxt-txtlg,
    laytp like rszeltxref-laytp,
    end of IT_RESULT.
    data : iobj2 like RSZSELECT-iobjnm,
    l_count type I.
    select-options : IOBJ for RSZSELECT-IOBJNM.
    write :/ 'Infoobject : ', IOBJ+3.
    write at /20(30) 'Name'.
    write at 50(15) 'Infocube'.
    write at 65(30) 'Query Tech Name'.
    write at 95(50) 'Description'.
    loop at IOBJ.
    l_count = 0.
    concatenate '%' iobj-low into iobj2.
    select iobjnm eltuid
    from rszselect
    into table it_RSZSELECT
    where ( iobjnm in IOBJ or
    iobjnm like IOBJ2 )
    and objvers = 'A'.
    loop at it_RSZSELECT.
    it_result-iobj = iobj.
    it_result-iobjnm = it_RSZSELECT-iobjnm.
    select *
    from rszeltxref
    where teltuid = it_RSZSELECT-eltuid
    and objvers = 'A'.
    Query description
    field txtlg
    select *
    from rszelttxt
    where eltuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    Query technical name
    field compid
    select *
    from rsrrepdir
    where compuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    endselect.
    it_result-infocube = rszeltxref-infocube.
    if it_result-infocube = ''.
    it_result-infocube = rsrrepdir-infocube.
    endif.
    it_result-compid = rsrrepdir-compid.
    it_result-txtlg = rszelttxt-txtlg.
    it_result-laytp = rszeltxref-laytp.
    append it_result.
    endloop.
    sort it_result by infocube.
    loop at it_result.
    l_count = l_count + 1.
    write at / l_count.
    write at 20(30) it_result-iobjnm.
    write at 50(15) it_result-infocube.
    write at 65(30) it_result-compid.
    write at 95(50) it_result-txtlg.
    endloop.
    endloop.

  • Authorisations in BW for different Queries and one InfoObject

    Hi,
    we have a problem regarding Authorisations in BW.
    Some of our users have different rights on different queries e.g. for the Info-Object 0PLANT. For the query ABC he should see data to more plants than for the query XYZ.
    Our idea was to build an Authorisation-Object containing 0PLANT, TCTQUERY, TCTIFAREA and TCT ICUBE and to set the authorization for 0PLANT regarding the detailled name of the query (TCTQUERY). But this doesn't work because when starting the query SAP doesn't check the name of the Query. And so the user can always see the sum of plants set in both authorisations.
    Maybe someone of you has useful hints.

    Hi Andreas,
    In your case you need to use hierarchical authorizaton object to provide data restriction on the queries. Thus everyone can have the same query and they view what ever they are supposed to. Please find the how to document called: "How To…Work With Hierarchy Authorizations" You will find detalied information and businees scenario about the topic. Please let me know if I can assist you further
    Regards

  • BI7 InfoObject Value Level Authorization for Queries

    Hi Guys/Gals,
          this is my requirement.....
    we have a HR ODS which has personal information of employees from 72 Companies.
    we have a query based on this ODS ....
    My requirement is when User A runs the query only data from Company A must be displayed...
    and when User B runs the same query only data from Company B must be displayed....  
    no pop-ups for the company code .....
    i posted this question yesterday & got a few replies....i tried them out... but there is this issue...
    i used the RSECADMIN & created the AO which includes the 0COMP_CODE....
    then i added it to the role using PFCG....
    when i add the AO i created in the " BI Analysis Authorizations: Na " section...
    the query gives a "no authorization" error.....
    then one of u guy asked me to add it in to the
    "SAP Business Information Warehouse - Reporting" section,,,, so i did that....
    but unless i also add " BI Analysis Authorizations: Na " with * the query doesn't work....
    and when i add " BI Analysis Authorizations: Na " with * &
    "SAP Business Information Warehouse - Reporting" with the AO i created...
    the filter doesn't work... it displays all the data
    please help me.....

    Hello Christopher,
    your thread is a little bit confusing and unclear. I just had a look at the other two threads you posted and here are my comments:
    Prerequisite for the use of BI 7.0 analysis authorizations:
    - each user needs authorizations for the three special dimensions (0TCAACTVT, 0TCAIPROV and 0TCAVALID) otherwise queries won't run!
    As a consequence you will have to create analysis authorizations like this:
    <b>ZCOMP_1000</b>
    0COMP_CODE<i> I EQ</i> 1000
    0TCAACTVT <i>I EQ</i> 03
    0TCAIPROV <i>I EQ</i> your HR DSO
    0TCAVALID <i>I EQ</i> *
    <b>ZCOMP_2000</b>
    0COMP_CODE<i> I EQ</i> 2000
    0TCAACTVT <i>I EQ</i> 03
    0TCAIPROV <i>I EQ</i> your HR DSO
    0TCAVALID <i>I EQ</i> *
    You can then assign these authorizations directly to your specific users using RSU01 or you will create a role and add the authorization object S_RS_AUTH with value ZCOMP_1000 and another one that contains S_RS_AUTH with value ZCOMP_2000.
    Of course your users will need authorizations for standard reporting such as S_RFC, S_RS_COMP, S_RS_COMP1.
    S_RS_ICUBE, S_RS_ODSO, S_RS_MPRO, S_RS_ISET are not necessary any more for reporting because they were replaced by 0TCAIPROV in the analysis authorization.
    Finally the query selection must be COMPLETELY be a part of the user's authorizations. This is best done by an query variable that is filled from the user's authorizations at runtime.
    Good luck,
    Petra

  • InfoObject level authorization for Queries

    Hello Experts,
    I'm working on an authorization object to restrict my queries. Basically we want to restrict the queries based on Personnel area. I've created an authorization from RSECADMIN with the following variables.
    0PERS_AREA eq XXXX
    0TCAACTVT    eq 03
    0TCAIPROV    eq my infocube
    0TCAVALID     cp *
    I've made my info object 0PERS_AREA as authorization relevant and I've assigned this object to a user say 'A' from RSECADMIN. Now for the personnel area in my query I've created a variable of type 'characteristic value', variable name as ZPERSA, processing by 'Authorization', variable represents 'Multiple Single Values' and not ready for input. FYI, I've created this variable from single values selection.
    When I execute the query with user A, I expect it to display the data for personnel area XXXX only but it displays the data for all the personnel areas. Can someone please help whats wrong here.
    Regards,
    NR

    Hi Viki,
    I've checked that earlier and I've tried all options like creating a value range variable with and without ready for input and with single values and multiple single values. But the query gives me all the personnel area records when I execute the query.
    Can someone please help. Its very urgent.
    NR

Maybe you are looking for