Reject Oracle iExpense Report through WF_NOTIFICATION.SetAttrText

Dear Gurus,
I have a huge number of iExpense Reports which are pending for the user approval. I am using the following code to Reject all such reports:
begin
wf_notification.setattrtext ( nid => :notification_id
                                , aname => 'RESULT'
                                , avalue => 'REJECT' ); 
    wf_notification.respond ( nid => :notification_id );
commit;
    end;
when I query the notification table after running the above code, the status of the notification is "CLOSED" but the expense report is still waiting for approval.Further more the user who created the report never gets to be notified that his report is rejected.
Am I missing anything any help would be appreciated.

dear All ,
I resolved the issue using the following :
wf_notification.setattrtext ( nid => :notification_id
                                , aname => 'RESULT'
                                , avalue => 'REJECTED' ); 
                                wf_notification.setattrtext ( nid => :notification_id
                                , aname => 'WF_NOTE'
                                , avalue => 'Auto Rejected as the BM is older than 30 days' ); 
    wf_notification.respond ( nid => :notification_id);

Similar Messages

  • Oracle iExpense report

    Folks,
    Please help with a query to find iExpense reports that are Auto Approved.
    Mean I need to display only the expense reports that are Auto approved.
    Thanks,
    gvk.

    dear All ,
    I resolved the issue using the following :
    wf_notification.setattrtext ( nid => :notification_id
                                    , aname => 'RESULT'
                                    , avalue => 'REJECTED' ); 
                                    wf_notification.setattrtext ( nid => :notification_id
                                    , aname => 'WF_NOTE'
                                    , avalue => 'Auto Rejected as the BM is older than 30 days' ); 
        wf_notification.respond ( nid => :notification_id);

  • How to restrict/allow users to access oracle forms/reports through SSO

    Dear All,
    I am new to oracle application server and need to know how can we manage the access rights for oracle forms using OID/SSO.

    Anyone can answer.

  • Viewing the discoverer reports through portal

    How can i view oracle discoverer reports through portal .Suppose
    i have portal page where i want to create few links on clicking
    of which these reports are renderer on the portal.
    What configuration is required for doing this ? i mean to enable
    the discoverer view what steps are required and what url is
    given .
    Any suggestion will be of great help.
    Neeti

    Hi All,
    We are also having similiar type of error in our portal. 
    com.sap.engine.services.prtbridge##com.sap.engine.services.prtbridge
    #######SAPEngine_System_Thread[impl:5]_13##0#0#Error#1#/System/Server#Plain###
    The cluster server element 125898350 is not added in the EP cluster context,
       because prtbridge on 125898350 is stopped  or not yet started
    (maybe the server is starting or shuting down).
    We have implemented the FPN using RRA.
    This error comes only for few users when they navigate in Portal. After clearing the cache, it works for all. Kindly help us to resolve this issue.
    Regards,
    Venkatesh

  • Access oracle Discoverer report

    Hi,
    has anyone tried accessing an oracle discoverer report through web dynpro?  Any info will be greatly appreciated!
    Leah

    Yogini is correct, but the solution provided will remove drill capability for all users under all circumstances. This is a "shortcoming" of Disco. If you set up a hierarchy for the users to use for drilling, the users must have the drill out privilege. This has the additional effect of adding the "Drill to related..." feature to most (and I believe all) columns.

  • Creating Sap Crystal Report Through Oracle Stored Procedure Packages

    Hi,   
    1.How we can create crystal report through oracle stored
    procedure packages pls tell me the steps through adding command then
    tell me the syntax what should i write in command to call the stored
    procedure packages or if have some other option then also tell. 
    2.can
    we link stored procedure column to other table column that used in
    report.

    Hi Ganesh,
    As this error comes when you are trying to insert non-numeric value into a numeric column in db it seems that your field might be numeric and you are trying to send it as a string in database.
    Please check your Store Proc carefully..
    Reference Thread: Oracle/PLSQL: ORA-01722
    --Dhana

  • Calling reports through oracle 9i forms

    Please tell me how do i call the reports through forms9i. If was doing the same way by using find_report_object ('report4') and then run_report_object(reportid).But this not working....
    Please help... it is pretty urgent.
    thanks in advance
    savita rao

    declare
    pl_id paramlist;
    emp varchar2(100);
    begin
    go_block('control');
    first_record;
    if :control.empno is not null then
    loop
    emp:=cond||''''||:control.empno||''',';
    exit when :system.last_record='true';
    next_record;
    end loop;
    emp:=substr(cond,1,length(cond)-1);
    end if;
    :control.emp:='"('||cond||')"'; ----formating in “(‘7369’,’7499’)”
    ----calling the report and passing parameters to it---
    pl_id:=get_parameter_list('empno');
    if not id_null(pl_id) then
    destroy_parameter_list('empno');
    end if;
    pl_id:=create_parameter_list('empno');
    add_parameter(pl_id,'year',text_parameter,emp);
    add_parameter(pl_id,'paramform',text_parameter,'no');
    Run_Product(REPORTS, 'c:\emp.rep', SYNCHRONOUS, RUNTIME, FILEYSTEM, pl_id, NULL)
    end;

  • How do I trigger an Oracle report through Java Code?

    Hello,
    I am new to reports. Is there any way to trigger a report through java code - I know there is an OS command to trigger a report automatically. Has anybody done this through a high level PL?
    Amit

    We are in a similar situation. If you receive any answers can you forward the same to [email protected]

  • Calling Report Through PL/SQL

    Hi All,
    Is it possible to call a report through PL/SQL?If yes, please help me in this regard.
    Thanks.
    Vinay Kumar Garg

    Hi,
    There are 4 ways to call a report.
    Check out the following:
    http://oracleapps4u.blogspot.com/2011/03/oracle-report-request-methods.html

  • Upgrade Oracle Forms/Reports from 6i to 11g

    Hi you Oracle experts,
    I'm considering to upgrade my Oracle Forms/Reports application from 6i to 11g.
    However, I see dozens of separated server components on the download page in OTN.
    Can anyone guide me what server/developer software components should I prepare to install ?
    Also, please tell me the service dependency between the server components.
    Thank you in advance.

    It depends on which Machine you want to install. Its different for a developer and a Server.
    For Forms and Reports, you can Weblogic server and install FMV with Forms and Reports builders.
    For migration you can go through this link.
    http://download.oracle.com/docs/cd/E15523_01/doc.1111/e10394/toc.htm

  • Not able to generate report through EM.

    Hi All,
    one of the clients wants us to create a database report through EM.
    We are in the process of creating the tablespace information report.
    we havent created report through EM before.
    Please find the below which we followed to create the report.
    1. click report -->create-->
    2. in the element tab
    I select element--> add -->
    In set parameter tab, I run this query
    select tablespace_name as tbname, sum(bytes)/1024/1024 as size_mb from dba_data_files group by tablespace_name;
    When i try to run the report, I am getting an error table or view does not exist.
    This is the correct query when i ran the same query on db, i see the o/p.
    Please also let me know how to configure the e-mail with report.
    Your assistance is this regards is much appreciated.
    Thanks and Regards,

    if you run your query against the repository database you will get the error while the user MGMT_VIEW in the repository database doesn't have any
    privileges on dba_data_files (I'm using OEM/GC 10g - at least in this version the user MGMT_VIEW is used).
    If you want to run your query against a target database you have only these choice: create a public database link for that target database.
    select tablespace_name as tbname, sum(bytes)/1024/1024 as size_mb from dba_data_files@target_db group by tablespace_name;
    On the other hand you could use the repository of the OEM/GC to get some informations about the tablespaces of a target database.
    Please check:
    http://download.oracle.com/docs/cd/E11857_01/em.111/e12135/toc.htm => Part II Reference => 7 Management Repository Views
    For your purpose the view MGMT$DB_DATAFILES in the SYSMAN repository might be a good choice...
    HTH

  • XML Publisher reports through OAF in R12

    Every time I submit a concurrent request I am unable to put a layout and thus no report is generated. If I run the report through forms there are no issues and everything works great. If I run it through OAF the layout never gets added to the request. All of the previous threads deal with versions of Oracle earlier than what I'm working with.
    Here are the details when ran through OAF: http://i.imgur.com/bBYOe.png
    Here are the details when ran through forms: http://i.imgur.com/1gfEt.png
    Here's my current code:
    This is in the AM.  public int submitCPRequest() {
        try
        OADBTransaction tx = (OADBTransaction)getDBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("UNIApps"); //Application that contains the concurrent program
        String cpName = new String("UNIA_OAF_XML_TEST"); //Concurrent program name
        String cpDesc = new String("");
        String time = new String("");
        // Pass the Arguments using vector
        Vector cpArgs = new Vector();
        // Calling the Concurrent Program
        cr.addLayout(applnName,cpName,"en","US","PDF","AMERICAN");
        //cr.addLayout(applnName,cpName,"en","US","PDF",null);
        int requestId = cr.submitRequest(applnName, cpName, cpDesc, time, false, cpArgs);
        tx.commit();
        return requestId;
        }catch(Exception e)
        OAException oe = new OAException(e.getMessage());
        oe.setApplicationModule(this);
        throw oe;
        }This is in the CO.  public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        if (pageContext.getParameter("report") != null)
           String requestId = am.invokeMethod("submitCPRequest").toString();
           //requestId = "27546040";
           Serializable params[] = {
               requestId
           pageContext.getApplicationModule(webBean).invokeMethod("getOutputURL", params);
           String outputURL = (String)pageContext.getTransactionValue("OutputURL");
           try
               pageContext.sendRedirect(outputURL);
               return;
           catch(Exception exception)
               throw new OAException(exception.getMessage());
       }

    thank u . the code useful for me

  • How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?

    Hi
    How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
    Thanks

    Hi
    when i am going through your bleow link.
    I am not able understand the 3.3.1 step :2
    http://download.oracle.com/docs/cd/E15523_01/web.1111/e10240/basics.htm#i1010040
    edit this file in the Web Configuration,
    configuration of an application called "my_application" with a form module called "form=hrapp.fmx":
    can deploy only.fmx file ?
    if not how to find the realation between my_application and hrapp.fmx ?
    Thanks in Adavance
    Regards
    Ram

  • I need help on how to install, then run Oracle 9i Reports Server ?

    where do i get Oracle 9i Reports ? how do i used it ?

    you had to install forms server and report server. once the server install completes
    to check it is working fine type http://ipmachine/serveraddress/portno at the time of install/testreport.htm
    meanwhile go through the documentation .

  • Issue in Ibots deliver the reports through mail

    Dear All ,
    I am getitng the below error when i ran the ibot to deliver the reports through email .
    Steps i have done :-
    1. Configured SMTP in windows 2008 R2
    2. Configured MAil through EM
    3. Created Agent and configured the ibots to deliver the report .
    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 2 of 3
    [nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: A fatal error occurred while processing the request. The server responded with: java.io.IOException: The system cannot find the path specified.
    Error Codes: AGEGTYVF
    Location: saw.rpc.mis.read, saw.subsystem.portal.pdf, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/weblogic/Test_Report_ibot
    ...Trying Agent Get Response Content loop again.... Sleeping for 3 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: A fatal error occurred while processing the request. The server responded with: java.io.IOException: The system cannot find the path specified.
    Error Codes: AGEGTYVF
    Location: saw.rpc.mis.read, saw.subsystem.portal.pdf, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/weblogic/Test_Report_ibot
    ...Trying Agent Get Response Content loop again.... Sleeping for 5 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: A fatal error occurred while processing the request. The server responded with: java.io.IOException: The system cannot find the path specified.
    Error Codes: AGEGTYVF
    Location: saw.rpc.mis.read, saw.subsystem.portal.pdf, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/weblogic/Test_Report_ibot
    Exceeded number of request retries for method GetResponseContent.

    Thanks .. But when i choose the plain or HTML text delivery options . it throws the below error .
    AgentID: /users/weblogic/To_Muni_Delete
    [nQSError: 75027] Failed to open connection to SMTP Server (host 10.19.252.13; port 25). AgentID: /users/weblogic/To_Muni_Delete
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /users/weblogic/To_Muni_Delete
    [nQSError: 75027] Failed to open connection to SMTP Server (host 10.19.252.13; port 25). AgentID: /users/weblogic/To_Muni_Delete
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /users/weblogic/To_Muni_Delete
    [nQSError: 75027] Failed to open connection to SMTP Server (host 10.19.252.13; port 25). AgentID: /users/weblogic/To_Muni_Delete
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /users/weblogic/To_Muni_Delete
    [nQSError: 75027] Failed to open connection to SMTP Server (host 10.19.252.13; port 25). AgentID: /users/weblogic/To_Muni_Delete
    Exceeded number of SMTP delivery retries.

Maybe you are looking for

  • Multiple values from a single function to be used SQL

    I have some pl/sql code that calculates multiple values in the same procedure (multiple out parameters). Now I want to use these separate values in an SQL select. One way to do it, is creating functions for each separate value. Performance wise, I do

  • Problem with sorting

    Hi all, I am trying to sort an array using Bubble sort, But it can't seem to work. can you please look at my code below and tell me where I am going wrong bubbleSort class public class bubbleSort {     int size;     int[] array;     public bubbleSort

  • Windows 8.1 and Cisco Connect Incompatable

    I've upgrades a couple of PC's to Windows 8.1.  Upon discovering the printer attached to my E4200 v1 by its USB port was not showing after the upgrade, I re-ran Cisco Connect to re-install the printer. ----At this point I'd like to say up front that

  • html:link action="/...." not working

    hi eve, i am trying to add this line <html:link action="/prepareSimple"> then the following error is comming org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 39 36: 39:           <html:link action="/prep

  • Subversion is not working !

    Dear all, I'm trying to install/update Textmate's bundles using svn. When I try with the following instructions in terminal: $mkdir -p /Library/Application\ Support/TextMate/Bundles $cd /Library/Application\ Support/TextMate/Bundles $svn co http://sv