Wwv_flow_utilities.redirect_url not working in On Submit Application proces

Hi,
I had this working for hours. In the process to change the redirect url somehow I changed something and the following is not working anymore. Thanks for your help.
BEGIN
IF &APP_PAGE_ID. != 101 THEN
IF :P0_JAVASCRIPT_CHECK != 'JAVASCRIPT_ENABLED' THEN
update test_data set thedata = 'I was here 1!'; -- I have confirmed that the code gets here. Since this is a test no need to explicitly commit as Apex will do it
wwv_flow_utilities.redirect_url('f?p=&APP_ID.:1:&APP_SESSION.'); -- This doesn't work!!!
update test_data set thedata = 'I was here 2!'; -- I have confirmed that the code gets here. Since this is a test no need to explicitly commit as Apex will do it
END IF;
END IF;
END;
Thanks,
Paresh

Varad,
Thank you for your response. As I mentioned I am not looking for the standard API docs. I am specifically looking undocumented wwv* packages. I agree some of them are not for public consumption but they are usuful and mentioned on the forums e.g. wwv_flow_utilities.redirect url (for which there is already a documented alternative owa_util.redirect_url).
I usually go through the package specs too but specs are not very clear (they are not intended as docs :)) e.g. from the spec "g_unrecoverable_error boolean := false; -- indicates error has occured which requires error page".
Your responses and help is really appreciated.
Thanks,
Paresh

Similar Messages

  • Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applica

    Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.

    I received no error message. The application was just trying to find applications unsuccessfully.
    I am using MAC OS 10.10.1
    I tried to uninstall the application  but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
    Otherwise I would have to reinstall everything and this would be a pain.
    Thanks for your help.

  • I updated Firefox but now it says it will not work b/c the application may be damaged or incomplete. What can I do. It worked perfectly before I updated the app.

    I updated Firefox but now it says it will not work b/c the application may be damaged or incomplete. What can I do. It worked perfectly before I updated the app.

    Hello, terrygav. 
    I would recommend processing a reinstall of Mavericks.
    OS X Mavericks: Reinstall OS X
    http://support.apple.com/kb/PH13871
    Make sure to backup all of your data prior to reinstalling OS X 10.9.
    Back up your Mac
    http://support.apple.com/kb/PH11371
    Cheers,
    Jason H.

  • SET/GET not working when I submit one program into Main program.

    Hi All,
    I am using set/get parameter as follows but somewht it is not working.. Please help.
      IF ( uf_instn = 'ACEFR' and uf_messg <> 'BSP' ).
        set parameter id 'AJN' field lf_jobname.
        set parameter id 'AJC' field gf_jobcount.
      ENDIF.
      SUBMIT   zace_interface
        USER   sy-uname
        VIA    JOB lf_jobname
        NUMBER gf_jobcount
        WITH   SELECTION-TABLE lt_seltab
      TO     SAP-SPOOL
        AND    RETURN.
    in the zace_interface program I have another submit program
        submit zrsbdcsub and return
                        user 'ZACE_INTERFACE'
                        with mappe eq lf_group
                        with von eq sy-datum
                        with bis eq sy-datum
                        with fehler eq space
                        with logall eq co_true.
    ad inside this submit im using
                  get parameter id 'AJN' field v_jobname.
                  get parameter id 'AJC' field v_jobcount.
    but i am not able to get the values into v_jobname & v_jobcount.
    Can you please help me in this regard. how i will get the values in v_jobname & v_jobcount.
    Thanking you in advance
    Regards,
    Prashant

    Hi..,
    any way u r executing the programs in the same session but between diff. internal sessions u can use the IMPORT and EXPORT options ( ABAP MEMORY )
    or do one thing...
    <b>In the first program Copy these fields into a file in the <b>application server</b>,, and in the Second submit program u retrieve these variable values from the Application server file into these two variables!!</b>
    just now i have solved one of the issues of this Kind by using an Application server file.
    In the first program..
    IF ( uf_instn = 'ACEFR' and uf_messg <> 'BSP' ).
    OPEN dataset 'FILE' for output in text mode encoding default.
    transfer lf_jobname to 'FILE'.
    transfer gf_jobcount to 'FILE'.
    CLOSE dataset 'FILE'.
    ENDIF.
    and instead of using the GET parameters in the second program ..
    OPEN dataset 'FILE' for input in text mode encoding default.
    read dataset 'FILE' into v_jobname.
    read dataset 'FILE' into v_jobcount.
    CLOSE dataset 'FILE'.
    This has solved my problem !!!!! hope this helps u also!!
    regards,
    sai ramesh

  • GoFunctionKey not working in SAP SRS application

    Hi Friends,
    I have been working on SAP SRS application which is created in Web Dynpro Java and some ABAP part too.
    It 7 dcs.
    The main dcs are: isisrsrsgrbcsap.com, isisrsrsgrappsap.com and isisrsrsamsap.com.
    ScanView is a view which inside a Web Dynpro Java Component ArticleComp which is inside the dc isisrsrsamsap.com.
    The ScanView has 4 buttons:
    1> Go button,
    2> Cancel button,
    3> Overview button
    and 4> Advanced Search button.
    The ScanView has 5 functionkey for mobile devices:
    1> GoFunctionKey,
    2> CancelFunctionKey,
    3> OverviewFunctionKey,
    4> AdvancedSearchFunctionKey
    and 5> BarCodeReader.
    The GoFunctionKey is not working.
    It has keycode PI_MaterialScanFk.Search_Go which gets the value 13 from a RFC.
    The onAction event of the function key GoFunctionKey is:
    public void onActionScan(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String scanData )
        //@@begin onActionScan(ServerEvent)
         //wdComponentAPI.getMessageManager().reportSuccess("Scan value: "+scanData);
         wdContext.currentPi_Mat_EanElement().setEan_Upc(scanData);
         wdThis.onActionSearch(wdEvent);     
        //@@end
    The onActionSearch event for the Go button is onActionSearch :
    public void onActionSearch(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSearch(ServerEvent)
         wdThis.wdGetArticleCompController().scanArticle();
         if (wdThis.wdGetArticleCompController().getSizeMatList()>0) {
              wdContext.nodePi_Mat_Ean().invalidate();
              if (wdThis.wdGetArticleCompController().getSizeMatList()==1)
                   wdThis.wdGetArticleCompController().goMaterialResult();
              else
                   wdThis.wdFirePlugToDispatcher(INavCodeConstants.NAV_CODE_COPY);
        //@@end
    So, internally GoFunctionKey calls the function of the Go button.
    But nothing happens when client clicks this Enter button of the mobile device.
    I am planning to debug the code by putting some breakpoints but it would not help.
    I have already tried to print statements inside the onActionScan by using wdComponentAPI.getMessageManager.reportSuccuess();
    but nothing is getting printed as the action is not getting called.
    There are some changes done in ABAP side but no customization done in the java side.
    Also, the mobile devices used are given below:
    http://emobilescan.co.uk/downloads/manuals/ppt8800.pdf
    Please show how to approach and solve this issue.
    Thanks & Regards
    Kaushik Banerjee

    Hi,
    I have not worked on mobile development but are you sure  wdComponentAPI.getMessageManager.reportSuccuess() works on mobile devices.
    Also you have called a method of your Comp Controller in onActionSearch. Check if it might be throwing an exception that is not being printed.
    Regards,
    Himanshu

  • Buttons/Links not working in ESS standard application

    Hi Experts,
    We have implemented ESS module in the portal. Here we have created a view via delta link tracer that contains less number of overview content. In this new view we just have links for "leave", Payment and Personal information links only. This was the requirment of the client. Now a few links inside the above mentioned links are not working. For example if i click on "Leave" and then "Quota overview" there comes  a screen where an Exit button is there. This exit button is not working at all. The screen remains the same on pressing the button. Similarly inside "paymen", the link payment summary is not responding. The screen remains the same when we click on payment summary. Is it related to configuration of these buttons. We are using the standard ESS application and have not at all modified the same.
    Best Regards,
    KM

    Note that
    While creating an iView instance there are two option
    -paste
    -paste as delta link
    You should choose paste as delta link option.
    Please check the link for more information-
    http://help.sap.com/saphelp_NW04s/helpdata/en/f5/eb515d0e6a11d7b84900047
    582c9f7/frameset.htm
    'Exit' button feature comes into picture when you consider that
    application should use home page customizing feature.

  • Webutil not working properly after applying application server patch

    i have applied patch Patch 5983622 my application server verion is upgrade to 10.1.2.3 .
    patch is applied sucessfully but.foms which have webutil library not working.
    can any one tell me what should i do for make them working again.

    Do you receive any error messages in your Java Console?
    We encountered to following problem when we patched the AS to 10.1.2.3:
    [Exception while using WebUtil on OAS 10.1.2.3|http://www.it-eye.nl/weblog/2008/07/04/exception-while-using-webutil-on-oas-10123/]

  • Logoff button is not working for end user application

    Hi Team ,
    Enterprise Portal : SAP Netweaver 7.0 We have updated Support pack from SP11 to SP21.
    and in End user application log-off tab is not working.
    ALthough when we login through Administrator user it is working  fine
    Regards,
    Kamal

    Dear Kamal,
    I can think of 2 reasons:
    1. Java Version
    2. Compatibilty Mode of Internet Explorer. There is a button on the address bar next to the refresh button in IE 9.
    Regards,
    Pranav.

  • Runtime.exec()  in Java not working in Oracle 10 Application Server

    Hi ,
    I am trying to call a .exe file which is in the Web Application folder .
    I am Using Process p = Runtime.exec("path to .exe file ")
    This code is working fine when used with JBOSS , but not working with Oracle Application server .
    Please tell me whether i need to do any chnages to make it work
    Thanks in advance .

    I ran a quick test with your code, I just had to make some small changes, and things work for me...
    I'm testing with JDeveloper 10g 10.1.3.2.0 ...
    The only thing I wonder is DBUser DBPass DBHost, those are not the actual values, correct?, neither they are environment variables?...
    In the server hosting your OAS, you should try running the whole CMD line from the start/run dialog ... make sure it works in that server ...
    Here is the code used in my test:
    In JSP:
      <%@ page import="runexepkg.*" %>
      <% 
      String msg = "";
      try
      RunEXE p = new RunEXE();
      msg = p.main1();
      catch(Throwable t)
         System.out.println("Exception Raised");
         t.printStackTrace();
      %>
      <%= msg %>In Java Class:
    package runexepkg;
    import java.sql.*;
    public class RunEXE
        String ss="";
        public String main1()
        try
            Runtime rt=Runtime.getRuntime();
            Process p = rt.exec("CMD /C start C:\\oraappserver\\j2ee\\WebGis\\applications\\PowerGis\\web\\WEB-INF\\classes\\GisProject\\cust_data_1.exe DBUser DBPass DBHost");
            System.out.println("Command has been executed");
            Class.forName("oracle.jdbc.driver.OracleDriver");
            Connection con = DriverManager.getConnection("jdbc:oracle:thin:@DBHost:DBPort:orcl","DBUser","DBPass");
            System.out.println("Test Connection ========== "+con);
            Statement st = con.createStatement();
            ResultSet rs = st.executeQuery("SELECT SYSDATE FROM DUAL");
            if(rs.next())
                ss="Command has been executed - Database has been accessed";
            else
                ss="Command has been executed - Database was not accessed";
        catch(Throwable t)
            System.out.println("Exception raised, command has NOT been executed");
            ss="Exception raised, command has NOT been executed";
            t.printStackTrace();
        return ss;
    }Edited by: Rodolfo Ferrari on Jul 23, 2009 10:40 PM

  • Automatic discovery not working if empty WebSphere Application Server folders in Windows registry

    We were trying to discover WebSphere 8.5.5 servers in our environment but the JEE MP couldn't find them. The discovery wrote this kind of error to the Windows Log:
    The process started at 8:56:25 AM failed to create System.Discovery.Data. Errors found in output:
    C:\Program Files\Microsoft Monitoring Agent\Agent\Health Service State\Monitoring Host Temporary Files 9\73626\Microsoft.JEE.WebSphere.Install.Discover.vbs(196, 1) Microsoft VBScript runtime error: Object not a collection
    Command executed: "C:\Windows\system32\cscript.exe" /nologo "Microsoft.JEE.WebSphere.Install.Discover.vbs" {10FEBF68-F318-4F09-8E6B-4567D66E2559} {014E39AA-B032-13EC-E5F1-3B880E645FFC} ServerName {D7E586A0-5480-9B71-F731-D3F15B3627FD} "8"
    Working Directory: C:\Program Files\Microsoft Monitoring Agent\Agent\Health Service State\Monitoring Host Temporary Files 9\73626\
    One or more workflows were affected by this.
    Workflow name: Microsoft.JEE.WebSphere.8.Windows.Installation.Discovery
    Instance name: ServerName
    Instance ID: {014E39AA-B032-13EC-E5F1-3B880E645FFC}
    Management group: SOKSCOM2012
    I investigated the discovery vbs script and Windows registry and found out that one of the users had empty WebSphere Application Server folder under Software/IBM in Windows registry. This was probably left after uninstallation of WAS. After I removed the
    empty registry entry then the auto-discovery found WAS instances.
    Would it be possible to enhance the discovery vbs script to exclude empty USER/Software/IBM/WebSphere Application Server key folder in the next version?

    I have contacted IIS forum support.
    Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
    Their final response:
    Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
    works while the Samsung fails, as the HP one just "happens
    to work",
    http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
    Similarly, System.Printing was designed just for WPF.
    About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
    to help you out. This is not a trivial scenario.

  • Keyboard does not work for 64 bit applications

    Hello,
    I hope someone can help me with this strange problem.
    I can not use my keyboard for applications running in 64 bit mode. E.g. Adobe Lightroom 2 or the Chess application that came with the OS.
    When I start up this applications in 32 bit mode everything is working.
    Regards,
    Do lo

    Welcome to the Apple forums:
    I had been using my mouse for the chess game, but I just tried typing
    e2 e4 and it worked. I presume that's what you mean by keyboard
    The activity monitor says it is a 64-bit Intel app.
    It's version 2.3 if that helps.
    Interesting that the voice commands do not work for me. After calibrating and seeing that the test commands work in the calibration window, the command for the chess game all result in a question mark. It hears, it does not understand. Ditto in 32-bit mode.
    Cannot help you with Adobe
    Message was edited by: nerowolfe

  • Command key not working right in several applications

    All of a sudden, some functions are not working right, i.e., in PhotoShop when I select the Zoom key I get a minus rather than the usual plus. In Date and Time, I started getting a 24 hour clock. If I go there in System Prefs and change to 24 hour clock, then the readout on my menu bar is for 12 hour clock. Sometimes when I use Command-Q the machine asks me if I want to close all programs rather than just the one I'm attempting to leave. What is wrong?

    Hi n,
    I have no idea if this might work, but I'd reset the PRAM and SMC.

  • Sound not working in MS-DOS applications within Windows

    I'm using a CT4750 (that's a PCI 28) and Windows 98. In the past I've gotten sound to work fine in DOS applications in Win98 with the exact same setup I have now except I got a new motherboard (Gigabyte GA-K8NSC-939) and new processor (AMD Athlon 64 3200+ Socket 939). The Legacy device in Device Manager seems fine. I've tried every I/O setting, IRQ setting, and DMA setting that makes sense, and nothing's working. I asked my motherboard manufacturer (Gigabyte) and they said to ask you guys
    Thanks for any help.

    I had the same problem. I solved it by using the driver at this link
    http://www.realtek.com.tw/DOWNLOADS/downloadsView.aspx?Langid=1&PNid=8&PFid=14&L evel=3&Conn=2

  • Owa_util.redirect_url not working

    Hi
    I created proces ON Submit:
    BEGIN
    apex_application.g_unrecoverable_error := true;
    owa_util.redirect_url('http://www.psoug.org', TRUE);
    END;
    After fired it I had
    404 Not found
    The requested URL /apex/wwv_flow.accept was not found on this server
    when I change On Load it work.
    is it posible to use it On Submit ??
    I'm use Oracle XE and APEX 3.2.1
    Edited by: AndyPol on 2010-06-17 16:24

    Hi,
    I tried your exact code in an On-Demand pl/sql page process on page 0. Currently, it is tied to an HTML button on page 0 which results in request = Go. When I log in to the application and land on page 1, I can see the button on the page in the page 0 section (top).
    Eventually I would like to set a value in a drop down list, also on page 0, then click the "Go" button to be redirected to various internal and external web sites. For the moment I have excluded any use of the values in the drop down and am only testing whether clicking the go button will execute the code you indicated to take me to the psoug.org website. However, no matter how I configure the page process, whether On Submit (any option) or On Demand, clicking it just redirects me to the same page I am on (page 1).
    I am currently using APEX 4.0. The Page process is defined as follows:
    Sequence          0
    Process Point     On Demand: Run this application process when requesyed by a page process.
    Name          Redirect to product page
    Type          PL/SQL Anonymous Block
    Source
    Process Text
         begin
              apex_application.g_unrecoverable_error := true;
              htp.init();
              owa_util.redirect_url('http://www.psoug.org', true);
              end;
    Process Error Message     could not process request
    Conditions
    Condition Type     Request = Expression 1
    Expression 1      Go (Have tried 'Go' and "Go" to no avail)
    Authorization     
    Authorization Scheme     No Authorization Required
    Configuration     No Build Option
    I am fairly new to APEX and I'm sure this is something I am defining incorrectly, but I just can't seem to figure out what it is.
    Any ideas? This is the only thing currently keeping from completing a project so any help would be greatly appreciated.
    Thanks in advance,
    Milo

  • With display type native event is not working in my wd application

    Dear Friends,
    I have few interactive forms created webdynpro components.
    in SFP: formtype: ZCI and inserted the webdynpro script in the layout and interface type is DDIC.
    in Webdynpro: taken IF form UI element and with Enable check box checked(ON) and display type is Native.
    when i run my wd application interactive forms is opening but when i click on button on webdynpro or on enter of input field event is not getting trigger. cursor is showing wait icon and in busymode only.
    if i try with display type as activex it is working fine.
    But i don't want to use type as Activex.
    One more thing initially i have created 2 interative forms with those forms with displya type native is working fine, for new forms only the poblem is coming.
    please let me know how to get rid of this.
    Thanks,
    Mahesh.Gattu

    Hi ganesh,
    i hope you have already followed the process what i mentioned in my question.
    above that some times we are facing this busy mode issues, might be.. there coudl be some problem when we insert the webdynpro script.
    on sfp layout from utilities insert the webdynpro script.
    then sheck the script editor by selecting the data node in hierarchy tab.
    make sur the both event *presave and *formload are filled with some in built script and the language is Java script and Client side.
    then save activate the form and try.
    all the best.
    Thanks,
    mahesh.gattu

Maybe you are looking for

  • Migration assistant (from WIN) problem with emails:

    Hi there I am a new user dealing with my first mackbook pro. For first I have used the migration assistant to trasnfer data from my old win7 pc. For time reason, i have used it in two-three different times. Theproblem now is that when I've tried to t

  • Itunes opens itself at will

    itunes opens itself at will

  • How do i create a high voltage wake-up message?

    I have a NI-CAN/LS2 card. I need a high voltage wake-up Message to get a device working, how do i create one?

  • Setting Default Variant for Report Trans

    Hi All, Is there a way to set a default Variant to a reporting transaction? for example for ME2N how do I set a default Variant to be imported to the selection screen automatically once the report transaction is called? This is useful if the user use

  • I lost my serial number FlashCs5 pro

    I have Flash Cs5 pro for many years. I followed all the procedures for updating and at the time it happened smoothly. However, today, when I try to open the program, a window appears asking me the number of update. I no longer have this number, I los