Getting list of reports  and related tables used in those reports using sdk

some columns are changing in the database tables.
we like to know how many reports are affected by that .
please can any one help me in getting list of reports and tables associated with them using  bo sdk.
thanks for your help in advance

Open the report with RAS. Then with the ReportClientDocument object:
oReportClientDocument.getDatabaseController().getDatabase().getTables() will trutns Tables collection object that contains the table information for the report. Then use get() to get Itable object.

Similar Messages

  • How to get selection screen elements and its table reference of a report ?

    halo experts
    How can I get selection screen elements and its table reference of a report ? . I tried rs_refresh_from_select_options. But I am unable to get the table and field it is referring to
    For eg if my selection screen 1000 is
    parameters: p_carrid type spfli-carrid,
    select-options :s-_connid type sflight-connid.
    is there any Fm or method which gives me what are the screen elements( p_carrid and s_connid ) and what table( splfi and sflight ) and field ( carrid and conid )it is referring to ?

    The following code is an example of how you might dynamically determine all your PARAMETERS and SELECT-OPTIONS variables at run time.  The PARAMETERS and SELECT-OPTIONS only point to a dictionary element--not a specific table.  Even though you may say "spfli-carrid" or "sflight-connid", the data type really references the dictionary type and not a specific table/structure.
    REPORT  ZTEST_PROG.
    TABLES sflight.
    DATA:
           screen_tab TYPE STANDARD TABLE OF screen,
           wa_screen TYPE screen,
           scrn_nm TYPE string,
           scrn_leftover TYPE string,
           l_type TYPE REF TO cl_abap_typedescr,
           typ_nm TYPE string,
           typ_pre TYPE string.
    FIELD-SYMBOLS <fs_data> TYPE ANY.
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECT-OPTIONS s_connid FOR sflight-connid.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-group3 = 'PAR'
          OR screen-group3 = 'LOW'.
            APPEND screen TO screen_tab.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
      LOOP AT screen_tab INTO wa_screen.
        ASSIGN (wa_screen-name) TO <fs_data>.
        l_type = cl_abap_typedescr=>describe_by_data( <fs_data> ).
        IF wa_screen-group3 = 'LOW'.
          SPLIT wa_screen-name AT '-' INTO scrn_nm scrn_leftover.
          TRANSLATE scrn_nm TO UPPER CASE.
        ELSE.
          scrn_nm = wa_screen-name.
        ENDIF.
        SPLIT l_type->absolute_name AT '=' INTO typ_pre typ_nm.
        WRITE:
                 / 'Screen Name:  ', scrn_nm,
                 / 'DDIC Type:    ', typ_nm.
      ENDLOOP.
    When you get into defining internal tables you can determine those at run time with cl_abap_structdescr.  The following is an example of how you might do that.  You can loop through the "components_table" and evaluate each field of the structure in this way.
    DATA: structure_reference TYPE REF TO cl_abap_structdescr,
          components_table TYPE abap_compdescr_tab,
          components_structure LIKE LINE OF components_table.
    structure_reference ?= cl_abap_structdescr=>describe_by_data( any_structure ).
    components_table = structure_reference->components.
    I don't know if this answers any of your questions but I hope that some of it is useful.

  • Syntax of DDL options and related (table) column names

    Hi,
    where can I find something like a mapping between DDL options and related table column names?
    For example I do have the table options PCTFREE, FREELISTS and NOCOMPRESS. The related table columns out of user_tables are PCT_FREE, FREELIST and COMPRESS.
    PCT(_)FREE wins an Underscore, FREELIST(S) wins an "S" and it is "NOCOMPRESS" if COMPRESS has a value "Y(es)".
    Hope somebody can help.

    So far I didn't find any information that is not in
    the DDL script gernerated from
    DBMS_METADATA.get_DDL.Alright, I give you an example:
    I create a table with the following DDL:
    "CREATE TABLE IntBuch (
    int_bunr integer NOT NULL,
    int_sdat double precision NOT NULL,
    int_hblz char(8) NOT NULL,
    int_hkto char(7) NOT NULL,
    int_hdat double precision NOT NULL,
    KtoNr char(7) NOT NULL,
    BLZ char(8) NOT NULL,
    CONSTRAINT PK_IntBuch PRIMARY KEY (int_bunr)
    USING INDEX
    PCTFREE 10
    STORAGE (
    INITIAL 1000
    NEXT 500
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS 4096
    PCTFREE 20
    LOGGING
    CREATE UNIQUE INDEX intid
    ON IntBuch (int_bunr DESC)
    CREATE INDEX hkto
    ON IntBuch (int_hblz,int_hkto)
    COMMENT ON TABLE IntBuch
    IS 'Kommentar zu DB-Tabelle InBuch'
    COMMENT ON COLUMN IntBuch.int_sdat IS 'Kommentar zu DB-Spalte int_sdat'
    ALTER TABLE IntBuch
    ADD CONSTRAINT Gutschrift FOREIGN KEY (int_hkto,int_hblz) REFERENCES Konto
    ON DELETE CASCADE
    ADD FOREIGN KEY (KtoNr,BLZ) REFERENCES Konto
    ADD FOREIGN KEY (int_bunr) REFERENCES Buchung
    ON DELETE CASCADE
    After that I read the DDL with DBMS_METADATA.get_DDL and I get
    " CREATE TABLE "UOENDE"."INTBUCH"
    (     "INT_BUNR" NUMBER(*,0) NOT NULL ENABLE,
         "INT_SDAT" FLOAT(126) NOT NULL ENABLE,
         "INT_HBLZ" CHAR(8) NOT NULL ENABLE,
         "INT_HKTO" CHAR(7) NOT NULL ENABLE,
         "INT_HDAT" FLOAT(126) NOT NULL ENABLE,
         "KTONR" CHAR(7) NOT NULL ENABLE,
         "BLZ" CHAR(8) NOT NULL ENABLE,
         CONSTRAINT "PK_INTBUCH" PRIMARY KEY ("INT_BUNR")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 16384 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "GUTSCHRIFT" FOREIGN KEY ("INT_HKTO", "INT_HBLZ")
         REFERENCES "UOENDE"."KONTO" ("KTONR", "BLZ") ON DELETE CASCADE ENABLE,
         FOREIGN KEY ("KTONR", "BLZ")
         REFERENCES "UOENDE"."KONTO" ("KTONR", "BLZ") ENABLE,
         FOREIGN KEY ("INT_BUNR")
         REFERENCES "UOENDE"."BUCHUNG" ("BU_NR") ON DELETE CASCADE ENABLE
    ) PCTFREE 20 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    If there are no more DDLOptions possible than that, it is fine for me. If not, but all kinds of options are to find in only one or two tables of the database ( user_tables for table options, dba_constraints and dba_segments for column options, primary and foreign keys, user_indexes and user_segments for indexes ...), that is fine for me, too. (As long as I get to know which tables are "sufficient" for that.) If it is different than both of that, that's bad.
    However if you want to use defaults instead of
    absolut values, it is better to remove certain parts,
    like the storage clause, from the generated output.I understand this, but I am more interested to have all and not leaving out some of them in order to have the defaults in the database after running the DDL.
    A totally different approach could be to
    a) create a database link from one DB to another.
    b) create table <new_table> as select * from
    <old_table@dbLink> where 1=2;I keep that in mind, thanks for that hint.

  • Is it possible to get the style, font and related info of a paragraph of a in design file and write it on the same in design file  on the  left side

    Is it possible to get the style, font and related info of a paragraph text  of a in design file and write  all the stuff on the same in design file  on the  left side with small fonts 
    as
    Lets  this is a text in in design file    :
    style : abc                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 12                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu
    style : xyz                      we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultur we are going to check the  condition  Agence Wallonne pour la    font 10                                  d'une Agricultu we are going to check the  condition  Agence Wallonne pour la Promotion d'une Agricultu

    Hi Poojith
    Not sure if this would solve your requirment but just in case might be helpful:
    1. We can mix up the HTML and HTMLB components in the JSP Page. However, can access only the HTMLB components in the controller. The following link refers to what customizations are offered by the HTMLB framework:
    [http://www.sapdesignguild.org/resources/htmlb_guidance/]
    2. Another option would be to use AbstractPortalComponents or a simple web app if that's feasible. (where custom UI themes, css and layout are more in control of the developers.)
    Thanks
    Deepak

  • Thru OEM get list of queries and their schemas that accessed my objects

    Hi,
    I have a list of objects on my schema and i need to track the list of sql queries by different users that accessed by object during this time period.
    i haven't enabled any auditing yet.
    is there any way i can get that list of queries and their schemas that accessed those particular objects during a particular time period through OEM.
    Can someone guide me please.
    Thanks in advance.
    Philip.

    create a name property in your class and assign a name property to your instances (either in the contructor) and/or using getters/setters.  (you'll need a getter anyway.)

  • Object Tables and Relational Tables

    the statement below are they true for both Object and Relational tables?
    Rows are stored in extents
    can rows can be made up of one column
    collection types can be used in a column
    Thanks!

    >
    Rows are stored in extents
    >
    Yes - in the sense that rows are stored in 'blocks' and extents are comprised of one or more blocks. So since rows are in blocks and blocks are in extents then rows are in extents.
    >
    can rows can be made up of one column
    >
    Yes
    CREATE TABLE ONE_COLUMN_TABLE (NAME VARCHAR2(30));collection types can be used in a column
    >
    yes
    CREATE TYPE num_varray AS VARRAY(10) OF NUMBER(12, 2)
    CREATE TABLE varray_table (col1 num_varray)
    INSERT INTO varray_table VALUES (num_varray(100, 200))

  • List of reports and groups who can access the reporta

    Please i need some help
    I need to get list of   bo reports and groups who can access these reports.
    I got list of groups but i need the list of reports and groups who have access to those reports.
    Is there any query which i can write in query builder to get that information.
    please help me with query

    No need for DB access. This might work for you.
    //assumes you have a session objectpublicvoidGetCommunityACLs(intcommunityId){    Console.WriteLine("Retrieving users for community "+communityId.ToString());    IPTObjectManagercommunityManager=session.GetCommunities();    IPTCommunitycommunity=(IPTCommunity) communityManager.Open(communityId, false);    IPTServerContextserverContext=(IPTServerContext) community.GetInterfaces("IPTServerContext");    //since IPTServerContext is obtained from a community,    //the IPTServerContext.GetACL() method will return a list of all objects that have acls defined on it.    IPTAccessListaclList=serverContext.GetACL();    for(inti=0; i<aclList.GetCount(); i++)    {        IPTAccessListEntryacl=aclList.GetItem(i);        stringmemberType;        if(acl.GetClassID() ==PT_CLASSIDS.PT_USER_ID)            memberType="User";        elseif(acl.GetClassID() ==PT_CLASSIDS.PT_USERGROUP_ID)            memberType="Group";        else            memberType="";        Console.WriteLine("{0}: {5,-6}{1,-3} Access Level={3,-2} r/o={4,-6} {2}", i, acl.GetObjectID(), acl.GetName(), acl.GetAccessLevel(), acl.GetReadOnly(), memberType ); }}
    Ruslan.

  • Needed - BW data model and list of Dimensions and Fact table from BW

    Dear Friends,
    Can somebody please share SAP BW DATA MODEL (LOGICAL) and share the list of DIMENSION and FACT tables exist in BW?
    I don't have access to SAP or SAP BW and I am building data-mart and SAP FI/CO will be the source.
    Thank you very much in advance.
    Regards,
    Nitin
    Edited by: Nitin Baradia on Apr 5, 2010 9:08 AM

    Let  me rephrase.
    I got an EarlyWatch that said my dimensions on one of cube were too big.  I ran SAP_INFOCUBE_DESIGNS in SE38 in my development box and that confirmed it.
    So, I redesigned the cube, reactivated it and reloaded it.  I then ran SAP_INFOCUBE_DESIGNS again.  The cube doesn't even show up on it.  I suspect I have to trigger something in BW to make it populate for that cube.  How do I make that happen manually?
    Thanks.
    Dave

  • Call first report in another report and download the ouput of first report

    Hi Experts ,
    Ther is 1 ALV Report which gives ouput.
    i need to call first report in second report and copy the output of first report to itab in second report and download that itab to excel in second report.
    Pls if anybody knows the solution reply as soon as possible.
    regards,
    Imran

    Moderator message - Cross post locked
    Rob

  • HI purchage wise report and as well as sales wise reports

    Hi
    HI purchage wise report and as well as sales wise reports
    Thank you.
    Ashok kumar

    Dear experts,
    I am still looking for a revert.
    regards
    RK

  • Use EMCLI to get list of Application Servers related to Databases?

    Hi,
    Is it possible to use EMCLI to get from OEM a list of Application Servers related to Databases? If not, is there another method recommended by Oracle?
    Thanks,
    Yoni

    Mohana,
    I want my Replication Program to:
    1. Create a copy of all objects stored in specific schema at the remote site in a local schema.
    2. Be able to replicate the addition and removal of records.
    Database link has been created between remote and local schema.You can query the remote site as if it is part of your local database and hence you can query the system tables to find out what objects are in remote site.
    When query the system tables i want to look for objects that are owned by HAROON.

  • Report to List Incoming Payments and related Invoices

    Hi Experts,
    I would like a query which lists Incoming Payments and also the related Invoices which were paid.
    Is there a table which links together the ORCT and OINV tables?
    Thanks
    Greig

    Hi Greig,
    Link to ORCT - OINV( SELECT * FROM ORCT T0  INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum )
    Link to ORCT -RCT1 - OINV( SELECT * FROM ORCT T0  INNER JOIN RCT1 T1 ON T0.DocNum = T1.DocNum
    NNER JOIN OINV T2 ON T0.DocEntry = T2.ReceiptNum)
    Try this,
    Lists of Incoming Payments and related Invoices.
    SELECT T0.DocNum,
    COUNT(T0.DocEntry) 'No of Invoice'
    FROM RCT2 T0
    INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
    GROUP BY T0.DocNum
    Regards,
    Madhan.
    Edited by: Madhan Babu C on Aug 28, 2009 9:23 AM

  • How to define join in physical layer between cube and relational table

    Hi
    I have a aggregated data in essbase cube. I want to supplement the information in the cube with data from relational source.
    I read article http://community.altiusconsulting.com/blogs/altiustechblog/archive/2008/10/24/are-essbase-and-oracle-bi-enterprise-edition-obiee-a-match-made-in-heaven.aspx which describes how to do it.
    From this article I gather that I have to define a complex join between the cube imported from essbase to my relational table in physical layer.
    But when I use Join Manager I am only able to define jooin between tables from relation source but not with the imported cube.
    In My case I am trying to join risk dimension in the cube based on risk_type_code (Gen3 member) with risk_type_code in relation table dt_risk_type.
    How can I create this join?
    Regards
    Dhwaj

    Hi
    This has worked the BI server has joined the member from the oracle database to cube. So Now for risk type id defined in the cube I can view the risk type code and risk type name from the relational db.
    But now if I want to find aggregated risk amount against a risk type id it brings back nothing. If I remove the join in the logical model then I get correct values. Is there a way by which I can combine phsical cube with relational model and still get the aggregated values in the cube?
    I have changed the column risk amount to be sum in place of aggr_external both in logical and phsical model.
    Regards,
    Dhwaj

  • Transtype field and related tables

    Hi!
    i'm trying to build a query using the OJDT and JDT1 tables, pointing towards the actual documents that created that especific transaction, there is a field on this tables named 'CreatedBy' with the "DocEntry" value or the "DeposId" value if we're talking about a deposit and a loong etc for all the other tables with different id names for their documents.
    now, the Transtype field of the OJDT table has some clues about the table that i need to join, for example , according with the documentation , the '13' value is an A/R invoice so i figured (correctly) i need to join the query with the table OINV and use the "docentry = createdby" to retrieve the exact document, another example: the deposit uses the OPDS table so the condition "createdby = deposid" gives me the deposit values.
    here is the problem , the transtype field has 40 o 50 posible values, ¿so anyone has some info about what table is related to every  transtype value?

    apparently no one understood anything i said, so i'm answering myself here:
    OF COURSE I KNOW THE LIST OF OBJECT TYPES IS INSIDE THE DOCUMENTATION...
    that's not what i'm asking, this is the info i wanted:
    15     Delivery - table ODLN
    16     Returns - tableORDN
    203     A/R Down Payment - table ODPI
    13     A/R Invoice - table OINV
    165     A/R Correction Invoice  - table  OCSI
    166     A/R Correction Invoice Reversal - table  OCSV
    14     A/R Credit Memo - table  ORIN
    132     Correction Invoice - table  OCIN
    20     Goods Receipt PO  - table OPDN
    21     Goods Return  - table ORPD
    204     A/P Down Payment  - table ODPO
    18     A/P Invoice  - table OPCH
    163     A/P Correction Invoice - table  OCPI
    164     A/P Correction Invoice Reversal - table  OCPV
    30     Journal Entry   - table OJDT
    19     A/P Credit Memo  - table ORPC
    69     Landed Costs  - table OIPF
    24     Incoming Payment  - table ORCT
    25     Deposit  - table ODPS
    46     Vendor Payment /outgoing payment  - table OVPM
    57     Checks for Payment  - table OCHO
    67     Inventory Transfers  - table OWTR
    76     Postdated Deposit  - table ODPT
    59     Goods Receipt  - table OIGN
    60     Goods Issue  - table OIGE
    162     Inventory Valuation  - table OMRV
    68     Work Instructions  - table OWKO
    i'm still missing:
    182     BoE Transaction
    OBOE? OBOT
    321     Internal Reconciliation
    OITR(?) InitObjTyp  Reconc. Initiator Object Type  nVarChar  20
    58     Stock List
    -2     Opening Balance (?)
    -3     Closing Balance (?)
    202     Production Order (?)
    -1     All Transactions

  • Difference in Balance Report and FS10N table GLPCT

    Dear Experts,
    We are facing one issue in Report which had prepared through report painter. We were using GLPCT table to prepare this report. The balance is coming correctly upto operating margin. After operating margin balance is not coming correct. This is mostly Balance Sheet items like Debtors, Creditors, Inventory.
    For example GL 134002 (Inventory) is showing amount in Rs. 258178 in this report (EVA) April period and in FS10N the same GL balance is appearing is Rs. 1632599.60.
    We did the analysis is that it may be not picking correct opening balance. But unable to find out the correct reason.
    What could be the reason for this difference in this report. Please advice.
    Thanks & Regards,
    Pankaj

    Hi Friends,
    Thanks for your support, Actual this issue happend due to PCA BCF has not happend but when i execute KE5T then it is not showing any difference FI & PCA. I have mentioned company code XYZ, Fiscal year 2011, from period 1 to 12 and account number in KE5T. But it is not showing difference.
    Can you please suggest how can I run this KE5T in the system.
    Thanks & Regards,
    Pankaj

Maybe you are looking for