Exiting from a program

I've created an exit button, but it's not working. Any suggestions? I've tried Java Script and No Action.

Hi there
Exiting is unreliable at best. The best you can do is:
Use the button provided in the playback control
Configure your project to close when finished. Then insert a Button or Click Box that visits the last slide.
Configure a Button or Click Box with some JavaScript to close the window.
If the window is capable of closing, it will close. But there are certain circumstances that may prohibit the closing.
Browser type
Browser version
How the window was opened to begin with
Perform a search of the forums or use Google to locate information on closing windows and you will see more of what I mean.
Cheers... Rick
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks

Similar Messages

  • To seacrh for a user exit from the program

    HI friends,
    i want to search the  user exit which is present in a standard program "RFITEMAP"........so please help me out
    thanks and regards,
    rajeev

    Hi,
    1 ) using the table <b>TSTC</b> find the corresponding tcode for the program.
    2 ) thn goto table<b> TADIR</b> give <i><b>pgmid = 'R3TR' n object = 'PROG' n obj_name = program name</b></i>.  find the development class for the program .
    3 ) in<b> TADIR</b> table give <i><b>pgmid = 'R3TR' and pgmid = 'R3TR' and devclass = devclass u found above</b></i>. u can find out the exits available in the  program.
    For more information also see
    <u><b>  http://www.sap-img.com/ab038.htm</b></u>
    Regards ,
    Viji .

  • EXITING FROM LOOP

    if in a loop iam checkin a condition n if the condition satisfies then which is the best way to exit the loop.

    Hi Sushant,
    Use EXIT in the LOOP after the condition .If u use STOP it will exit from the Program.
    Try this example creating a Program by uncommending EXIT and STOP.
    DATA: t_mara TYPE STANDARD TABLE OF mara.
    DATA: w_mara TYPE mara,
              sum     TYPE i.
    SELECT matnr mtart FROM mara INTO CORRESPONDING FIELDS OF TABLE t_mara
    WHERE mtart EQ 'KMAT' OR mtart EQ 'FERT' OR mtart EQ 'LGUT'.
    sum = 0.
    IF sy-subrc EQ 0.
      SORT t_mara BY mtart.
      LOOP AT t_mara INTO w_mara.
        IF w_mara-mtart EQ 'LGUT'.
          sum = sum + 1.
    EXIT.
          *STOP.
        ENDIF.
      ENDLOOP.
    ENDIF.
    WRITE : sum.
    Reward Points if useful.
    Regards
    Avi...

  • I want to exit SAP logon from my program.

    Hi,
    I want to exit SAP logon from my program.
    Is there a FM that does this?
    (How can I execute '/nex' from my program?)
    How can I do so?
    Thanks.

    Hi Kumar,
    I am working on 4.7ee version.
    I have similar requirement that for one user id we have option to logon multiple times, but now I have to control based on terminal id and SAP session ID, if user logon more than one time from the same terminal, program should read and end the second logon session.
    Please let me know if you have any idea on this regard...
    Thanks in advance....
    Venkat

  • Getting an exit value from a program called thru a shell script

    how do i get the correct exit value always from a program called thru a shell script
    the getExitValue of the process works fine someitmes but not always ...
    Ex: write a pgm which sleeps for 5 secs & returns with exit(100).try to invoke this thru a script & try to run this script from Runtime.getRuntime.exec(..)
    ...the exit value is not same as 100.(it works if the sleep is not given though !!)
    can nebody help??

    ive done that ...see the sample code for ex..
    public void execute()
                   try{
                             Process program=Runtime.getRuntime().exec(cmd);
                             printOutput(program.getInputStream());
                             try
                                  program.waitFor();
                             catch(InterruptedException e)
                                  System.out.println("Command Interrupted: " + e);
              System.out.println("Error status : "+program.exitValue());
                        catch(SecurityException e)
                             System.out.println("Error executing program "+e);
                        catch(IOException e)
                             System.out.println("Error executing program "+e);
    ....

  • EXIT from Program

    Hi
    I have to exit the entire program if an internal table contains 0 records.
    Can I use the EXIT statement for this purpose?
    Like....
    if itab[] is initial.
       exit.
    else.
    endif.

    Hi,
    start-of-selection.
    fill itab.
    if itab[] is initial.
    message ...
    exit.
    endif.
    end-of-selection.
    Regards, Dieter

  • How to Exit from Session by executing program

    How to Exit from Session by executing program

    Hi,
    Try the following
    CALL the function module HLP_MODE_CREATE and pass '/nex' to tcode import parameter.
    Regards,
    Sesh
    Message was edited by: Seshatalpasai Madala

  • Rdf Report Error while running from concurrent program

    hi,
    i have created a RDF Report with the below query created Concurrent Prog exec and Concurrent Prog with the respective parameters
    p_fromsrdate---FND_STANDARD_DATE(ValueSet)
    p_tosrdate---FND_STANDARD_DATE(ValueSet)
    for the report layout i have taken example template working fine from the report console
    SELECT
    incident.Incident_Number as ServiceRequestNumber,
    TO_CHAR (incident.incident_date,'DD-MON-YYYY') as ServiceRequestDate,
    incident.Summary as Summary,
    agenttime.agentname as AgentName,
    to_char(agenttime.agentstarttime,'DD-MM-YYYY HH24:MI') as StartTime,
    to_char(to_date('00:00:00','HH24:MI:SS') +
    (agenttime.endtime-agenttime.agentstarttime), 'HH24:MI') as TimeSpent
    FROM cs_incidents_all_b incident,cs_agenttime_agv agenttime
    WHERE agenttime.incident_id=incident.incident_id
    AND incident.incident_date between to_date(:p_fromsrdate,'DD-MON-YYYY')
    AND to_date(:p_tosrdate,'DD-MON-YYYY');
    Service: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    AGTIMREP module: SR Agent Time Report
    Current system time is 01-AUG-2009 04:46:13
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/20 00:00:00'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 04:46:21 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444878.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 01-AUG-2009 04:46:23
    ---------------------------------------------------------------------------

    hi,
    i have enabled the trace
    Service: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    AGTIMREP module: SR Agent Time Report
    Current system time is 01-AUG-2009 06:25:18
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/07 00:00:00'
    -- Start of Reports Command --
    /home/orasfa/inst/apps/SFA_appsr12/ora/10.1.2/bin/appsrwrun.sh
    P_CONC_REQUEST_ID=4444890
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/07 00:00:00'
    report=/home/orasfa/apps/apps_st/appl/cs/12.0.0/reports/US/AGTIMREP.rdf
    batch=yes
    destype=file
    desname=/home/orasfa/inst/apps/SFA_appsr12/logs/appl/conc/out/o4444890.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    APPLLCSP Environment Variable set to :
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0069: Internal error
    REP-50002: Server is shutting down
    Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 06:26:20 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444890.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 01-AUG-2009 06:26:20
    ---------------------------------------------------------------------------

  • 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 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.

  • Regarding exit from the module pool screen

    h experts,
    i have developed a module pool report in which in the selection screen i have four fields which are mandatory ,when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen ...what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen for this what sud i do plz help me....

    Hi
    keep a button called <b>EXIT</b> on the screen
    Make the function type of that field as <b>E</b>
    in Flow logic write
    PROCESS AFTER INPUT.
    Forced Exit from the transaction from screen
      MODULE exit AT EXIT-COMMAND.
    double click on exit module and
    then in PAI write
    *&      Module  exit  INPUT
    Exit from the Transaction
    MODULE exit INPUT.
      CASE okcode.
        WHEN 'EXIT' OR 'CANCEL'.
          CLEAR okcode.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " exit  INPUT
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Call transaction LM05 from Z program

    Hi,
    I need to call transaction LM05 from a Z program, and when LM05 finishes then continue with the process in Z program. But when i use CALL TRANSACTION 'LM05' the process does not return to program Z, when LM05 finishes,it returns to main screen of 'LM05' but not Z program.
    I change CALL TRANSACTION by SUBMIT zrlmob001 AND RETURN, but it happens the same, because transaction 'LM05' continuosly evaluates the system variable SY-TCODE, and therefore SY-TCODE contains code transaction 'ZXX'.
    it exists a way to call a LM05 transaction from Z program, and then continue in z program after LM05 finishes?
    can i create a user exit screen for transaction LM05 and use the user exit to continue with the process that i wish in Z program after call transaction 'LM05'?
    I'm in SAP version ECC 6.0.
    Thanks in advance
    Alejandro

    Hi,
    I want to share how i resolved this topic:
    I searched for user exit, badi and did'nt find a correct way to solved this issue. Also, i tried to create a screen exit for transaction LM05, but the dynpro 2100 of program SAPLLMOB is used for transaction LM02, LM03, LM05 and for each one show a diferent initial screen, this logic cannot be suplied with my custom screen.
    Finally, how the final option, i used a enhancement implementation to add code in SAP standard program RLMOB001, and the problem was resolved. i am in version SAP ECC6.0, in this version is posible to create enhancement implementation, and for support package and upgrade, SAP will not overwrite your custom code.
    Regards,
    Alejandro.

  • To exit from the while(1) loop

    Hi all ,
    I have a simple question that if in a callback function of a command button, i use a While(bLoop)
    loop , where bLoop is a boolean variable initially set to TRUE, then how can i break or exit from this while Loop by using a control on the front panel  , which exits the while loop by setting     bLoop = FALSE .
    I have tried it but it is not exiting  
    Solved!
    Go to Solution.

    The problem here is that CVI normally only executes one callback at a time. While you are in one control callback, no GUI processing and subsequent calls to other callbacks normally occurs.
    You can try the following approach - but it is not really the best method:
        while (b_loop) {              // Inside a callback
            ...                       // Perform your tight program loop
            ProcessSystemEvents ();   // Force CVI to see if any GUI controls need servicing
    If you have a different control callback to clear the global b_loop, this quick-and-dirty approach might work for you.
    You should only use this technique for very simple programs - it can rapidly spiral out of control and end up in a mess if you're not careful. NI recommends that you do not use ProcessSystemEvents() inside a control callback.
    JR

  • 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.

  • Exit from loop by user

    Hi every body
    i have a procedure that execute a loop.What i want that to allow user to exit from loop before it finished(by using keyboard), i do that by pressing ctrl+alt+del which end the program it self.

    One could try putting the call to the procedure in a loop on the front end. Then check within the loop (in the front end ) whether the user has pressed a pre-defined button. If pressed, one could disconnect the connection or take some similar action that would stop processing the call to the stored procedure.
    May be something like this is workable ... ?
    Narayan.
    null

Maybe you are looking for

  • BT stack disappears after restart.

    In a Portege M200 I downloaded the toshiba BT stack last version (3.10). Everything is ok during installation. BT devices are working properly (at least the headset). When I Power on again the pc, all BT stack files disappear(seems correctly unistall

  • Error for adobe flash player

    dear Adobe staff, i correctly downloaded adobe flash player 11, after formatting my pc but i have a problem. youtube website correctly works but megavideo won't go giving the following error message: you need a newer flash player version to use this

  • Connect fios cable to pc.

    How do i connect fios cable to my pc and use the signal with Windows Media center. I have connected the fios cable directly to the back of my pc. (RF in) When I try to set up tv in Windows Media center it cannot find the tv signal. Is there another p

  • MDM Server on Linux, Console on Windows - status is "stopped"

    We installed MDM (SRM-MDM) on a Linux systems with MaxDB. The server itself seems to run fine: Starting:  - Thu Dec  4 12:47:52 CET 2008 Linux mdmtest 2.6.16.60-0.33-xen #1 SMP Fri Oct 31 14:24:07 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux core file siz

  • System is showing 7 leading zeros in assignment field

    Hi,   I have posted one document through F-29 and  in assignment field i have assigned cheque number which is a six digit number and then i run FF68 (Edit check deposit list), when i save that document system creates one accounting document but autom