Functions of pipeline in Oracle 11 g reports

Anyone know if you can use a pipeline function in the model of report of 11g data?  For example:

SELECT sys

data_set

interface_seqno

subpost_key

gl_cmp_key

TABLE (rfi.gl_apex_extract_pkg.create_erp_detail_func (p_user_id = >: P_USER_ID))

p_id_fm = > 1

p_id_to = > 2))

I use in an application APEX without problem, but in the Oracle report returns no data.  No error, just no data.

Yes, you can use a function in the pipeline in the data model.

Try this simple example (and stupid):

Emp_t CREATE TYPE IS OBJECT)

EmpNo VARCHAR2 (10),

Ename VARCHAR2 (30)

)

/

CREATE TYPE Emp_nt IS an ARRAY of emp_t

/

FUNCTION to CREATE or REPLACE emps_pipelined

Emp_nt RETURN PIPELINED

IS

l_row emp_t: = emp_t (NULL, NULL);

BEGIN

l_row.EmpNo: = '10';

l_row. Ename: = ' Emp 10';

COURSE OF ACTION (l_row);

l_row.EmpNo: = '20';

l_row. Ename: = ' Emp 20';

COURSE OF ACTION (l_row);

RETURN;

END;

/

SELECT EmpNo, ename

TABLE (emps_pipelined)

/

> I use it in an application APEX without problem, but in Oracle report returns no data.  No error, just no data.

Check the input parameters.

Kind regards

Zlatko

Tags: Oracle Development

Similar Questions

  • Call PL/SQL and Oracle ADF Application reports Open functions

    Hi all

    My company will convert some projects of Oracle forms to Oracle ADF, so we must call the PL/SQL functions and open the Oracle reports (which are already exist) the ADF application.

    Thank you..

    Jack.N

    Hi Jack.N,

    call the functions PL / SQL---> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html

    Open Oracle reports---> http://radio-weblogs.com/0137094/2008/06/15.html

    There is integration between the ADF and other systems in---> http://wiki.oracle.com/page/ADF+Integration

    Sameh Nassar

  • Function PIPELINE in oracle

    Hello

    Can any body shows when to use the PIPELINE function in simple words.


    Thank you
    Vinod

    910575 wrote:

    Can any body shows when to use the PIPELINE function in simple words.

    Wrong question.

    Good question - WHAT is a function table of pipeline.

    If you understand WHAT it is, you will be able to determine WHEN to use it.

    So did you read the documentation? Try coding your own function of pipeline? Do you understand what it is and how it works?

  • forms of Oracle 12 c report queue does not

    Dear Sir.

    I installed oracle 12 c m forms using the oracle base.  everything works fine when I open the report queued it throws error as "REP-52266: the current report server rep_wls_reports_roadmap is not start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.

    Please do the need ful

    Try this below and check this thread 12 c Oracle generator not opening

    REP-51019: System user authentication is missing. is due to the configuration in the following files.

    Just follow the steps below.

    (1) add lines below in the file rwservlet.properties

    my_server1                   <-------------------- your="" server="">

    None

    Yes

    L2

    Remove 2) or a comment to the below lines in your rwserver.conf

    and

    remove the safety label of

    TO

    (3) allow access to the files in rwserver.conf

    C:\Users\Desktop; C:\Oracle\Middleware\Oracle_Home\reports

    C:\Users\Desktop; C:\Oracle\Middleware\Oracle_Home\reports

  • Oracle Forms and reports 12 c (12.2.1.0) Installation

    Hello

    I had downloaded a file of

    Oracle Forms and reports 12 c (12.2.1.0)

    Published on 23 October 2015

    http://www.Oracle.com/technetwork/developer-tools/forms/downloads/index.html .

    Now, I am trying to install, but its not install on the computer. can guide you how to install it.

    Sandy

    Two things:

    1. you didn't did not read carefully my last update.  I said that you need to install JDK 8 (more precisely 8U51 or newer).  Which suggests that you installed and that he tried to use Java 7 with that statement that you answered:

    C:\Program Files\Java\jdk1.7.0_79\bin>java-jar fmw_12.2.1.0.0_infrastructure.jar

    You must UNINSTALL 7U79 (which you cited above) and install the last v8, which is 8U66.

    http://www.Oracle.com/technetwork/Java/javase/downloads/index-JSP-138363.html

    2. you have not share of details necessary to understand what could happen.  For example:

    • On what platform and the version you install?
    • Have you reviewed the matrix of product Certification to ensure that this platform is certified for use?
    • Is your Windows user, a member of the Windows Administrators group?
    • The machine has at least 6 GB of RAM?
    • Is the installer staged locally or are access you it from a network share?
    • Did you review the Setup logs?  If this is not the case, do, as they will probably tell you what is happening.  They are located in:

      C:\Program Files\Oracle\Inventory\logs

    I highly recommend that go you through the documentation (Setup Guide, Sys requirements, etc.) before you install or use the product:

    http://docs.Oracle.com/middleware/1221/formsandreports/index.html

  • Tutorials Oracle Forms and reports

    Hi all

    I recently started a new job in collaboration with Oracle forms and reports using PL/SQL. I have little or no experience with either, I'm looking for some tutorials online. I found the following on Udemy me begin with PL/SQL - <-moderator removed link as we do to the business side--> but I find it difficult to find some tutorials on Oracle forms and reports. Can anyone suggest where I might find some good tutorials?

    Thank you

    -Action Moderator: removed link to a commercial side. The user don't please add links to commercial messages to any forum OTN in side. -----

    Tutorial Oracle...

    Although the first two of the following links are for older versions of forms, the concepts are still valid for all versions of forms.

    A tutorial on Oracle9i forms and reports

    http://www.holowczak.com/Oracle/dev9i/ iSelfSchooling - Introduction to forms Oracle Forms

    10g: demos, tips, and Techniques

    http://SheikYerbouti.developpez.com/index_en/

    http://www.SlideShare.NET/magupta26/Oracle-Forms-tutorial

    http://www2.cs.uh.edu/~ceick/3480/Customized_Oracle_Forms.pdf - create custom Oracle Forms

    http://www.youtube.com/watch?v=0BBiHvHzPYE - video

    Tutorial for Oracle reports...

    Here's some link...

    1. http://docs.oracle.com/html/B14364_01/title.htm

    2. http://www.scribd.com/doc/3960412/Basic2-Oracle-Reports-10g-Tutorials

    3. http://report10gsanamqa.blogspot.com/2010/08/triggers-in-reports-types-of-triggers.html

    Video tutorial

    http://www.YouTube.com/watch?v=Fum3MJm5yKU

    Hope this helps,

    Hamid

  • Oracle Forms and reports OPMN OC4J_BI_Forms start, restart automatically.

    Hello

    We run Oracle Forms and reports 10g (10.1.2) virtual server Linux 5 in the test environment, using 5.5 ESXi.

    We have above question (Oracle Forms and reports OPMN OC4J_BI_Forms start and restart automatically) with this server, OPMN logs (ipm.log)

    below please help us solve this problem permanently.

    IPM. JOURNAL:

    15/07/24 11:23:06 [4] ask complete 2. Command: start

    15/07/24 11:23:55 [3] [libopmnoc4j] attempt to ping OC4J has expired

    15/07/24 11:23:55 [2] [libopmnoc4j] AJP13: error reading response AJP13

    15/07/24 11:23:55 [2] [libopmnoc4j] URL to Ping for proc: 1506214241 a failed ping url: / reports/rwservlet/pingserver? start = auto

    15/07/24 11:23:55 [4] [libopmnoc4j] process Ping failed: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:24:45 [3] [libopmnoc4j] attempt to ping OC4J has expired

    15/07/24 11:24:45 [2] [libopmnoc4j] AJP13: error reading response AJP13

    15/07/24 11:24:45 [2] [libopmnoc4j] URL to Ping for proc: 1506214241 a failed ping url: / reports/rwservlet/pingserver? start = auto

    15/07/24 11:24:45 [4] [libopmnoc4j] process Ping failed: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:25:35 [3] [libopmnoc4j] attempt to ping OC4J has expired

    15/07/24 11:25:35 [2] [libopmnoc4j] AJP13: error reading response AJP13

    15/07/24 11:25:35 [2] [libopmnoc4j] URL to Ping for proc: 1506214241 a failed ping url: / reports/rwservlet/pingserver? start = auto

    15/07/24 11:25:35 [4] [libopmnoc4j] process Ping failed: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:25:35 [4] [libopmnoc4j] inaccessible process: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:25:35 [4] restart process: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:27:35 [4] process shutdown: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:27:35 [4] [libopmnoc4j] with strength of the termination process: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:9643)

    15/07/24 11:27:37 [4] from process: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:0)

    15/07/24 11:27:40 [4] living process: OC4J ~ OC4J_BI_Forms ~ default_island ~ 1 (1506214241:10657)

    OC4J Log:

    ========

    --------

    15/07/24 11:38:29 stop processes

    --------

    15/07/24 11:38:29 closing...

    15/07/24 11:38:30 using the oracle.reports.util.EnvironmentGlobal class

    15/07/24 11:38:30 REP-56040: rep_abc_oracleas1 server already exists in the network

    --------

    15/07/24 12:14:55 start

    --------

    15/07/24-12:15 FormsServlet init():

    configFileName: /d01/oracle/OraHome_1/forms/server/formsweb.cfg

    testMode: false

    15/07/24 12:15 oracle Application Server containers for J2EE 10 g (10.1.2.0.2) initialized

    15/07/24-12:15:20 by using the oracle.reports.util.EnvironmentGlobal class

    15/07/24 12:15:27 ListenerServlet init()

    15/07/24-12:19:29 by using the oracle.reports.util.EnvironmentGlobal class

    java.lang.NullPointerException 15/07/24-12:19:32

    15/07/24-12:19:45 by using the oracle.reports.util.EnvironmentGlobal class

    15/07/24 14:03:19 session of shapes < 42 > abandoned: unable to communicate with the execution process.

    Kind regards

    Hello

    To resolve the error java you need to change ressemelable and java cache settings report error see the link already discuss

    https://community.Oracle.com/thread/847864?start=0&TSTART=0

    I hope it will be useful.

    Thank you.

  • Need to install Oracle forms and reports 10g

    Hi all

    I went through the first search option, and found a way to install forms for windows 8, I really appreciate if someone send me the link to install oracle forms and States 10 g in the Windows 7 operating system. I just want you to know that I have already installed Oracle 11 g express database.  Appreciate your response. Thank you

    Concerning

    Muzz

    Muzz,

    The link below is the one I used for the installation of 11g (I know that's not the 10 g that you're after) on Windows7 64 bit. But it might be useful.

    http://holowczak.com/installing-Oracle-Forms-reports-11gr2/

    Advice from the Oracle Johny: forms & reports: how to install 11 GR 2 forms and report generator in Windows 7 64 bit OS

    See you soon

    AJ

  • Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Welcome to Oracle Forms!  Out of curiosity, what do you mean by 'new '?  You are a student or new to an organization that uses Oracle Forms?  Or just play with Oracle Forms to learn something new?

    Let me start by saying that many of your questions designtime can answer by searching in the help of the constructor of the form library.  It's accessible, like most of the other products in the Builder menu > help.

    Regarding your question, ENTER QUERY mode, as the term implies, is when it is in a State where it is accept input for the execution of a query.  When in this mode, there are various restrictions.  Yet once, it will find more details in the Builder Help.  In this case, search help for these two subjects, "SYSTEM." MODE'and "built-ins comments that are not allowed in the input query Mode".  There are many other pages that contain information about the ENTER_QUERY method, but these two should help you get started.

    Normal mode, as its name implies, is when it is in a State of 'normal '.  Basically to do nothing in particular, but also not in ENTER QUERY mode.  In this State, you can move the shape, INSERT, UPDATE, DELETE, documents, etc..

    You will find additional information, as well as a lot of documentation on the product page of forms of OTN:

    http://www.Oracle.com/technetwork/developer-tools/forms

  • How to call Oracle 10 g reports via a button in the form of 10g?

    Hi all

    I am developing Oracle 10 g reports. Reports are run on opening succeeded if I'm running the report through Report Builder IDE individually.


    But I need to call the reports via a button in forms (which is also in 10g).

    I have the impression there is any specific setting required for this?
    Is any required JDK and JRE specific version?

    If there is no document about who can anyone please share with me.

    Help, please.

    Just run a search

    RUN_REPORT_OBJECT

    and look at the notes returned.

  • Functions in pipeline for the csv data analysis?

    Hi all

    I currently have a pl/sql procedure that is used to load and parse a CSV file in a table of database within the Apex.

    Downloading csv files are quite large (nearly 1 million rows or more) and there is a time of significant waiting for the course ends. I tried both Wizard 4.2 data that was very slow loading and the apex plugin excel2collection who timed out/never finished.

    I heard functions in pipeline and how they can offer great time savings for insert instructions where the database lines have no interconnect/dependencies to each other.

    My question is, would the data through pipes to offer me a gain with my time insert statements, and if so someone could help me to implement? The current procedure is listed below, less any code validation etc. for readability. The CSV is first uploaded to a table in a BLOB file before be analyzed by the procedure.

    -- Chunk up the CSV file and split into a line at a time
      rawChunk := dbms_lob.substr(bloContent, numChunkLength, numPosition + numExtra);
      strConversion := strConversion || utl_raw.cast_to_varchar2(rawChunk);
    
      numLineEnd := instr(strConversion,chr(10),1);  --This will return 0 if there is no chr(10) in the String
    
    
      strColumns := replace(substr(strConversion,1,numLineEnd -numTrailChar),CHR(numSpacer),',');
    
      strLine := substr(strConversion,1,numLineEnd);
      strLine := substr(strLine,1,length(strLine) - numTrailChar);
       
      -- Break each line into columns using the delimeter
      arrData := wwv_flow_utilities.string_to_table (strLine, '|');
    
        FOR i in 1..arrData.count
        LOOP
      
         --Now we concatenate the Column Values with a Comma
          strValues := strValues || arrData(i) || ','; 
    
        END LOOP;
    
         --Remove the trailing comma
          strValues := rtrim(strValues,',');
    
         -- Insert the values into target table, one row at a time
        BEGIN
          EXECUTE IMMEDIATE 'INSERT INTO ' || strTableName || ' (' || strColumns || ')
                             VALUES (' || strValues ||  ')';
        END;
      
        numRow := numRow + 1; --Keeps track of what row is being converted
    
        
       -- We set/reset the values for the next LOOP cycle
        strLine := NULL;
        strConversion := null;
        strValues := NULL;
        numPosition := numPosition + numLineEnd;
        numExtra := 0;
        numLineEnd := 0;
      END IF;
    END LOOP;
    
    

    Apex-user wrote:

    Hi Chris,

    I'm trying to expand your code to use more tou both current columns, but having trouble with the format here...

    1. While (l_clob) dbms_lob.getlength > l_off and l_off > 0 loop
    2. l_off_new: = instr (l_clob, c_sep, l_off, c_numsep);
    3. line (csv_split_type)
    4. substr (l_clob, l_off, instr (l_clob, c_sep, l_off)-l_off)
    5. , substr (l_clob, instr (l_clob, c_sep, l_off) + 1, l_off_new - instr (l_clob, c_sep, l_off) - 1)
    6. ));
    7. l_off: = l_off_new + 2; -to switch c_sep and line (10 sep

    How can I add more columns to this code? I'm mixed with all segments of substr and instr.

    I've done a rewrite on it (12 sec for 50,000 lines, 4 columns ~ 7 MB, 2.2 sec for 10,000 lines)

    create or replace function get_csv_split_cr (blob p_blob)

    return csv_table_split_type

    pipelined

    as

    c_sep constant varchar2 (2): = "";

    c_line_end constant varchar2 (1): = Chr (10);

    l_row varchar2 (32767).

    number of l_len_clob;

    number of l_off: = 1;

    CLOB l_clob;

    -below is used only for the call of dbms_lob.converttoclob

    l_src_off pls_integer: = 1;

    l_dst_off pls_integer: = 1;

    number of l_ctx: = dbms_lob. DEFAULT_LANG_CTX;

    number of l_warn: = dbms_lob. WARN_INCONVERTIBLE_CHAR;

    Start

    DBMS_LOB.CREATETEMPORARY (l_clob, true);

    DBMS_LOB.converttoclob (l_clob, p_blob, dbms_lob.lobmaxsize, l_src_off, l_dst_off, dbms_lob. DEFAULT_CSID, l_ctx, l_warn);

    -Attention: hypothesis that there is at least a 'correct' csv-line

    -should perhaps find a better guard condition

    -Hypothesis: last column ends with the separator

    l_len_clob: = length (l_clob);

    While l_len_clob > l_off and l_off > 0 loop

    l_row: = substr (l_clob, l_off, instr (l_clob, c_line_end, l_off)-l_off);

    line (csv_split_type)

    -start of the first; occurrence - 1

    substr (l_row, 1, instr (l_row, c_sep) - 1)

    -first; second occurrence; accident - first; occurrence

    , substr (l_row, instr (l_row, c_sep, 1, 1) + 1, instr (l_row, c_sep, 1, 2) - instr (l_row, c_sep, 1, 1) - 1)

    -second; third occurrence; occurrence - second; occurrence

    , substr (l_row, instr (l_row, c_sep, 1, 2) + 1, instr (l_row, c_sep, 1, 3) - instr (l_row, c_sep, 1, 2) - 1)

    - and so on

    , substr (l_row, instr (l_row, c_sep, 1, 3) + 1, instr (l_row, c_sep, 1, 4) - instr (l_row, c_sep, 1, 3) - 1)

    ));

    l_off: = l_off + length (l_row) + 1; -to switch c_sep and line (10 sep

    end loop;

    return;

    end;

    You must change the csv_split_type also.

    Update: I had to correct, combined version of two upward.

  • Oracle database inventory report

    Hello

    Foglight 5.6.4 monitor us Oracle DBs.

    How to generate the inventory of Oracle database report that gives all the objects, the invalid objects, tables without PK, etc.?

    Thank you.

    Hi guy,

    5.6.4 Oracle cartridge includes these out-of-the-box reports:

    • Balance report - displays the workload balance between selected nodes of the RAC cluster
    • Drive capacity report - displays a breakdown of the use of storage space disk at the level of the host from the host.
    • Health status of check - displays various aspects of the health of the instance specified, namely: availability, status of the listener, response time and connection time
    • I/o activity report - full screens of activity of IO, including workload, the wait events and physical analysis against writing and logical read operations
    • Report availability - displays free/busy information at the level of the instance of the instance.
    • Data storage report - displays a breakdown of the use of space of storage of data to the host, instance, and tablespace level.
    • Oracle executive summary report
    • Report of the PL/SQL blocks
    • Summary report of storage - provides an overview of disk space, the use of the ASM, archive redo logs status, albums and destinations of tablespaces and data files
    • Top of page DB Users
    • Top SQLs report - provides information detailed about the SQL statements that experienced the longest period of consumption of CPU or total wait events
    • Summary report - global workload workload displays, using various performance

    You can schedule or run these reports from the reports dashboard.

    You can create additional custom reports by using drag and drop basis, or WCF reports for more sophisticated reports. WCF allows you to copy and modify out-of-the-box reports.

    If you have a requirement for additional reports of out-of-the-box, please submit a detailed description in the ideas to be considered for a future version of the product. You can simultaneously publish the same information here in Discussions as a "How-to" question if you would like some advice on how to achieve this in the meantime.

    Kind regards

    Brian Wheeldon

  • Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Are the "Oracle Hyperion Reporting and Analysis" and "Oracle Hyperion Financial Reporting," one and the same product?

    Alanysis and Hyperion reports has a scope of report include Hyperion Finanicial Reporting, web analytics services RA framework and the Foundation as a layer application and client level there EMP Workspace, SmartView etc.

    Thank you

    ~ KKT ~.

  • Does Oracle Forms and reports with IE-10 11.1.1.6.0 compatibility


    Does anyone know the Oracle Forms and reports 11.1.1.6.0 with IE10 compatibility?

    Hello user11098787,

    Oracle Forms and reports 11.1.1.6.0 are not certified with IE10. You can check the browsers certified Certification tab in My Oracle Support.

    See screenshot below tip.

    And I have moved this thread from space using the My Oracle Support (MOSC) to Middleware Certification (MOSC ) space so that others can benefit from the discussion. Next time you post it please carefully choose the most appropriate place. It will increase your chances of getting useful answers.

    Kind regards

    Jiri h. - moderator using My Oracle Support (MOSC)

  • The components of Oracle Forms and reports refers specifically to the which components?

    Hello

    Could you help me with the following question.

    Our client uses the following documents to improve reports and forms Oracle 11 g Release 1 on Oracle Forms and reports 11g Release 2.

    http://docs.Oracle.com/CD/E38115_01/doc.111210/e23975/upgrade_from_r1.htm#BDJFHIEH
    Oracle® Fusion Middleware Upgrade Guide for Oracle Forms and reports
    11g Release 2 (11.1.2.1)
    E23975-02 part number
    Upgrade-5,3 doing the Oracle Forms and reports 11 g Release 1 (11.1.1)
    ----------cut-----------
    Ensure that the destination Oracle instance and the destination Oracle WebLogic Server domain are running.

    To verify that the instance and domain are running, log on to Oracle Enterprise Manager Fusion Middleware control for the field and make sure that the managed servers and components Oracle Forms and reports are running.
    ----------cut-----------
    On the above documents, our client has a question.

    [Question]
    The components of Oracle Forms and reports refers specifically to the which components?
    (Or need to check what components are running?)

    Please give me some advice.

    Best regards

    David

    For Windows, you can use the command line or shortcuts in Windows that are created for you.  In the case of OPMN under Windows, a Windows Service is created.  Information on the power on/off is in the documentation of the product here:

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13708/TOC.htm

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13740/starting_nodemgr.htm

Maybe you are looking for