Exit from Dynpro using OO

Dear Gurus ,
I made a screen that has a ALV list that is made using OO.
When i press '&F03' (back) it doesn't return at the selection criteria at the first hit of '&F03' but at the third hit .
Look my code below ...
MODULE USER_COMMAND_0100 INPUT.
  SAVE_OK = OK_CODE.
  CLEAR OK_CODE.
  CASE SAVE_OK.
    WHEN '&F03'.
       SET SCREEN 0.
       LEAVE SCREEN.
   ENDCASE.
  CLEAR SAVE_OK.
  CLEAR OK_CODE.

Hi,
Try like this
MODULE USER_COMMAND_0100 INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK.
WHEN '&F03'.
LEAVE TO SCREEN 0.
ENDCASE.
CLEAR SAVE_OK.
CLEAR OK_CODE.

Similar Messages

  • How to clear memory in MVC when exiting from application using BACK ?

    Hi Friends ,
                I am using the JavaScript back function to exit from my application to the calling page . My BSP application is stateful and MVC based . I am calling my application using the SYSTEM application sample pages for session management - session_single_frame.htm & session_default_frame.htm .
    I am observing that if i run my application in Portal whenever i hit back ..i do return to the calling page but again if i come to my BSP application the old data is seen . If i do the testing outside portal environs it is cleared ..i believe as the session close popup is seen and executes completely .But within portal as the popups are not enabled may be the session clean up is not happening .
    How can I overcome the situation . i dont want to exit as i want the user a way to go back to the calling page directly .
    Appreciate your help in advance.

    it could be because of the caching property of the BSP iview.
    set "Allow Client-Side Caching" of BSP iview to "NO" and try.
    Regards
    Raja

  • Apply user exit from dynpro to web dynrpro

    If I have a user exit developed by my company and they’re running in Dynpro environment (coded in ABAP). What would I need doing to apply this user exit to web Dynpro?
    The SAP instructor said that only need: - click in a button to compile to WEB.
    I’m not sure! The java script needed, or the request response needed will be created automatically.
    Anyone can explain me?
    - What must be done to run a program in Dynpro (as a windows forms application) and web Dynpro (web application)?
    - What are codes done twice? The view (user interface) code, I need doing in ABAP (Dynpro environment) and other time in Java (Web Dynpro to run by portal)?
    - And about the controllers and models code?
    - Can I use any model code developed in Java by ABAP, like a POJO or OJB or EJB?
    I accept related source links or unrelated…
    I’m learning SAP, this is a user questions.
    Thanks a lot.

    My company is in the SAP adopting process.
    We’re analyzing the necessities of ours GAPs, nowadays we have a lot of systems (more than 500) and the BAAN ERP.
    We want use all SAP by Portal, it’s a technical requirement. Then I’d like knowing the possibilities of developments that we can choose. To each possibility, I think that it’d have different patterns and source codes. About it I’d like to know more…
    What’re the limitations of the ABAP Web Dynpro?
    The new developments of the SAP are using Java Web Dynpro or ABAP Web Dynpro? ABAP can be in obsolete status in any time?
    How about de productivity, comparing ABAP and Java Web Dynpro?
    Thanks.

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

  • Accessing the Logon User Exit from the Internet using an ITS Service

    I can access the Logon User Exit (EXIT_SAPLSUSF_001) from R/3, but not from the Web using an ITS service. What am I missing in order to access the Logon User Exit from the Web. The ITS service was created from an ABAP screen program.
    Thanks
    david yee

    The SAPGui logon exit is called after successfull authentication has been completed and after a SAPGui session has been attached.
    If you logon via RFC, WebGui, ICM or the Wgate then this exit does not trigger.
    What are you wanting to add to your code after the logon ?
    An solution I have used is to create a wrapper RFC for a BAPI and create a webservice for the wrapper. Before calling the BAPI you can do whatever you want to from a security perspective.
    But for that you need to have an appropriate BAPI...
    Please explain what you want to do and what you would have wanted in the exit. Often there is a better way.
    Cheers,
    Julius
    ps: I moved this to the security forum.

  • Acrobat 9.2 crash after exit from Acrobat

    I have a plugin for Acrobat 8.0 and re-compiled for Acrobat 9.0 using the 9.0 SDK.  It works fine except when I exit from Acrobat, Acrobat always crash in any of the Acrobat Pro 9.x versions. The crash log always show the same place.  It does not matter if I disable or enable the update. Always the same place to crash. Does anyone have any ideas?
    Process:         AdobeAcrobat [29144]
    Path:            /Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/AdobeAcrobat
    Identifier:      com.adobe.Acrobat.Pro
    Version:         9.2.0 (9.2.0)
    Code Type:       X86 (Native)
    Parent Process:  launchd [119]
    Interval Since Last Report:          668 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  24 sec
    Per-App Crashes Since Last Report:   1
    Date/Time:       2009-10-14 15:10:00.939 -0400
    OS Version:      Mac OS X 10.5.8 (9L30)
    Report Version:  6
    Anonymous UUID:  F9997425-181F-4A46-8222-B1BAA9558760
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000015fffcc1
    Crashed Thread:  18
    Thread 0:
    0   dyld                              0x8fe1764c ImageLoaderMachO::doBindLazySymbol(unsigned long*, ImageLoader::LinkContext const&) + 300
    1   dyld                              0x8fe06ed5 dyld::bindLazySymbol(mach_header const*, unsigned long*) + 149
    2   dyld                              0x8fe18c2f stub_binding_helper_interface2 + 21
    3   ...adobe.acrobat.amtlibwrapper    0x188c42e2 0x1883b000 + 561890
    4   ...adobe.acrobat.amtlibwrapper    0x188c4343 0x1883b000 + 561987
    5   ...adobe.acrobat.amtlibwrapper    0x18851355 AVAMTForegroundUpdateCheckEnabled + 84063
    6   ...adobe.acrobat.amtlibwrapper    0x18843989 AVAMTForegroundUpdateCheckEnabled + 28307
    7   ...adobe.acrobat.amtlibwrapper    0x1883cc26 AVAMTForegroundUpdateCheckEnabled + 304
    8   com.adobe.Acrobat.framework       0x803d4a07 AcroSecurityBailOutImpl + 2997119
    9   com.adobe.Acrobat.framework       0x803d4a79 AcroSecurityBailOutImpl + 2997233
    10  com.adobe.Acrobat.framework       0x800ffc97 AcroSecurityBailOutImpl + 28175
    11  com.adobe.Acrobat.framework       0x8038cb91 AcroSecurityBailOutImpl + 2702601
    12  com.adobe.Acrobat.framework       0x8007ff72 AcroBundleThreadQuitProc + 3096
    13  com.adobe.Acrobat.framework       0x7fe43320 RunAcrobat + 326
    14  com.adobe.Acrobat.Pro             0x00002e8b start + 2371
    15  com.adobe.Acrobat.Pro             0x0000264a start + 258
    16  com.adobe.Acrobat.Pro             0x00002571 start + 41

    iPhoto is missing bits of itself. You need to reinstall it.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • User Exit to be used in Substitution

    Hello,
    We have recently got an requirement from one of the clients as they want to copy the material description to the GL text field (against Doc Type WA & WE) . I am able to find that this can be achieved by way of creating substitution, but I wander which user exit to be used for this purpose.
    Its been my experience that when ever a question of user exit arise I go blank as which user exit to be used, where will I get all this information with clear update motioning the purpose or use of each SAP delivered user exit.
    I have tried goggling it out but I was not able to find much use full  stuff. Please share your expertise.
    Thanks a ton in advance,
    Regards,
    Shilpa

    Hi Shilpa,
    there is no hard code rule to use the specific user exit for substitutions, attached screen shots will help you to resolve the issue.
    Step 1: Go to the t.code: OKC9, specify the controlling area and event 0001.
    Step 2 :  Create the substitution and select the step (attachment 1)
    Step 3: below mentioned screen shot specify the any existing user exit (naming conversion starts with U) by F4 option and double click on the particular exit
    Step 4: you can see the Report ZGGBS800, here you can create the user exit next free number starts with U naming conversion, once it's created the replace the existing user exit in the substitution rule.
    Hope this will help you to understand the user exit process in substitution rule.
    Note: Only substitution rules there is no hand code rule for user exit, for other transactions we need to check the SAP delivered exits.
    Make sure that substitution rule must be activated once exit created
    Thanks & Regards
    Srinu

  • Need to know which exit to be used in me21

    Hi Guys,
    i want to know which user exit to be used in me21 so that
    if the PO has a delivery address that is outside the US; then the tax code should be EX and the tax jurisdiction code should be 7777777770.
    i had found lots of user exits in me21 but i want to know which one will fullfill my requirement.
    i am waiting for ur replys,
    regards,
    maqsood

    by seeing the short description, u need to know which exit is suitable, its just a trial and error method.
    the requirement u r telling seems to be like field exit.
    u need to take help from basis guy to register first.
    then the procedure to create field exit can be seen in below :
    http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
    http://www.sappoint.com/abap/userexit.pdf

  • Calling a Report Program In Web Dynpro Using Submit statment

    Hi all,
             Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
    Field symbol has not yet been assigned.
    The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: CHECKBOX_OUT of program SAPLKKBL
    Form: GEN_LINE_OUT of program SAPLKKBL
    Form: DATA_OUT_SIMPLE of program SAPLKKBL
    Form: LIST_OUTPUT_NEW of program SAPLKKBL
    Form: FIRST_LIST_DISPLAY of program SAPLKKBL
    Module: LIST_DISPLAY of program SAPLKKBL
    Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
    Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
    Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
    Form: PBO of program SAPLSLVC_FULLSCREEN
    Edited by: VINMANO on Jul 22, 2009 2:54 PM

    HI,
    Its possible to call report program from Web dunpro...
    chk out dis link,
    calling report(se38) in webdynpro abap
    By the way are using field symbol anywhere and left it unassigned?
    Thanks,
    Divya.S

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • Automatically exit from fullscreen mode when silveright player section or any buttom from control strip click in fullscreen mode.

    I have implement an full screen functionality using javascript fullscript api to show page contain in full screen mode and that page have three type of content
    a.)smf player xap
    b.)dfp ads
    c.)social media plugin
    that full screen functionality is work perfectly in chrome browser but when I use the mozila browser it create problem during fullscreen mode when any user click on any area of smf player.
    For example if i click on fulls screen button that page easily open in full screen mode but if user click on any part contain by the xap contain it automatically exit from full screen mode like if any user click on play button during full scree mode it automatically exit from full screen.

    In order to uninstall a possibly unwanted extension, please do the following:
    #From the Firefox window click the Firefox button at the top left and select ''Add-ons'', or, if the Firefox button is not shown, click the ''Tools'' menu and click ''Add-ons''.
    #Once the Add-on Manager has opened in a new tab, click the ''Extensions'' button on the left side of the window.
    #You should now see a list of your installed extensions on the right side together with buttons on the right side of each extension.
    #To remove an extension from Firefox, simply click the ''Remove'' button. You should see a message that informs you about the successful removal of the add-on.
    #Note that some add-ons require a Firefox restart to be removed completely. To perform a Firefox restart after the add-on removal, click the ''Restart now'' link in the message.
    You can find further information about uninstalling extensions in the following articles:
    [[Disable or remove Add-ons]]
    [[Remove a toolbar that has taken over your Firefox search or home page]]

  • How to exit from SQL PlUS

    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true? If yes could u pls suggest me how to shutdown from user "SYSTEM/manager". Bcoz with this am warned that I dont have previleges.

    Hello,
    HI,I came to know that direct exit from SQL Plus without Oracle shutdown causes future issues of ORA-0600 kind of errors. Is it true?The ORA-00600 is an internal error it can be caused for instance by a Bug, a corruption, ... , and if someday you experience this kind of error, you should open a Service Request to My Oracle Support.
    However, I've never heard that exiting sqlplus could cause this kind of error. Where did you get such information ?
    how to shutdown from user "SYSTEM/manager". To shutdown the database you should be connected with the User SYS (as SYSDBA). You may use the following statement:
    sqlplus /nolog
    connect / as sysdba
    shutdown immediate;
    exitHope this help.
    Best regards,
    Jean-Valentin

  • Exiting from a function module.

    Hi,
    I have a function module in which i am extracting output message from NAST based on vbeln.
    I record is not found, then i am updating return table with error message using 'MESSAGE_TEXT_BUILD'.
    Now i have to exit from the function module as my select statement is unsuccessful.
    how do you do this?
    can i use subroutines in a function module?
    thanks,
    Sandeep

    Hi Sandeep,
    You can use EXIT statement to exit out of the FM.
    Yes, you can use sub-routines in Function Module. If you are using EXIT inside a sub-routine, the program control will come out of sub-routine and not the FM> So if it is inside a sub-routine, return sy-subrc value as a parameter of the sub-routine. Outside the sub-routine, check the value and use EXIT statement accordingly.
    Best Regards,
    Ram.

  • How to Export data from webdynpro using Jecxcel

    Hi ,
    Can anyone help me how to export data from web dynpro using Jexcel. kindly send me the related links.
    Thanks

    Hi Sandeep,
    Have you refered in the blogs?
    U can find may more document related to this.the below blog helps u in
    Exporting Data from Web Dynpro in Different Formats Using Open Source (POI, JExcel, iText) APIu2019s.
    https://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b
    Regards
    Supraja

  • How to exit from an update Function Module

    Hi Friends,
    I am using an Update Function Module in my program.The Program also has various other logics implemented in it. The Update Function Module gets triggered only when it finds COMMIT WORK statement. Now, I want that when the FM gets triggered and inside it, sy-subrc <> 0 at any stage, it should exit the complete processing and come to my main screen.
    I tried to use Exit, STOP commands in the FM, but they only make the processing to exit from the FM.
    Please suggest what shud I do.
    Helpful suggestions will be surely rewarded.
    Thanks in advance.
    Regards,
    Himanshu

    hi hemansu,
    after coming out from function module check value of sy-subrc
    and
    if sy-subrc ne 0
      exit.  or leave to screen 0 [module pool progarm] or stop.
    endif.
    if helpful reward some points.
    with regards,
    suresh babu aluri.

Maybe you are looking for

  • IPad keeps closing or kicking me out

    When using safari or even on app store browsing apps. The iPad suddenly closes. It's been happening for 2 weeks. Could it be a virus

  • Which email service do you recommend for macbook pro?

    which email service do you recommend for macbook pro?  we have an HP desktop with Windows Mail that is sync'd  to laptop Mail currently.

  • ITunes report missing msvcr80.dll

    iTunes report msvcr80.dll not found and cannot start. Could anyone help?

  • How to receive RFC calls exceptions

    Hi, My english is bad, sorry. I have a RFC call to access data from a NIF. In the function that performs the 'select' I have created an exception if the NIF does not exist, is called 'NO_DATA'. How I recibe this exception in Web Dynpro? Thanks, Regar

  • Adobe form with sqlserver 2008

    I had create an Interactive form to show data form Sqlser 2008 using sql server native client 10.0. I want it show all data form database but it only show first record, Any one help me ? My query : select * from Item Adobe form : Subform : page1