Tables / views used by Forms

Hello,
I wanna know, is there any methos to find the tables and views used by a stand-alone application (e.g.Forms, reports). The idea is that i wanna "clean" the schema, in sense of there are VERY much unused tables, and i wanna know which tables/views are used and which not. I know, in case of stored procedures there exists 'Dependencies', but in this case?
Thanks!

Check this link i think this is doing the same thing u want http://www.amis.nl/files/technology/PracticalJDAPIpaper.doc
* Example2:
* This program loads the modules entered by the module names (or wildcard) at the 1st command line
* parameter into the JDAPI Session and iterates over the blocks and items in the blocks, printing
* all form-, block- and item names to the console.
public class Example2  {
  public static void main(String[] args) {
    try {
      for (int i=0 ; i < args.length ; i++ ) {
        JdapiModule.openModule(args);
invoke();
finally {
Jdapi.shutdown();
private static void invoke() {
for (JdapiIterator modules = Jdapi.getModules() ; modules.hasNext() ; ) {
FormModule mod = (FormModule)(JdapiModule)modules.next();
System.out.println("Form module = " + mod.getName());
for (JdapiIterator blocks = mod.getBlocks() ; blocks.hasNext() ; ) {
Block blk = (Block)blocks.next();
System.out.println("\tBlock = " + blk.getName());
for (JdapiIterator items = blk.getItems() ; items.hasNext() ; ) {
Item itm = (Item)items.next();
System.out.println("\t\tItem = " + itm.getName());
Example 2 – Open one or more FMB files and traverse through all blocks and items
Baig,
[My Oracle Blog|http://baigsorcl.blogspot.com/]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Data are not transfered to a table view using signal out

    Hi all,
    we have recently upgraded to SP16 and I'm now facing a problem on my model that worked fine when we were on SP15.
    I have a data service returning data to my model. The data are transfered to a signal out element and then displayed into a table view using a signal in element. Now the table view remains empty.
    I have checked that the dataservice returns data because if I directly connect my table view with the dataservice the data are displayed. But my requirement is to use signal in/out elements.
    This error was not appearing in SP15.
    Any ideas?
    Regards
    Panos

    After doing some tests I found out that if you have a model that has more than 2 signals in/out then the 3rd one will not work. This is definitely a bug.
    Hope that soon there will be a SP without any new bugs!

  • Best Table to use in form for Column Comments maintenance

    Hi,
    I want to create an Oracle Form to maintain Comments for each column in all of user_tables. eg. Order Entry, Customer.
    What would be the best table to use for this excercise. All of our developers
    will need this form to be used each time a new table is created (We don't, or never have, included comments in table creation scripts, although I do apreciate that it would be the better option) and to "catch up on comment maintenance".
    So we need a form to maintain such info. I am just wondering what would be the most appropriate table for this job.
    Thanks people.
    N

    Sorry, I don't really follow Andrews answer, even though he normally gives good advice.
    USER/ALL_TABLES are views of the data dictionary, not tables where you can choose to store something.
    Oracle supports commenting via the COMMENT command, and the results of doing so are visible in data dictionary views ALL_TAB_COMMENTS and ALL_COL_COMMENTS. The comment command has existed for ever (well it was in V5 anyway) and I have always found it surprising that Oracle have never (to the best of my knowledge)included support for it in their tools. Comments are hardly likely to be maintained properly if people need to write sql to see them. I am glad to see that at least TOAD does support the feature.

  • How to get metadata option list values derived from a table/view using SOAP

    I am writing an ASP.NET application that replicates some of the features of the SCS search interface. I have looked at the GET_DOC_METADATA_INFO service and its SOAP output. It has a few missing pieces of information, like the option list values for a field if that fields values are derived from a separate table/view. Some of the fields I am dealing with also make use of Dynamic Control Lists (DCL). Is there a way to get the DCL info using SOAP? I did notice that the dOptionListKey element contains the name of the view from which the option list values will be derived. However, I cannot find a service that takes the view name as a parameter to return the option list values. I have looked in the services reference manual, but I have not had any luck finding what I am looking for.
    TIA
    - Tyson
    Message was edited by: Add the word 'get' to the subject.
    Tyson

    Hello,
    What error you are getting? You code seems to be ok. I have tested below code and working fine
    XPathNavigator rTable = MainDataSource.CreateNavigator();
    String ddlSectionSelectedValue = Convert.ToString(rTable.SelectSingleNode("/my:myFields/my:ddlSection", NamespaceManager).Value);
    One think you can check that keep dropdown value display name and id same.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to import data from CSV file into a table by using oracle forms

    Hi,
    I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
    the user can select CSV file by using open dialog .
    can any one help me to find method to make import and select file from the client machine ?
    thx.

    1. create table blob
    CREATE TABLE IB_LOVE
      DOC          BLOB,
      CONTRACT_NO  VARCHAR2(20 BYTE)                NOT NULL
    )2. use the code below to insert:
           INSERT INTO ordmgmt.ib_love
                       (contract_no, doc
                VALUES (:control.contract_no_input, NULL
           lb$result :=
             webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
                                                 'CONTRACT_NO = ' || :control.contract_no_input);
           :SYSTEM.message_level := 25;
           COMMIT;
           :SYSTEM.message_level := 0;3. use the code below to download
         if :control.CONTRACT_NO_INPUT is not null then
              vboolean :=   webutil_file_transfer.DB_To_Client_With_Progress(
                               vfilename,  --filename                       
                              'IB_LOVE', ---table of Blob item                       
                              'DOC',  --Blob column name                       
                              'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record                       
                              'Downloading from Database', --Progress Bar title                       
                              'Wait to Complete'); --Progress bar subtitle  client_host('cmd /c start '||vfilename);
              client_host('cmd /c start '||vfilename);                 
         else
              errmsg('Please choose contract no');
         end if;4. use the code below to open file dialog
    x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
    :b2.FILE_NAME:=X;

  • What are the tables/view used to Compute Dependecies Report

    Hi,
    what are the tables/views we have in APEX, which is used to create the Compute Dependecies Report
    Home -> Application xxxxx > Application Reports > Shared Components > Database Object Dependencies
    thanks,
    Deepak

    Hi Scott,
    thanks for the quick response.
    So my question is then...
    I want to create a APEX Report which will give me the following information.
    1. Application and all the Pages associated with it, which I am getting from apex_applications and
    apex_application_pages. This is OK
    2. List of all the Database Objects (Table/View) which the individual page is using, I mean relation between Page ID and database object. HOW to get that???.....(I want for each individual page, the list all the database objects (tables/views), which that page is using)
    Thanks,
    Deepak

  • [iPhone] Grouped Table View using SQLITE?

    I am filling my table views from a SQLITE table. I am trying to get it to display in grouped mode, but I am unsure on how to handle this using SQLITE. I can get the grouped mode to work, but I can't get it to show any headers, it is just one large block with all the returned results.
    Anyone been able to get this to work or might have some advice?
    Thanks.

    Beers is correct. This is easy to accomplish though, if you have your recordset fed into an array on SELECT.
    I'll start you off because i'm such a stand-up guy
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tv {
    return 123456789;
    - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
    // switch( section ), or if statements to send different titles
    return @"My Title Is The Greatest";
    - (NSInteger)tableView:(UITableView *)tv numberOfRowsInSection:(NSInteger)section {
    // Again, if more than one section do a switch( section ): or bunch of if statements
    return [myDataArray count];

  • Access the nodes data in a table view (generated by aet).

    Hi all ,
    I have created a table view in bp overview page.
    so it has created new component /ztable/zbol entity .
    Now how can i access the nodes of BP page..in the new component created?.

    thanks vishal ,
    but as per the thread,when we create table view using aet ,
    Table view in EHP1 CRM 7.0
    You dont need to worry about the component usage nor you need to create or handle anything like that for AET compoent for table extension. SAP has a special way to handle it in WD_USAGE_INITIALIZE of component controller for AET extension generated component so its nothing for us to do about it. Thanks to SAP
    so still i need to redefine..or can directly access the nodes in do_prepare_output.?

  • Hide data in a table view

    Hi,
    I need to hide data in a table..Only column headers required to display.. I tried by (display column headers only) in view..It is showing only column header in the view ..But when iam displaying the table in dashboard it displays data also..another approach i took is to hide data from column properties ...Custom css display:none.. it is working fine..But the thing is it will not display data in other views also.I need to hide data only in table view..any helps will be appreciated.. Thank you

    Hi Aswin,
    Try this....
    Take columns twice and first set which is use in table view (use display:none)
    and second set use in pivot table and exclude first set columns........
    Cheers,
    Aravind

  • Query and update a table/view

    What is the best & fastest way to do this?
    1) Put up a query input region for users to enter parameters.
    2) Run a query on a table/view using those parameters.
    3) Allow the output in (2) to be modified by user (multiple rows at a time) and then Submit the updates back to update th table/view
    I can do (1) and (2) easily. How can I do (3)?
    Thanks

    Make a report on the table. Go to the definition of
    the report column and change the "Display As" type to
    text field or select list or whcih ever is
    applicable. Write a process on submit to insert these
    values back to the table. You will have control over
    which columns the user can modify.Thats a good idea and I was able to start on it. But how can my after submit process tell which rows to modify? i.e. what will my after submit process look like?
    for rec in (....)
    loop
    update my_table set
    end loop;
    Help? Thanks

  • Problem in the Table view of VC model

    Hi all,
    We have a created a table view using the BI query as source.
    the table view has say 4 fields (Serial NO., Plant key, Material and Quantity) initially before submitting the parameters, once we enter some parameters and press submit button some extra fields are getting added at the end of the existing fields.
    i.e the final result is Serial NO., Plant key, Material and Quantity, Plant, Material, Quantity. last 3 fields are undesired.
    This is happening only when we select few fields in the define / Test Query setting (we are doing this to avoid unwanted fields while exporting data to excel).
    Is there a way to avoid this addition of extra fields in the table view.
    any help is highly appreciated.
    regards,
    Rk.

    Hi
    Are you getting these extra columns in 'Table' or while executing 'Define / Test Query'?
    If you are getting this in table then dont select anything while dragging the table from query. (When the systems ask to select the fields) Select the fields after creating the table & then see what is happening.
    Regards
    Sandeep

  • Complete table view controller with XML

    Hello, I'm from Brazil and am new to ios.
    Today I am making an example where I use a table view controller and fill it witharray (NSMutableArray).
    However I would do the same using XML so that now, I'm having so many difficulties to the point of not knowing where to start.
    The code I use to populate this array was.
    It is possible to use something like XML?
    #pragma mark - View lifecycle
    - (void)viewDidLoad
        [super viewDidLoad];
        // Uncomment the following line to preserve selection between presentations.
        // self.clearsSelectionOnViewWillAppear = NO;
        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem;
        registros = [NSMutableArray arrayWithObjects:@"1", @"2",@"3",@"4",@"5",@"6",@"7",@"8",@"9",@"10",@"11",@"12",@"13",@"14", nil];
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    - (void)viewWillAppear:(BOOL)animated
        [super viewWillAppear:animated];
    - (void)viewDidAppear:(BOOL)animated
        [super viewDidAppear:animated];
    - (void)viewWillDisappear:(BOOL)animated
        [super viewWillDisappear:animated];
    - (void)viewDidDisappear:(BOOL)animated
        [super viewDidDisappear:animated];
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        // Return YES for supported orientations
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    #pragma mark - Table view data source
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
        // Return the number of sections.
        return 1;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        // Return the number of rows in the section.
        return [registros count];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        static NSString *CellIdentifier = @"listax";//este é o identificador da celula
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        cell.textLabel.text = [registros objectAtIndex:indexPath.row];
        return cell;

    If you have a custom XML schema (not a plist), consider two approaches.
    1. Before showing your table view, use NSXMLParserto deserialize the XML document into an NSMutableArray that will be the table view data source.  Typically the array contains custom class instances; one or more class properties are used to set table cell properties in cellForRowAtIndexPath.  If you have never worked with NSXMLParser (or any other SAX parser) before, start by creating a sample app so you understand how that works.
    2. Use a 3rd-party DOM parser like GDataXML.  Load your XML document into a class property in your table view's viewDidLoad.  Then the XML document will be the table view data source since elements and attributes can be directly queried using XPath in cellForRowAtIndexPath.  If you have never worked with XML DOM and XPath before, start by creating a sample app so you understand how that works.
    If your have a lengthy complex XML document, option #1 might be more efficient because indexed array access is faster than XPath queries.  Theoretically that is why Apple's Cocoa provides DOM support on OS X but not iOS.  There are strategies to improve efficiency if necessary, including your own indexing scheme.  The best solution depends on many factors.  For example, if your XML document includes thousands of rows, but users rarely scroll past the first 10, option #1 would waste time parsing everything.
    Both of these approaches keep all data in memory, which is fast but not friendly.  Perfectly fine for reasonably sized data sets.

  • How to search tables and views used in the code of oracle fmb 6i from another form???

    Hii guys, this is a very interesting question and i hope that it will have ample amount of answers.
    My requirement is to know the number of tables and views and backend functions/procedures which are used in the code written in the oracle forms 6i,
    all i want is to display whole views, tables or functions/procedures which are written  in the code of a particular fmb, i do have the path of that fmb and i want to read the code and search through it's entire code for the tables/views/backend procedures/functions written in the code. So how to search through the entire code of a particular form (6i) and make it display through another form.
    I am using oracle forms 6i.
    Please help me out....
    With Regards:
    Ankit Chandra

    Here is a modified dealForm.jsp that merges the 2 steps - both symbol submission and Yahoo convert is done by it. Play with it and add your DB code to it:
    <html>
    <head><title>IPIB Database Selection</title></head>
    <body bgcolor="#DFDFFF">
    <H1><CENTER>IPIB Database Selection</CENTER></H1>
    <font size=4>
    <%@ page language="java" %>
    <%@ page import="java.net.*,java.io.*,java.util.*" %>
    <%
    String symbol = request.getParameter("symbol");
    if (symbol != null) {
    String urlString = "http://finance.yahoo.com/download/javasoft.beans?SYMBOLS=" + symbol + "&format=ab";
    try {
    URL url = new URL(urlString);
    URLConnection con = url.openConnection();
    InputStream is = con.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line = br.readLine();
    StringTokenizer tokenizer = new StringTokenizer(line,",");
    String name = tokenizer.nextToken();
    name = name.substring(1, name.length()-2);
    String price = tokenizer.nextToken();
    price = price.substring(1, price.length()-2);
    %>
    <p>
    Original line from yahoo <%= line %>
    </p> <p>
    Name: <%= name %>
    </p> <p>
    Price: <%= price %>
    </p> <p>
    Pub DB processing code from dealLoad.jsp here
    </p>
    <%
    } catch (IOException exception) {
    System.err.println("IOException: " + exception);
    } else { %>
    <form action="dealForm.jsp"method="GET">
    <p>Enter Symbol: <input size="20" name="symbol">
    <inputtype="submit" value="Submit">
    </p></form>
    <% } %>
    </font>
    </body>
    </html>

  • Need help using GO URL to display table view (with sorting, pagination)

    I'm trying to use the GO URL to get to a table view with the sorting and pagination functionality intact, but I don't want all the other links and input fields of a dashboard.
    Is this possible?
    I'm trying to consume table view report in an IFRAME within my web application using the GO URL, but without any luck.
    For proof of concept, I'm trying to extend Sample Lite\KPI\Sample PKI which I can display as a dashboard in my IFRAME, but I would like the table view with the column sorting and pagination functionality intact without the dashboard links and fields up at the top.
    I'm new to Oracle BI, specific explanation and step by step examples would help me tremendously.
    I am on Oracle 11g v11.1.7.0 on RH linux.
    The GO URL I am using:
    http://myserver:port/analytics/saw.dll?Go&NQUser=username&NQPassword=password&Path=/shared/Sample%20Lite/KPIs/Sample%20KPI&ViewName=Table
    Thanks.
    Brian

    TABLES: bkpf.
    TYPES: BEGIN OF ty_bkpf ,
           belnr LIKE bkpf-belnr,
           bukrs LIKE bkpf-bukrs,
           gjahr LIKE bkpf-gjahr,
           bldat LIKE bkpf-bldat,
           waers LIKE bkpf-waers,
           END OF ty_bkpf.
    TYPES: BEGIN OF ty_bseg ,
           buzei LIKE bseg-buzei,
           shkzg LIKE bseg-shkzg,
           END OF ty_bseg.
    DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf ,
          it_bseg TYPE STANDARD TABLE OF ty_bseg .
    DATA: ibinding TYPE salv_t_hierseq_binding.
    DATA: xbinding TYPE salv_s_hierseq_binding.
    DATA: gr_table TYPE REF TO cl_salv_hierseq_table.
    SELECT-OPTIONS:
      ndoc FOR bkpf-belnr,
      empr FOR bkpf-bukrs,
      anod FOR bkpf-gjahr.
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM relat_tables.
      PERFORM display_alv.
    *&      Form  get_data
    FORM get_data .
      SELECT belnr bukrs gjahr bldat waers
             INTO TABLE it_bkpf
             FROM bkpf
             WHERE belnr IN  ndoc AND
                   bukrs IN empr AND
                   gjahr IN anod.
      IF sy-subrc = 0.
        SELECT buzei shkzg
               FROM bseg
               INTO TABLE it_bseg
               FOR ALL ENTRIES IN it_bkpf
               WHERE belnr = it_bkpf-belnr AND
                     bukrs = it_bkpf-bukrs AND
                     gjahr = it_bkpf-gjahr.
      ENDIF.
    ENDFORM." get_data
    *&      Form  relat_tables
    FORM relat_tables .
      xbinding-master = 'BUKRS'.
      xbinding-slave  = 'BUKRS'.
      APPEND xbinding TO ibinding.
    ENDFORM. " relat_tables
    *&      Form  display_alv
    FORM display_alv .
      cl_salv_hierseq_table=>factory(
      EXPORTING
      t_binding_level1_level2 = ibinding
      IMPORTING
      r_hierseq = gr_table
      CHANGING
      t_table_level1 = it_bkpf
      t_table_level2 = it_bseg
      gr_table->display( ).
    ENDFORM. " display_alv

  • Performance Form based on procedure vs based on table/view

    When we design our form, and want to optimize the performance, we came to a question. Will the performance of a form based on a procedure is better or a form based on a table/view is better? And why is it better? or worse?

    Hello,
    For me, the question is not "is the stored procedure based block is faster than table based block ?", but "do i use the DML array functionality with table based block?"
    If you do not use DML array functionality, then you generate as many roundtrips as you get raws in your block.
    With stored procedure based block, you transmit a pl/sql table of record to the procedure.
    Anyway, you could do some tests to compare the 2 solutions.
    Francois

Maybe you are looking for

  • Error in Drop Table in Oracle 10G

    Hi All, When I try to drop any of the table in one of the oracle 10G database schema I am getting the following error. As for I know this error will come in PL/SQL cursor block if the exact fetch returns more than one row. Can any one explained the r

  • Can't create new catalog in Lightroom 3.6

    All of a sudden, Lightroom 3.6 won't create a new catalog for me. It worked for years but stopped working for no reason I can figure.  I fill in the new catalog name in the dialog, click Save, then Lighroom restarts but  tells me it can't find the ne

  • I created a form for our band parents to fill out.  How are they able to save the forms as pdfs?

    I created a form for our band parents to fill out.  How are they able to save the forms as pdfs and be able to go back and view them?  I see the Save Submission-Enabled PDF on the Distribution page but there is no option when they go in to the first

  • IPhone4 failure after 12months and 3 days

    I have had my iPhone for a little over 12months and suddenly the lock button  has decided to stop working. I am appalled at the level of customer Service I received with regards to this matter as it turns out that the product failure occured 3 days a

  • Unpin from Task bar AFTER program is deleted

    I have a situation where I am trying to use PowerShell to Unpin a shortcut from the task bar after the program has been deleted. The shortcut has been renamed (from the idiotic name Autodesk used to start with) and thus it is orphaned after uninstall