PL/SQL procedure "Not Defined"

I have created a PL/SQL procedure, compiled it successfully, and am trying to call it from
an "onmouseover=" construction in the Link Attributes for a report column.
I have created an application process entry for this procedure in Shared Components/Application Processes.
When I place the mouse pointer over the column in the report I get an error stating
the procedure is "Not Defined".
I am trying to implement this onmouseover event in a manner similar to how it is implemented in the "Aria People, 0.92" packaged application I have downloaded from the Oracle/APEX web site. In the downloaded "Aria People, 0.92" application I have installed the onmouseover="ARIA_DETAIL(this,'#PERSON_ID#")" call works fine (on page 1 of the app).
Interestingly, if I take the exact same call to the ARIA_DETAIL() procedure and place it in my application I also get a 'Not Defined' error on the ARIA_DETAIL() procedure.
Clearly I am failing to do what is needed to have a PL/SQL procedure "Defined" for an APEX application. Can some kind soul please tell me what I have failed to do here?
Thank you in advance.
Jim Lewis

Jim,
Sorry to go to the basics but am I correct about the following?
1. You created the pl/sql process as an ondemand process.
2. You added the ARIA_DETAIL javascript function to the page on which your calling it.
I'm just guessing but it sounds like you missed the second step there. Take a look at the application you got the code from and look at the Page Attributes. You should see some code in the HTML Header. That's what you need to add to your app.
Dan

Similar Messages

  • BPM 10g: configuration name [ ProjectName ] and type [SQL] is not defined.

    Hi There,
    I try to help a colleague with his BPM10g project. When I start the engine in BPM Studio with his project I eventually get this error in a popup:
    "The configuration name [<ProjectName>] and type [SQL] is not defined.
    Detail: The connector must be configured in the appropriate context."
    I upgraded from 10.3.1 to 10.3.2, but did not help. Still my own project and another svn-branch of his project do work.
    Anybody any ideas on where to look?
    Thanks in advance.
    Regards,
    Martien

    I found out that the folder must be the same as in the project file.

  • How to make pl/sql procedure not auto-commit?

    I wish to be able to execute a create statement, and then rollback if there is a problem with any sql that follows. It seems that you cannot rollback? Why is this?
    (My problem is that I wish to execute a series of sql statements and run a rollback if anything before it fails, including the creation of the table)
    set serveroutput on;
    declare
      rcount INTEGER;
    PRAGMA AUTONOMOUS_TRANSACTION;
    begin
      execute immediate 'create table bsdconv_s1stc_code (id number)';
      dbms_output.put_line('Table created successfully');
      rollback;
    exception
      when others then dbms_output.put_line('Error while creating table. Probably already exists.');
    end;

    Ni hao, Dong Yage!
    I think using procedure and handling on call you might be able to do it.
    SQL> create table test (i int);
    Table created.
    SQL> insert into test values (1);
    1 row created.
    SQL> select * from test;
             I
             1
    SQL> set serveroutput on;
    SQL> declare
      2    rcount INTEGER;
      3  PRAGMA AUTONOMOUS_TRANSACTION;
      4  begin
      5    execute immediate 'create table bsdconv_s1stc_code (id number)';
      6    dbms_output.put_line('Table created successfully');
      7  --  rollback;
      8  exception
      9    when others then
    10       dbms_output.put_line('Error while creating table. Probably already exists.');
    11    rollback;
    12  end;
    13  /
    Table created successfully
    PL/SQL procedure successfully completed.
    SQL> desc bsdconv_s1stc_code
    Name                                      Null?    Type
    ID                                                 NUMBER
    SQL> select * from test;
             I
             1
    SQL> insert into test values (2);
    1 row created.
    SQL> set serveroutput on;
    SQL> declare
      2    rcount INTEGER;
      3  PRAGMA AUTONOMOUS_TRANSACTION;
      4  begin
      5    execute immediate 'create table bsdconv_s1stc_code (id number)';
      6    dbms_output.put_line('Table created successfully');
      7  --  rollback;
      8  exception
      9    when others then
    10       dbms_output.put_line('Error while creating table. Probably already exists.');
    11       rollback;
    12       execute immediate 'drop table bsdconv_s1stc_code';
    13  end;
    14  /
    Error while creating table. Probably already exists.
    PL/SQL procedure successfully completed.
    SQL> select * from test;
             I
             1
             2
    SQL> rollback;
    Rollback complete.
    SQL> select * from test;
    no rows selected
    SQL> desc bsdconv_s1stc_code;
    ERROR:
    ORA-04043: object bsdconv_s1stc_code does not exist
    On executing PL/SQL block secondly,
    it raises exception, displays error messages and drops table
    but main transaction is not rolled back.
    This is because rollback belongs to only inseide of
    AUTONOMOUS_TRANSACTION PL/SQL block.
    Now, let us try using procedure.
    SQL> grant create table to ushi;
    SQL> create or replace
      2  procedure create_table
      3  is
      4   PRAGMA AUTONOMOUS_TRANSACTION;
      5   begin
      6     execute immediate 'create table bsdconv_s1stc_code (id number)';
      7     dbms_output.put_line('Table created successfully');
      8  exception
      9    when others then
    10       dbms_output.put_line('Error while creating table. Probably already exists.');
    11       execute immediate 'drop table bsdconv_s1stc_code';
    12       raise;
    13  end;
    14  /
    Procedure created.
    SQL> select * from test;
    no rows selected
    SQL> begin
      2    insert into test values (1);
      3    create_table;
      4  exception
      5    when others then
      6      dbms_output.put_line('Error on Creating table or Transaction');
      7      rollback;
      8  end;
      9  /
    Table created successfully
    PL/SQL procedure successfully completed.
    SQL> select * from test;
             I
             1
    SQL> commit;
    Commit complete.
    SQL> desc bsdconv_s1stc_code
    Name                                      Null?    Type
    ID                                                 NUMBER
    SQL> begin
      2    insert into test values (2);
      3    create_table;
      4  exception
      5    when others then
      6      dbms_output.put_line('Error on Creating table or Transaction');
      7      rollback;
      8  end;
      9  /
    Error while creating table. Probably already exists.
    Error on Creating table or Transaction
    PL/SQL procedure successfully completed.
    SQL> select * from test;
             I
             1
    SQL> desc bsdconv_s1stc_code
    ERROR:
    ORA-04043: object bsdconv_s1stc_code does not exist

  • Call PL/SQL Procedure (not stored) from SQLPLUS

    Hello,
    the following code creates a stored procedure and allows to call the procedure from SQLPLUS using EXEC.
    CREATE or REPLACE PROCEDURE welcome IS
    BEGIN
        dbms_output.put_line('Welcome user ' || user);
    END;
    exec welcome;I would like to do the same without storing the procedure. The procedure should be defined in an PL/SQL-Script and called in a SQLPLUS loop. On the one hand I do not have the privileges to create stored procdures. On the other hand I want to use put_line in the loop. Without passing control to SQLPLUS (e.g. the loop-master) all output is kept in the buffer and no information are shown during processing the data.
    Regards, Rainer

    netaktiv wrote:
    There should be a repair job updating many hundredthousends records. A script should be created and called only once and the calling user should be informed about the processing status. There is no need for heavy output, but after 5000 or 10000 records I would like to display a message saying nnnnn records processed.Then you need another mechanism to report the current status to the user.
    You cannot use the current session to do that. Sessions are serialised. That means they can do only service a single request at a time. So if the session executes procedure foo that updates 100's of 1000's of rows - then that is what the process will be doing. The procedure can only report back to the client after it has completed. It cannot interact directly with the client during the executing of that procedure.
    This means that if you want to actually send a notification to the client, you need to do that via a separate session. E.g. the 1st session executes procedure foo that performs the update. That procedure sends a notification (using DBMS_ALERT or DBMS_PIPE for example) to the 2nd session - where the 2nd session receives the asynchronous notification and reports that to the user.
    Another method would be for the update procedure to register a long operation using DBMS_APPLICATION_INFO. This enables another session to view the status and progress of the update procedure via virtual (v$) performance views.
    Another method would be for the client session not to start the update procedure itself. Instead it can schedule a background job (using DBMS_JPB or DBMS_SCHEDULER interfaces) - and then monitor the status of the job.
    Also suggest that you spend some time familiarising yourself with application developer fundamentals and concepts for Oracle. There are guides for both at http://tahiti.orcacle.com for the Oracle version you use. You cannot correctly use Oracle if you do not understand how Oracle works and what the application development features are. And your current approach using DBMS_OUTPUT is pretty much flawed and not how Oracle sessions should report their processing status to a client.

  • IN operator is not working correctly while calling,although pl/sql procedur

    CREATE or REPLACE PROCEDURE TEST(
    idListCommaSeparated IN VARCHAR2
    AS
    CURSOR c_emp IS SELECT first_name,last_name,start_date From Employee where id IN(idListCommaSeparated);
    r_emp c_emp%ROWTYPE;
    begin
    insert into temp1 values('B',sysdate,sysdate,'A');
          open c_emp;
          loop
              fetch c_emp into r_emp;
              exit when c_emp%NOTFOUND;
              insert into temp1 values(r_emp.first_name,sysdate,sysdate,'A');
                 --business Logic
      end loop;
          close c_emp;
    end;
    /idListCommaSeparated contains values like (2,3,4). while executing this procedure on sqlplus it is succefully created.
    When i run the query separately on sqlplus
    SELECT first_name,last_name,start_date From Employee where id IN(2,3,4)I got some rows in result.
    why i am not getting via procedure correct result.
    and one more thing the number of elements in 'idListCommaSeparated' values are not fixed,sometimes it may be(2,3,4) or sometimes variable value may (2,3,5,6).
    I am not able to understand,where i am going wrong?

    see whether you find nested table parameter implantation option useful. Also supported by .net/java in case that's your calling appln.
    Below is plsql block having a procedure with input paramater of empid's. It returns a cursor( empno and ename) as out parameter.
    The empid's are hardcoded in the calling block.
    SQL> create type t_id is table of number
      2  /
    Type created.
    SQL> set serveroutput on
    SQL> declare
      2
      3   v_tid t_id;
      4   v_results sys_refcursor;
      5
      6   v_employee_id number;
      7   v_name varchar2(100);
      8
      9   procedure TEST (p_tid in t_id, p_empcursor out sys_refcursor)  as
    10   begin
    11    open p_empcursor for
    12    select empno, ename from scott.emp
    13    where empno in (select column_value from table (p_tid));
    14
    15   end;
    16
    17
    18  begin
    19   v_tid := t_id(7902,7934);
    20
    21   TEST(v_tid,v_results);
    22
    23   IF v_results IS NOT NULL
    24     THEN
    25        LOOP
    26           FETCH v_results
    27            INTO v_employee_id, v_name;
    28
    29           EXIT WHEN (v_results%NOTFOUND);
    30           dbms_output.put_line(v_name);
    31        END LOOP;
    32
    33        IF v_results%ISOPEN
    34        THEN
    35           CLOSE v_results;
    36        END IF;
    37    END IF;
    38
    39  end;
    40  /
    *FORD*
    *MILLER*
    PL/SQL procedure successfully completed.
    SQL>

  • Tax Jurisdiction Code not defined for procedure TAXSE

    Hello,
    We are facing any issue with the error "Tax Jurisdiction Code not defined for procedure TAXSE"
    We are in mid of production bill run and this is getting very critical. Any pointers would be highly appreciated.
    The company code country is SE (Sweden)
    We have 2 BPs with address in California, US.
    The Billing is successful for both the BPs.
    While invoicing, one BP is successful.
    The other is going in error "Tax Jurisdiction Code not defined for procedure TAXSE".
    Error Details
    Jurisdiction code not defined for procedure TAXSE
    Message no. FF748
    Diagnosis
    You have entered a jurisdiction code in a country whose calculation procedure
    does not allow the entry of jurisdiction codes.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system
    settings.
    To do this, choose Maintain entries (F5).
    Change your calculation procedure so that tax calculation is carried out
    using the jurisdiction code.
    The BP and the CA setup is exact for both the cases.
    Thanks

    Hi
    Go to the following SPRO config-
    SAP Customizing Implementation Guide-->Financial Accounting-->Contract Accounts Receivable and Payable--->Basic Functions--->Contract Accounts--->Field Modifications--->Configure Field Attributes per Activity
    Select Change and double-click on field grouping Jurisdiction code.
    You will get the following screen.
    You have to tick the option Changes plannable and then you will be able to remove jurisdiction code from CAA2
    Hope it helps..
    Thanks,
    Amlan

  • Pl/sql Procedure is Not Creating With the CLOB data Type

    Hi,
    I am Using Oracle 10g Express Edition Release2.... My Doubt is While creating a table With CLOB Data Type the table is created successfully,but while Creating a Procedure With the CLOB Data type i am getting an Error Message
    2667/5 PL/SQL: Statement ignored
    2667/24 PLS-00382: expression is of wrong type
    then i tried With the Varchar2(30000) the Procedure is Created Successfully note i have not changed any thing in my code except the data type.
    I am Just Confused ......Why the Procedure is not Created with CLOB Data type?
    Please advice ...
    Thank U
    SHAN

    hi,
    Thanks for reply....Another Example
    CREATE TABLE USER_MAS (USER_ID     VARCHAR2 (20 Byte),MAIL_ID     VARCHAR2 (255 Byte));
    set serveroutput on
    declare
    atable varchar2(64) := 'USER_MAS';
    acolumn varchar2(64) := 'MAIL_ID';
    avalue varchar2(64) := 'NEWYORK' ;
    dyn_sql clob;
    begin
    dyn_sql := 'update '||atable||' set '||acolumn||' = '''||avalue|| '''' ;
    dbms_output.put_line(dyn_sql);
    execute immediate dyn_sql;
    end;
    commit ;
    Error at line 2
    ORA-06550: line 9, column 23:
    PLS-00382: expression is of wrong type
    ORA-06550: line 9, column 5:
    PL/SQL: Statement ignored
    When i Changed the Data type to varchar2(64)
    update USER_MAS set MAIL_ID = 'NEWYORK'
    PL/SQL procedure successfully completed.
    Commit complete.
    I like to Know the Reason Why the Procedure is Not Created in Oracle 10g XE DB
    Note :the Same Script i used in 11g DB the Procedure is Created Successfully....
    Why you need use CLOB or VARCHAR2 in your temp_num variable as you sending parameters as number?
    In the Procedure we are create some run time queries while executing the procedure. There are around 10 run time queries created.
    The size of each query is more than 4000 characters . We then add all the queries using union all after each query  to the clob variable as the normal varchar will not support.
    Please Advice
    Thank U
    SHAN

  • Partner function AP is not defined in partner procedure N ()

    Hi,
    Error: Partner function AP is not defined in partner procedure N ().
    I am getting above error in CRM service orders for Contact person replication from CRM  ECC.
    In debugging Middleware queue and we found that it is getting triggered from FM SD_PARTNER_EXECUTE_CHECKS.  In some cases contact person is getting replicated to ECC successfully but in some it's not ! And in both the cases this error is getting passed to CRM service order.
    Can anyone please help me on this exactly whatu2019s wrong with partner procedure and partner function customizing? Or do I need to add some code logic to stop this.
    Kindly help ASAP.
    Because every day we are getting thousands of CRM service orders which are affected by this Error.
    Regards,
    Amol.

    Hi Dipesh,
    Thank you very much.
    I have verified both the things.Means partner procedure is same in both the system. Also contact person is replicated to ECC with same order.
    As i mentioned this is happening with some service orders. Also there are some service orders where contact person is successfully replicated to ECC but there is error on CRM side:Partner function AP is not defined in partner procedure N () .
    Kindly let me know what are the further checks i need to do.
    Regards,
    Amol.

  • Customs procedure code 29 is not defined in any customs code list

    Hi GTS specialists!
    I'm creating export transit declarations by sending the invoice from ECC to GTS.
    Normally this works fine, and in this case the export declaration is created but the transit declaration is not....
    The document is stuck in the transfer log for billing document - Export/transit in GTS, with the following log:
    Customs procedure code 29 is not defined in any customs code list
    Message no. /SAPSLL/API_INBOUND030
    I have tried to check in customizing, for custom code lists, but didn't find the key solution yet..
    Any suggestions how to fix this?
    I suppose some mapping between export procedure 29 (= export in Foreign Trade Data - item) and GTS customs code list is missing..?
    thanks!!!
    Isabelle

    Hi Isabelle,
    There is no mapping between the Customs Procedure codes in ERP and those in GTS.  Instead, the code must exist in GTS in order to be transferred.  That's to say; you must configure the same code list in ERP and GTS.
    Usually it's better not to propose ANY Customs Procedure Codes in ERP, and instead use the Data Proposal in GTS.  But if you have particular dependencies already set up in ERP, then you just need to make sure that the codes are valid for your Legal Regulation.  Code '29' seems an unlikely one for Belgium.  Right across the EU, the CPCs are structured in the same way - 4 digits for the main code, and 3 further characters for the additional code, if applicable.  For Export, you should expect to be using (mostly) code 1000.
    But in any case, the code discrepancy is not the reason that your transaction is stuck.  The message is only information for the transfer log, and there must be some other reason why your billing document is not transferred to GTS.
    I hope that helps.
    Kind regards,
    Dave

  • Procedure compilation failed with SQL command not properly ended error

    Hi All,
    Kindly help me to fix this.
    I am compiling a procedure and getting an error. Procedure and error details are as follows:
    Procedure:
    CREATE or REPLACE PROCEDURE jiostore_new.auditReportCount (u_name IN VARCHAR2,stdate IN DATE,eddate IN DATE)
    IS
    BEGIN
    DECLARE Total Number;
    BEGIN
    SELECT COUNT(am.id) into Total FROM auditMaster_ AS am  INNER JOIN jioworld.deviceos_ dvos ON dvos.id=am.deviceOs WHERE am.updatedBy=u_name or am.updatedBy=ALL AND DATE(am.updatedDate)>=stdate OR DATE(am.updatedDate)='0000-00-00' AND DATE(am.updatedDate)<=eddate or DATE(am.updatedDate)='0000-00-00';
    dbms_output.put_line('Total Count:' || Total);
    END;
    END;
    Error:
    Error(6,1): PL/SQL: SQL Statement ignored
    Error(6,50): PL/SQL: ORA-00933: SQL command not properly ended
    Regards,
    Vishal G

    2922723 wrote:
    Hi All,
    Kindly help me to fix this.
    I am compiling a procedure and getting an error. Procedure and error details are as follows:
    Procedure:
    CREATE or REPLACE PROCEDURE jiostore_new.auditReportCount (u_name IN VARCHAR2,stdate IN DATE,eddate IN DATE)
    IS
    BEGIN
    DECLARE Total Number;
    BEGIN
    SELECT COUNT(am.id) into Total FROM auditMaster_ AS am  INNER JOIN jioworld.deviceos_ dvos ON dvos.id=am.deviceOs WHERE am.updatedBy=u_name or am.updatedBy=ALL AND DATE(am.updatedDate)>=stdate OR DATE(am.updatedDate)='0000-00-00' AND DATE(am.updatedDate)<=eddate or DATE(am.updatedDate)='0000-00-00';
    dbms_output.put_line('Total Count:' || Total);
    END;
    END;
    Error:
    Error(6,1): PL/SQL: SQL Statement ignored
    Error(6,50): PL/SQL: ORA-00933: SQL command not properly ended
    Regards,
    Vishal G
    The first thing, is that for your own sanity you should learn to format your code for readability.  And for the sanity of those from whom you seek help, you should learn to preserve that formatting when you post to a forum:
    CREATE OR REPLACE PROCEDURE jiostore_new.auditReportCount(
        u_name IN VARCHAR2,
        stdate IN DATE,
        eddate IN DATE)
    IS
    BEGIN
      DECLARE
        Total NUMBER;
      BEGIN
        SELECT COUNT(am.id)
        INTO Total
        FROM auditMaster_ AS am
        INNER JOIN jioworld.deviceos_ dvos
        ON dvos.id              =am.deviceOs
        WHERE am.updatedBy      =u_name
        OR am.updatedBy          =ALL
        AND DATE(am.updatedDate)>=stdate
        OR  DATE(am.updatedDate) ='0000-00-00'
        AND DATE(am.updatedDate)<=eddate
        OR  DATE(am.updatedDate) ='0000-00-00';
        dbms_output.put_line('Total Count:' || Total);
      END;
    END;
    What is the data type of am.updateDate?  It appears to be a varchar being passed to a function named DATE to convert it to a DATEfor comparison to your input parameters,  But you also compare it to strings. 
    Where are the variables 'u_name' and 'ALL'?  (and what kind of a name is that for a variable -- 'ALL'?)

  • Xml file not generated through Pl/sql procedure as a concurrent executable

    Hi,
    I getting error while genarating xml file through Pl/sql procedure as a concurrent executable file.
    Error Message:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource

    Hi,
    Make sure the file has the XML header:
    <?xml version="1.0" encoding="UTF-8"?>
    or similar.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • LaTeX - package gensymb issue: control procedures not being defined?!

    I want to use the gensymb package in my LaTeX file. Most commands work fine, but for the following two I get an error:
    Package gensymb Warning: Not defining \perthousand.
    Package gensymb Warning: Not defining \micro.
    For me this is rather bad as I want to use \micro :
    ! Undefined control sequence.
    l.109 In \micro
    the first part of the experimant the experimental setup was
    What shall I do?

    bender02 wrote:
    Well, let me tell you how did I find it (I don't use that package at all):
    I went to CTAN, looked for that package, downloaded the .zip, unpacked. With most packages, you end up with a bunch of files, the important ones have suffix .ins and .dtx (eg. gensymb.dtx and gensymb.ins). Gensymb.dtx is the "source", which contains both the style file and the documentation. To get a .sty file out of it, you can run "latex gensymb.ins" (as in 'ins'tall), and it should load gensymb.dtx and produce at least gensymb.sty - that's the file you include in your latex files. Now to get documentation, just process the file gensymb.dtx itself with latex, and you end up with a .dvi.
    All in all, I just looked at that gensymb.dvi and it was there.
    Sometimes packages have an extra manual with them, you just need to look at the unzipped stuff from CTAN.
    After installing gensymb at the appropiate places a "texdoc gensymb" opens the documentation.

  • Co.code not defined to country or country to the calculation procedure erro

    Hai All,
      Iam facing an error while creating the PO i.e., co.code not assigned to country or country to the calculation procedure error.
    Actually, Iam working in 800 client and there is no TAXINN so how is it possible to assign the country India to the calculation procedure?
    Please help me out.
    Regards
    ANU

    Hi Friend,
    I think you are working with SAP 4.7EE version. In 4.7EE version TAXINN procedure not created in 800 Client. If you have authorization to view 000 Client, You can find  TAXINN procedure in 000 Client.
    For your problem, I will suggest 2 solutions:
    Ist solution: Open simultaneously 000 and 800 clients in your system (4.7EE), then you can replicate the TAXINN procedure in 800 client.
    Second solution: You can use any other available/existing Tax procedure in your client to resolve your said problem.
    If you are using 4.6C version, you have to install CIN add-on.
    From ECC6.0 Version you can find  TAXINN procedure in 800 client also. Please let me know if you have any clarifications.
    Thanks
    Chandra

  • Obtaining HTML page by issuing a call from a PL/SQL procedure

    Is there any possibility to obtain HTMLDB -> HTML page from a user defined PL/SQL procedure ?
    For example I build an procedure which calls directly
    flows_010500.wwv_flow.show(null,p_flow_step_id=>'2',p_flow_id=>'104')
    and i try to read the result from htp.showpage, but I get a html response page with a security error.
    Maybe is necessary to initialize other parameters?
    Any help?

    Scott, I have got two pages in an application one is login page the other is welcome page. my login page will be process by store proceduer to validate the user based on users table that I have created on my schema. If the user login with username and password, if they exist on this table I will like to send them to welcome page. but I get http://htmldb.oracle.com/pls/otn/wwv_flow.accept.
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the htmldb.oracle.com home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    the procedure is below:
    CREATE OR REPLACE PROCEDURE obj_pls_login_chk(p_UserName IN varchar2
    ,p_Password IN varchar2
    ,Login IN varchar2 ) IS
    l_usr_id number;
    l_url varchar2(2000);
    BEGIN
    l_url := 'http://htmldb.oracle.com/pls/otn/f?';
    select user_id into l_usr_id
    from s_cdm_users
    where upper(username) = upper(p_UserName)
    and upper(Password) = upper(p_Password);
    if l_usr_id is not null then
    l_url := l_url||'p=29921:2:4413779570974471450';
    --wwv_flow.show(null,p_flow_step_id=>'29921',p_flow_id=>'29921:2');
    --htp.print(p_UserName);
    end if;
    EXCEPTION
    when others then
    return;
    END

  • Basic Report Run from a PL/SQL Procedure

    I am hosed trying to start a BI Publisher report from a PL/SQL procedure. Basically, I have a procedure with a local variable defined as an XMLType. I need to call an RTF source, pass the xmlfile in and tell the RTF Engine where to send the output.
    The users guide implies that it involves calls to a Java program and I am totally ignorant of Java.
    I have successfully linked the RTF source into the XML_Publisher application and previewed it against a known data set. hat works.
    So, if I have a PL/SQL package with the local variable L_XML defined as XMLTYPE
    and an output file L_OUTBUT defined as VARCHAR2(100), what do I use to call the RTF Processor and generate the report to the output file?
    That is
    declare
    l_xml xmltype;
    l_output varchar2(100);
    begin
    -- stuff to build the xml variable
    -- insert the call to FTP Processor here Apparently, it should be
    -- something like
    package.procedure('linked_rtf file name', l_xml, l_output);
    end;
    If this calls a Java script, would also appreciate a sample copy of the script.
    My need is desperate so any assistance will be greatly appreciated.
    Many thanks
    Frank

    I don't think you can. The parameters passed to a VB dll are formatted differently than a C dll, especially strings. I know a C program has to use special data structures when working with a VB dll, and this is basically what Oracle is doing.
    It should be possible, however, to create a C dll that acts as a wrapper for the VB dll. I'm not sure this would save you anything, though. If you have to do that you may as well write the function in C.

Maybe you are looking for

  • Is this normal to find Servers in "Recent Items"?

    While I have been trying to save data on a crashed computer – the Desktop has disappeared and the Finder can't be found – I found something I have never noticed before. On the menu at the top of the screen, when I click on "Recent Items" I find "Serv

  • XI File Content conversion

    Hi, I am using SP 12 of XI. I am able to see the File Content conversion option in the Sender communication channel but not able to see the option in the Receiver Communication channel. Could anyone please suggest a solution? Regards, Karan

  • ? connecting tv to MacBook

    When I connect my MacBook to the TV, for some reason the  drop down menu for the bookmarks does not appear when I use the cursor as I normally would. Anyone have any ideas on what I am doing wrong? I've tried both maximizing the page and minimizing i

  • How to remove OTA Settings badge after delete of IOS 8.0.1 software update from storage

    Running iOS 8 I had downloaded and not installed IOS 8.0.1 software update.  A "1" Badge appears as expected on my Settings icon.  I then removed the software from storage.  Settings->General->Usage->Manage Storage but the badge was not removed.  Thi

  • MTTR and MTBR (Breakdown analysis report mci7) in PM.

    Hi all, this is regarding pm issue. in mci7(ie MTTR and MTBR report) iam unable to get the required results for certain equipments. ie it is showing very high values. please guide me in this regard. Regards, santosh.