How to submit a page and return back to originating page?

I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
Thanks,
Surya

I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
Thanks,
Surya

Similar Messages

  • R12.2.4 Data lost after using Dialog Page and return back to calling page.(Help Please! )

    Hi Team,
    I am new to OAF and is working on a requirement to add some custom validations when the user clicks on a Button in a standard seeded page.
    The approach I took was to Extend the seeded Controller object that handled this button press event and put my custom logic in the extended controller and override the standard controller via personalization.
    The standard flow was that upon pressing the Complete Button in Page A ,user was taken to the next seeded page (Page B) to perform certain operations based on the records that were selected in Page A.
    Part of the custom validation requirement was that if certain validations were not met then the user needs to be shown a Pop-up asking if they really wanted to proceed and if they selected Yes then continue with the standard seeded flow(move to page B)  and if they selected NO then just stay on the current page.
    I was able to use OADialogPage and do this partially , the issue I am running into is that once the user selects the one or more records  using a check box from a multi-record (table) region and hits the Complete Button on page A and if the validation fails then a modal page is shown and the user makes a selection i.e.either Yes or No from the modal page and when they return to calling page (i.e. Page A) , All the Data (records ) that they selected previously is lost (Page is refreshed). Based on what I see on this forum I suspect that it is because after clicking on Yes on the modal page and while returning to the original page the processRequest fires again and VO data is queried again and all selections on the page A are lost. Since I am trying to alter the flow in seeded pages based on user intervention I am kind of lost as to how this issue can be fixed. i.e. either prevent the page refresh or preserve the selections that were made prior to navigating to the modal page. Any Help is truly appreciated !!
    My Code :
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if (oapagecontext.getParameter("completeOps") != null) {
    if (warnCount > 0) {
      //OAException message = new OAException("Not in Sequence...", OAException.WARNING);
      //oapagecontext.putDialogMessage(message);
      OAException message = new OAException("Rule XYZ Violated .Do you want continue ?",OAException.WARNING);
      OADialogPage dialogPage = new OADialogPage(OAException.WARNING, message, null, "","");
      String yes = oapagecontext.getMessage("AK", "FWK_TBX_T_YES", null);
      String no = oapagecontext.getMessage("AK", "FWK_TBX_T_NO", null);
      dialogPage.setOkButtonItemName("ConYesButton");
      dialogPage.setNoButtonItemName("ConNoButton");
      dialogPage.setOkButtonToPost(true);
      dialogPage.setNoButtonToPost(true);
      dialogPage.setPostToCallingPage(true);
      dialogPage.setOkButtonLabel(yes);
      dialogPage.setNoButtonLabel(no);
      oapagecontext.redirectToDialogPage(dialogPage);
    if (oapagecontext.getParameter("ConYesButton") != null)   {
              // Write Action code for Yes Button
              oapagecontext.putParameter("completeOps", "Continue");
    if (oapagecontext.getParameter("ConNoButton") != null){
                // Write Action code for No Button
                String errormsg = "Rule Violations have occured ";
                throw new OAException(errormsg);
       super.processFormRequest(oapagecontext, oawebbean);

    I was able to work around this issue by adding a simple check in the processRequest method of my extended Controller to prevent the call to super.processRequest incase when the control returns to the page after the user has made a selection in the Dialog Page
    if((oapagecontext.getParameter("ConYesButton") == null) && (oapagecontext.getParameter("ConNoButton") == null)) {
      super.processRequest(oapagecontext, oawebbean);
    Thanks !

  • How to submit a report and return a table?

    Sumbit RVKRED01 and return .
    then how to get table value from report RVKRED01 ???

    Follow the below example:
    SUBMIT rashsd14
                          WITH vbeln IN l_rsdsselopt
                          WITH dbasar = c_x
                          EXPORTING LIST TO MEMORY AND RETURN.
    *Getting the list from memory
                          REFRESH t_tab1.
                          CALL FUNCTION 'LIST_FROM_MEMORY'
                            TABLES
                              listobject = t_tab1
                            EXCEPTIONS
                              not_found  = 1.
                          IF sy-subrc <> 0.
                          ENDIF.
    *Converting to ASCII
                          REFRESH t_tab2.
                          CALL FUNCTION 'LIST_TO_ASCI'
                            TABLES
                              listasci           = t_tab2
                              listobject         = t_tab1
                            EXCEPTIONS
                              empty_list         = 1
                              list_index_invalid = 2.
                          IF sy-subrc <> 0.
                            WRITE: / 'LIST_TO_ASCI error'(098).
                          ENDIF.
                          IF t_tab2 IS NOT INITIAL.
                            DELETE t_tab2 INDEX 1.
                            DELETE t_tab2 INDEX 1.
                            DELETE t_tab2 INDEX 1.
                            DESCRIBE TABLE t_tab2 LINES g_tabix.
                            DELETE t_tab2 INDEX g_tabix.
                          ENDIF.
                          REFRESH t_vbka1.
                          IF t_tab2 IS NOT INITIAL.
                            LOOP AT t_tab2 INTO wa_tab2.
                              CLEAR wa_vbka-vbeln.
                              REPLACE ALL OCCURRENCES OF '|' IN wa_tab2-vbeln WITH space.
                              CONDENSE wa_tab2-vbeln.
                              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                EXPORTING
                                  input  = wa_tab2-vbeln
                                IMPORTING
                                  output = wa_vbka-vbeln.
                             wa_vbka-vbeln = wa_tab2-vbeln.
                              APPEND wa_vbka TO t_vbka1.
                            ENDLOOP.
                            SORT t_vbka1 BY vbeln.
                          ENDIF.

  • How To call a Tcode From a Program and returning back ?

    Dear All,
    I have a requirement, i have to show all the open orders as in the the tcode va05  and return back to the my program. so how to display the tcode and getting back to my program. please help?

    Hi,
    Basic syntax to call the transaction is:
    SET PARAMETER ID <id name> FIELD <filedname>.
    CALL TRANSACTION <TCOde> AND SKIP FIRST SCREEN.
    If your are using ALV then snippet is :
    FORM user_command  USING okcode    LIKE sy-ucomm
                           lselfield TYPE slis_selfield.
      CASE okcode.
        WHEN '&IC1'. " SAP standard code for double-clicking
          CASE lselfield-sel_tab_field."check if double click is only on
            WHEN 'ITAB-AUFNR'."aufnr not on any other field
              SET PARAMETER ID 'ANR' FIELD lselfield-value.
              CALL TRANSACTION 'IW32' AND SKIP FIRST SCREEN.
          ENDCASE.
      ENDCASE.
    Endform.
    Pooja

  • HT1430 How do I change page and get back to app store homepage?

    How do I change page and get back to app store homepage?

    Reset your homepage. <br />
    http://support.mozilla.com/en-US/kb/How+to+set+the+home+page

  • My I pad 1 sometimes while watching working switches off and go back to home page ... Why ? Also I need to know how I can upload my photos and pictures from laptop to my I pad.  I tried thru I tunes but not work.

    My I pad 1 sometimes while watching working switches off and go back to home page ... Why ? Also I need to know how I can upload my photos and pictures from laptop to my I pad.  I tried thru I tunes but not work.

    Satmar wrote:
    My I pad 1 sometimes while watching working switches off and go back to home page ...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...
    Satmar wrote:
    Also I need to know how I can upload my photos and pictures from laptop to my I pad.
    See Syncing photos to devices
    Here  >  http://support.apple.com/kb/HT4236

  • My iPad closes apps and returns to the main page

    This has just started in tha last two weeks.  it's really bad in mail when I get half way through a email message to send out the app closes and returns to the main page. It does'nt save a draft at that point either?

    Lots of things can be causing this but I'll cover two of the more frequent causes. Let's start by having you restart your device: hold the power button in the top right until the red slider appears. Slide it to the left and let it power off. When the screen is black, wait approximately 5 seconds, then hold the power button on.
    When the machine boots up, your apps will have closed freeing up lots of memory; alternatively, you can force close apps, by double clicking the Home button and holding your finger on an App until the minus signs appear; click the minus sign. If your apps were quitting due to lack of memory, this will have fixed the issue.
    However, if the issue is still occuring, my next bet would be a failed update (iOS, App, etc). If you have a recent backup, Restore to that backup, otherwise you'll be doing a factory restore (or restoring like new). You can find directions on how to do both below:
    How to Restore from Backup: http://support.apple.com/kb/HT1414
    Reset as New: http://support.apple.com/kb/HT4137
    I wouldn't recommend backing it up at this point as its likely corrupt.

  • How do I "unshare" screen and go back to video chatting?

    I was on a video chat with my daughter and started screen sharing to help solve a problem she was having. During screen sharing we could still talk back and forth so it was great.
    However, when I'd finished using her computer I wanted to end screen sharing and go back to the video chat. I couldn't figure out how to do that without ending our chat session completely.
    Anyone know how to end screen sharing and return to the video chat without having to start a new video chat?

    It seems that Screen sharing effectively kills any video chat.
    The Audio with the Screen sharing is a feature of the Screen Sharing and not the Video chat.
    Effectively you ended the Video chat and have to start again.
    9:21 PM Monday; November 12, 2007

  • HT3384 How do I change margins and header footers on a pages document?

    Hi can anyone help me on how do I change margins and header / footers on a pages document?
    Many thanks

    Oddly, when one enters text that is a paragraph string longer than the width of the the page, the text doesn't wrap. There seems to be something a bit wonky with the margins, but perhaps it's something else. I fiddled with styles to see if I could control it, but to no avail. I'm giving up and boing back to '09. Each time I think I'll switch to iWork 5, I encounter some other restrictive feature that sends me scurrying back to '09.

  • TS1702 Why My iPhone 4s close most of my apps when i opened them immediately and return back to home screen

    Why My iPhone 4s close most of my apps when i opened them immediately and return back to home screen ?
    What is the problem and how can i fix it ?

    Download a free app and see if that helps, you can delete the app later if you do not want it.

  • I have just updated my iPad to IOS 8.1.3 when I now try to open the emails nothing comes up and then the app crashes and returns to the home page. What should I do?

    I have just updated my iPad to IOS 8.1.3 when I now try to open the emails nothing comes up and then the app crashes and returns to the home page. What should I do?

    Since yesterday morning about 11:00 I have been having TERRIBLE email problems on this iPad 3G. Email comes in (I hear the sound) but nothing displays -- no folders, no content, no nothing in e-mail. The blank email screen shows up and then disappears after about 10 seconds, taking me back to the Home Screen.
    Right now, the only way I can see email on this device is to log onto AOL via the AOL app.
    I have been doing a lot of online reading about the problem. It has to do with iOS 8.1.3 and it affects older iPads and iPhones. I'm having no problems on my iPod touch, which -- fortunately -- is so old it cannot update its iOS 6.
    I waited to update the iOS on this iPad until iOS 8 was "mature." That was about 2 weeks ago.
    Anybody know know if Apple is aware? working on a solution?

  • How do I change font and colors back to default?

    I have changed the font and color of the text through the tools button and the options button and the content tab. I find nothing telling me how to change the font and colors back to default font and colors. Can you advise me? I'm using Windows 7 Home Premium OS. Thanks.

    Hi Brenda19605,
    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a&s=font&r=0&as=s
    The default settings for the font are in this article:
    https://support.mozilla.org/en-US/kb/Some%20text%20shows%20up%20bold%20after%20upgrade
    Unfortunately for the default colors has no good reference. But for text it is black (most lower left) color, background is white (most upper left color). Unvisited links is blue (column 8, row 5) and visited link is purple (column 9, row 5).
    Let me know if you need anymore help!
    Lordfreak

  • Since installing 4.0.1 I can't right click on the Icon in my task bar and have Firefox give me the option of "close and save" the tabs. Only let's me know I'm about to close multiple tabs. How do I get "save and close" back?

    Before installing 4.0.1 I could right click on the Firefox icon on my computer's taskbar and hit close window. It would then give me the option to "save tabs and quit" or "close all tabs."
    Now it just alerts me that I'll be closing multiple tabs.
    It was convenient to be able to close Firefox and open it with all of the tabs in place. There is nothing more irritating than having multiple tabs lost because your computer did an update overnight and restarted. Also it was helpful when you wanted to run a tun-up or cleaner that asked you close out of your browser for optimum result's.
    How do I get "save and quit" back?
    Thanks

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • How do I re-open and get back into my iPhoto if this message appears: "Your photo library is either in use by another application or has become unreadable"? What do I do?

    How do I re-open and get back into my iPhoto if this message appears: "Your photo library is either in use by another application or has become unreadable"? What do I do?

    Rebuild your iPhoto Library:
    iPhoto 6 and later: Rebuilding the iPhoto library

  • How do I type Hebrew and English on the same page

    How do I type Hebrew and English on the same page in Indesign?

    What version of InDesign are you using? And on what operating system? Switching keyboard ("input methods") is in your OS, not in InDesign. InDesign has had the capability to display right-to-left languages since CS4, but only the Middle East edition has the abilities to actually manipulate Hebrew text. If you're trying to do a bilingual, bidirectional document, you'll need the ME edition. If you are a CC subscriber, it comes with your subscription; if you are not, you'll need to buy another version of ID, or a plugin that will allow you to access those RTL features.

Maybe you are looking for

  • Can not open PDF's in Safari

    Hi All: I know this has been asked and answered so many time that I am sorry to post again. However, I have read many of the prior posts, tired the fixes, and still the problem persists. All of a sudden, without any erxplanation I know of, PDF links

  • Report Engine getSQLContainer() intermittently fail when trying to pull SQL

    Hi, I am using the following code to open up and extract SQL statements from my webI reports.  The code works fine for nearly all our reports, but for some reports the sqlDataProvider.getSQLContainer() line does not pull the SQLContainer, which resul

  • Boot TIme question

    Can anyone report on what the approximate boot time should be for a Mac Pro 2.66 with a fresh OS install (no other apps to start up)? My new Mac Pro waits for approximately 50 seconds between the startup 'bong' and the Apple icon appearing (blank gra

  • Kdelibs says its not installed... ???

    Okay, so when I upgraded to KDE 3.4 via pacman, I noticed a new bug that had never been an issue before.. KDE isn't binding with QT for compiling software.. I read about the problem possibly being QT and kdelibs being compiled with different compiler

  • Managed Oracle Provider - IndexOutOfBoundsException on insert into table(id,c) values(nextval, 'r') returning id

    I'm using NHibernate on a project on which we want to use the Managed Oracle Provider but the provider throws an error on what looks to be an adequate SQL statement. Here is how you can reproduce it: -- tested on Oracle Database 11g Enterprise Editio