Is it possible creating a report not based on a table?

In APEX I've always created form on report so as to have the list of records of a table and the possibility of inserting/updating every sinle record by means of the form on it, ok?
I have an application concerning classic costumers, orders, ... with a table for every item.
The problem is that I have to gather all information ao as to produce a classic bill with a typical layout where you have on your left some descriptions and on your right an amount but of course the layout is not based on a classic table, do you mean?
Do I have to create a table in which I'll add data and null values so as to get the layout desired (basically a work-around solution) or is there a better way to do it?
Thanks!

If you want a wizard to create the form and report for you then yes you need to have a table. One thing that you can do is define a view that contains the data you need and define an Instead Of trigger on that view so the automatic fetch and dml will work but you can have the data stored into the different objects. basically the view and the trigger work as a router/dispatcher for the data.
*edit*
I should also add that you can write a pl/sql package which does the fetch and the dml operations with the form items as input. This is the solution I would typically use for any form that was not a simple CRUD form for a table. One thing to note is for the fetch I prefer to use out parameters for the form items so it requires the developer to map the item to the param in the app so it will show up when you are searching through the app. I highly discourage hiding item references inside of packaged code.
Good Luck!
Tyson
Message was edited by: TysonJouglet

Similar Messages

  • Produce report NOT based on a single sql statement

    I want to produce a tabular report based on a series of sql statments. Specifically, a report of managers that wil include counts of employees that are in other tables using differing criterias.
    Name Count Count
    using using
    criteria 1 criteria 2
    Manager1 35 242
    I would expect to write an anonymous pl/sql block with a driving cursor determining the managers to report on. Within that cursor, I would execute a number of other queries to derive the count for each of the two columns.
    I have tried creating a report region based on a sql statement, but that requires a single sql statement. I also tried creating a report region based on plsql, but it required an into statement of defined items. This option looks like it can provide multiple rows, but since it selected 'INTO' named fields, it only creates a report with the last row of data.
    I must be missing something. Any suggestions are greatly appreciated!!!

    If you want a wizard to create the form and report for you then yes you need to have a table. One thing that you can do is define a view that contains the data you need and define an Instead Of trigger on that view so the automatic fetch and dml will work but you can have the data stored into the different objects. basically the view and the trigger work as a router/dispatcher for the data.
    *edit*
    I should also add that you can write a pl/sql package which does the fetch and the dml operations with the form items as input. This is the solution I would typically use for any form that was not a simple CRUD form for a table. One thing to note is for the fetch I prefer to use out parameters for the form items so it requires the developer to map the item to the param in the app so it will show up when you are searching through the app. I highly discourage hiding item references inside of packaged code.
    Good Luck!
    Tyson
    Message was edited by: TysonJouglet

  • Creating a delivery note based on a sales order in SBO2005

    Hi
    I am using the diapi to create a delivery note based on a sales order. Everything works well apart from I have 3 user defined fields on the sales order lines, 2 numeric and one which is a combo box.
    The 2 numeric values as copied across ok but the combo is not.
    I don't know what the delivery number is as I guess SAP assigns that after I save the delivery note.
    Can anyone help me with this please ?
    Regards Andy

    Hi Paul & Gilbert,
    As you assumed, the docentry is created at the moment when you are saving the document.
    The docentry for the last created document can be retrieved from the Company object. There are two alternative methods for this: GetNewObjectCode and GetNewObjectKey. Please see the DI API reference for more details. These are the only reliable way to get the last created docentry. A query might work nicely in 95% of the cases, but in a multi-user environment it will sooner or later produce incorrect results.
    Henry

  • Sql to tell report names based on view/table name

    Hello, we recently upgraded to release 12 and planning to implement sub ledger accounting and we are in the process of identifying our customizations written on top of distribution tables so that we can tweak them to go after SLA tables. Majority of our custom objects are discoverer reports. And most of these discoverer reports are based on custom folders which are based on custom views. By running a sql we were able to identify the names of all of our custom views which go after the distribution tables. Now we want to identify which of our discoverer reports are based on these views via custom folders of our custom business areas. Our custom folders might have been named exactly same as custom view or they may have different name and the folder may actually have a sql in which they are referring these custom views.
    Would it be possible for someone to provide a sql select statement which takes database table / view name and returns the name of discoverer workbooks referring this table/view? Thanks in advance for help.
    Regards,
    Anjan Avula.

    Nancy I claimed that problem is because of developing reports in plus based on some hits I found on internet. http://www.orafaq.com/forum/t/66265/0/
    And hits I found in metalink.
    Bug # 6665629
    However according to engineer with Oracle support it is a bug. The problem with updating that table is more related to workbooks that were created in older versions or upgraded to 10.1.2.2 but have not been opened and resaved. Bug 4901641 is present in 10.1.2.2 admin and it can result in Discoverer Admin not updating the EUL5_ELEM_XREFS. Admin version 10.1.2.3 is expected to resolve this with an easy workaround is to export the older workbooks and re-import them into your eul. The import process will update the EUL5_ELEM_XREFS table and will save customer from saving and opening every workbook.
    So, may be you have 10.1.2.3 in your environment and never experienced this issue or may be your reports were never upgraded from previous versions to 10.1.2.2. In our environment we have upgraded our reports to this version from previous versions and may be what oracle engineer told is true. I need to work with our admin to get this looked at and get it fixed.

  • How to create APEX report from data in PLSQL table

    Hi, I have a procedure that is creating/inserting records into multidimensional pslql table. I want to create a report and graph based on the data stored in plsql table. Can someone please advice how to can I select this data in apex OR point me to any sample code?
    Thanks
    Aali

    Hi,
    try to google something about ORACLE TABLE CAST
    SELECT ot.yourcolumn
    FROM
       TABLE(CAST(yourplsqltablevariable AS userdefinedoracletype)) otE.g.
    http://it.toolbox.com/blogs/oracle-guide/using-a-plsql-table-in-sql-11013
    Regards,
    R.

  • Can we create roles/permission list based on custom table

    I wanted to create Roles and Permission list based on custom table (which holds Business Logic),like if column value is 3 then certain roles and 2 then certain............ is it possible in PS?
    Thanks

    Are you looking at restricting the data that is shown or access to pages? Please elaborate your requirements so that a solution can be provided.

  • Creating a search form based on a table.

    Hello,
    I'm currently trying to create a search form which performs a searchquery in values stored in a table in my database.
    The table is filled peoples names,lastnames ,telephonenumbers and departments.
    I can use the sample application to make a form based on the tableview but this returns a search textfield for every column in the table. I just want 1 searchfield/textfield to search on ALL columns at the same time and display the other fields as labels when returning the queryresults.
    I tried searching the forums for an explanation on how to build said form and I checked Metalink but I have yet to find one. Anyone out there willing to help me out?
    thanks in advance,
    Melvin K.

    Why not use an instr with your data in a bind variable in your where clause for the select?? Page 1 sets an item called P2_Parameter with your value string slightly modified ('12345','345632','645534534','3434344')
    Select a,b,c,d,e from some_table where INSTR(TO_CHAR(Lookup_column,'099999999'),:P2_Parameter)
    Maybe that will work? Its off the top of my head, but should get you what you want.. (But to agree with one of the other posters, it is a BAD Design..) I would try like an interactive report to allow them to enter in acct #'s or whatever these are and let them access the rows that way..
    Thank you,
    Tony Miller
    Webster, TX

  • Crystal report not showing all the table in SAP CRM

    Hi
    I am connecting crystal report 2008  using open sql connectivity (SAP table, cluster or Function ) with SAP CRM system. It is showing some of custom tables under "DD" but not all.
    Wanted to understand what setting make a new custom table (transparent) to show under DD in SAP table, cluster or function connection
    Help is greatly appreciated
    Thanks
    Padmanabh

    Hi Rao,
    Try to edit the following registry and check
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\FetchOptions\NTablesMax
    Give the value as 20000
    Thanks,
    Sastry

  • Popup2 in SQL report not passing values of table fields

    Hello All,
    Can some one help me with this popup 2 case statement.
    Instead of the values behind the fields being passed the literal text of "A.Metric" & "A.Month" is beaing passed into the new page instead.
    A.Metric has a value of 10 and A.Month has a value of '01/May/2008'
    CASE WHEN ANALYSIS IS NOT NULL THEN
    '<a href="javascript:popUp2('''
               || 'f?p=&APP_ID.:305:&SESSION.::&DEBUG.::'
               || 'P305_METRIC_TYPE,P305_METRIC_MONTH:A.METRIC_TYPE,A.MONTH'
               || ''', 890, 460);style="text-decoration:underline;color:black; font-size: 90%">'
    || '<img src="#APP_IMAGES#notes.jpg">'
    || '</a>' END "Analysis"
    Frank

    Species 5618 wrote:
    Hello All,
    Can some one help me with this popup 2 case statement.
    Instead of the values behind the fields being passed the literal text of "A.Metric" & "A.Month" is beaing passed into the new page instead.
    A.Metric has a value of 10 and A.Month has a value of '01/May/2008'
    ----------------------------------------------------------------------------------------------------------------------<font face="Arial">CASE WHEN ANALYSIS IS NOT NULL THEN
    '&lt;a href=&quot;javascript:popUp2('''
               || 'f?p=&amp;APP_ID.:305:&amp;SESSION.::&amp;DEBUG.::'
               || 'P305_METRIC_TYPE,P305_METRIC_MONTH:'
               ||  A.METRIC_TYPE,A.MONTH
               || ''', 890, 460);&quot;style=&quot;text-decoration:underline;color:black; font-size: 90%&quot;&gt;'
               || '&lt;img src=&quot;#APP_IMAGES#notes.jpg&quot;&gt;'
               || '&lt;/a&gt;' END &quot;Analysis&quot;</font>
    Franksorry did not realise that my text was being changed by this forum's application edit tool
    Here is the SQL statement again
    Frank
    Edited by: Species 5618 on Apr 15, 2009 10:03 AM
    I also Tried this with no success (&
    <font face="Arial">CASE WHEN ANALYSIS IS NOT NULL THEN
    '&lt;a href=&quot;javascript:popUp2('''
               || 'f?p=&amp;APP_ID.:305:&amp;SESSION.::&amp;DEBUG.::'
               || 'P305_METRIC_TYPE,P305_METRIC_MONTH:'
               ||  &A.METRIC_TYPE.,&A.MONTH.
               || ''', 890, 460);&quot;style=&quot;text-decoration:underline;color:black; font-size: 90%&quot;&gt;'
               || '&lt;img src=&quot;#APP_IMAGES#notes.jpg&quot;&gt;'
               || '&lt;/a&gt;' END &quot;Analysis&quot;</font>
    Edited by: Species 5618 on Apr 15, 2009 10:10 AM

  • Report based on plsql table type

    Is it possible crete a report (updatable) based on plsql table type?
    thank in advance
    Franco Galante

    Sorry for my cryptic question, i wanted to mean create a report based on a stored procedure
    function which return a plsql table type variable.
    This idea could give me the chance to work with variable (plsql table) instead of db table.
    hope i'm enough clear
    thank you again
    Franco Galante

  • Creat a report in bi publisher based on dashboards

    Hi,
    Do you know if is possible creat a report in BIP with the same information and format that is in the dashboards?
    Thank you

    I would think you can in most cases - but there is no automated tool.
    Steps I would take is
    1) create a new report with the parameters shown in the dashboard.
    2) Add a query with the logical SQL from each answer report.
    3) Add where conditions based on parameters
    4) create a BI Publisher report in the word template based on this data.
    Klaus

  • Create a report based on another

    Hi,
    i've following question. I have a report A composed by an union of two queries.
    Example:
    Select X,Y from Subject Area UNION Select W,Z from Subject Area
    Is possible create another report which select any fields of the report A?
    Example:
    Select Y,Z from (select X,Y from Subject Area UNION Select W,Z from Subject Area) where ....
    Thanks

    The problem is that my union:
    Select x,y from Subject Area (A) UNION Select z,w from Subject Area (B)
    retrieves following data:
    Jan 3500€
    Jan cast(null as int)
    Feb 1100€
    Feb cast(null as int).
    As you see it duplicates each month. First row is the real row, the second is a dummy row. The part (A) of union retrieves real rows, indeed part (B) retrieves dummy rows. In this way, because Jan, Feb, and so on are on x-axis of my chart, it is filled with all months of the year, even if for any months there aren't data in DB.
    Now, when i download data i see together real rows and dummy rows, so i woul'd filter so, dummy rows are suppressed. I thought to create another request like that in my previous post.

  • Problem in Creating .txt report

    Hi All,
    I need to create the report, if the document having fpo, $$$, TK, 000 etc...
    OR,
    create report "No Errors found"
    My script working fine, but the problem is creating the report not as user friendly
    Coding is below:
    myDoc = app.activeDocument;
    FPOArray = new Array
    app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;
    app.findChangeTextOptions.wholeWord = true
    app.findTextPreferences.findWhat = "fpo"
    var myFound = myDoc.findText()
    for (f = 0; f < myFound.length; f++) {
        var myFindFPOPage = myFound[f].parentTextFrames[0].parentPage.name
        FPOArray.push(myFindFPOPage)
    $$Array = new Array
    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = "\\$\\$+"
    var myFound = myDoc.findGrep()
    for (s = 0; s < myFound.length; s++) {
        var myFind$$$Page = myFound[s].parentTextFrames[0].parentPage.name
        $$Array.push(myFind$$$Page)
    var myTextFile = File("~/Desktop/abcde.txt")
    myTextFile.open("w")
    if(myFound.length>0)
        myTextFile.write("FPO: " + FPOArray + "\n\n"  + "$$ Page Number: " + $$Array + "\n\n")           //Error this line only please help
    else
        myTextFile.write("No Error")
    Could anyone please help for my request.
    Thanks in advance
    Beginner_X

    u change
    myTextFile.open("e") and than
    if(myFound.length>0)
        myTextFile.write("FPO: " + FPOArray + "\n\n" )           //Error this line only please help
    if(myFound1.length>0)
        myTextFile.write( "$$ Page Number: " + $$Array + "\n\n")           //Error this line only please help
    else
        myTextFile.write("No Error")

  • Can't create MDFORM based on detail table with upload field

    Has anyone suceeded in creating a Master Detail Form based on a detail form which has an upload field (blob column)?
    I created a table (workingorders) and I want to attach documents to these orders so I created a table (attachments) which holds the attached documents and created a FK between workingorders and attachments. When I create a MD-form based on these tables I get the error:
    Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use a detail table without the BLOB column I don't get this error and everything works just fine.
    any ideas?
    Edward

    Yes, there was a problem when there was a blob field only in the detail table. This has been addressed in patch 3.0.9.8.4 (to be released shortly).
    Till then you will have to put corresponding dummy blob columns in the master table to create the form.

  • Create a report from scratch, add Table and Datasource Problem

    Hi,
    I'm using the latest Crystal Reports Runtime supplied for eclipse.
    I want to create a report from scratch, add a Table and then add a ArrayList of Pojos as the Datasource.
    But unfortunately depending on the ConnectionInfo I supply to the Table I get different errors.
    I looked through the samples and see that I have to supply properties
    like
      "Database DLL", "crdb_javabeans.dll" and ConnectionInfo.setUserName("");
         ConnectionInfo.setPassword(null)
    I looked through the forums and find different set of properties.
    Actually because I am just working with Pojos I would have thougth that something like the following
    would be sufficient:
    ReportClientDocument  doc = new ReportClientDocument();
                doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                doc.newDocument();
    Table table = new Table();
    table.setAlias("reportTable");
    table.setName("reportTable");
    doc.getDatabaseController().addTable(oTable, null);
    doc.getDatabaseController().setDataSource(myCoolection, myClass, "reportTable", "reportTable");
    So could someone tell me the right/minimum Set of  Properties to make a Table get connected to Pojos?
    Edited by: jack mann on Aug 31, 2010 3:25 PM

    With XI Release 2, you can come quite close to creating from scratch:
    http://technicalsupport.businessobjects.com/KanisaSupportSite
    /search.do?cmd=displayKC&docType=kc&externalId=5074668
    You need Service Pack 2:
    http://support.businessobjects.com/downloads
    /service_packs/crystal_reports_en.asp
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Please help!! Computer dummy + water damage

    I know this is a very common, probably annoying, question asked in Apple forums but I can't find a recently updated discussion page to post this on. My Google searches aren't really coming up with a specific answer, just pages of forums from 2005-200

  • Session Variable in filter view error

    Hello, My prompt is defaulted to current 12Weeks. I used session variable in the prompt to capture 12 Weeks (Current Week and Current+12). so the default value is @{biServer.variables['NQ_SESSION.PERIOD_STDATE']} where PERIOD_STDATE is my session var

  • Getting javascript error while opening offline adobe forms sent via email.

    ERROR: script failed(language is formcalc,context is xfa[0].form[0].data[0].FORM[0].               script = BODY.instanceManager.addInstance(1);               Error:accessor "BODY.instanceManager.addInstance(1)" is unknown. I have written the code in

  • MacBook odd DVI issue

    Hi All, I have a MacBook 2.2 ghz and have been using it successfully with the mini-dvi to dvi-hdmi cable for the past 3 weeks. I have a 50" Panasonic Plasma and it worked great. Yesterday (after not using it for about a week) I plugged it in and my M

  • Customizing (Freight Calculation)

    Hallo Friends, Can anyone provide me with goodl, simply step by step example(s) in customizing of Freight calculation. If documents with screen-shots is available, please send to my E-Mail: [email protected] Please no links!! Blacky