Calling sign off coomand  from screen button

hi ..i have developed a screen ...in that without using menu bars or status bar ..i need to create buttons and do all the required operations like save ,back,exit,lod off etc ..
i have a scree and have kept a button for exit
inside sy-ucomm i have written leave program..it works fine ..but i have 2nd  screen ...so  i have buttons to  go to second screen so after going to seodnf screen and coming back when i give lave program it goes to the second screen .....what

no i have not done like that ..just see the code..
MODULE USER_COMMAND_0100 INPUT.
  case sy-ucomm.
    when 'SALES' or 'S'.
      call transaction 'ZVA021'.
    when 'PURCHASE' or 'P'.
      call transaction 'ZME28'.
    when 'EXIT'.
leave program.
endcase.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
the first time exit works properly but when i go to secodn screen by calling the transactions only ..it is not working ...again it goes to the aclled transactions...

Similar Messages

  • Calling a transaction launcher from a button

    Hi experts,
    I'm trying to call a navigation launcher from a button.
    So i created a button and the event. In the event i copied the code from class : CL_CRMCMP_N_MAINNAVIGATI0_IMPL / method do_handle_event. (see code below)
    But when this is executed, the system doesn't navigate to the logical link.
    Do you have any idea why ?
    How can i do some troubleshooting ?
    How can i call the transaction launcher ?
    Thanks for your help.
    Regards
    DATA : lr_navigation    TYPE REF TO if_crm_ui_navigation_service,
             lr_entity        TYPE REF TO cl_crm_bol_entity,
             lr_clipboard     TYPE REF TO if_crm_ui_bol_clipboard.
      TRY.
          lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
          lr_navigation->navigate(
            EXPORTING
              iv_link_id         = 'ZMYLOGICAlLINK'
    *          iv_data_collection =     " Business Object Collection Interface
        CATCH cx_root.
      ENDTRY.

    Hi,
    I had the same problem. As workaround I added the logical link to the navigation bar and now the transaction launcher call from the button also works.
    It seems as the logical link has to be used in the navigation bar profile in order to allow for a call from a workspace. It does not really solve your problem if you don't want the call in the navigation bar, but maybe you can live with this.
    Greets,
    Kai Lienemann

  • As I run or called the editor sqlplus from a button?

    Como llamar la ejecucion del editor de sqlplus desde un boton? Que el boton ejecute esto: c:\oracle\app\products\10.2.0\server\BIN\sqlplus.exe
    Message was edited by:
    user647378
    Message was edited by:
    user647378
    Message was edited by:
    user647378

    I used google translate to clarify the question (I hope at least) for the dummies like me (:, who don't speak any Spanish, and this is the result.
    Subject: As editor sqlplus run from a button?
    Message:
    Calling the execution of the editor sqlplus from a button? The button run this: c: \ oracle \ app \ products \ 10.2.0 \ server \ BIN \ sqlplus.exe

  • HT204053 How to sign off icloud from other computers

    How can I be sure that I logged off from all devices?

    If you mean icloud.com, go to icloud.com, click your name at the top and select Account Settings, click Advanced, then click Sign Out of All Browsers.

  • Calling from java buttons in an applet

    ok i made this program here and now i'am tryin to call certain certain classes from each button. i can't figure out how to do that.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class JDemoGridLayout extends JApplet
    JLabel greeting = new JLabel("SAMPLE", JLabel.CENTER);
    Font HeadlineFont = new Font("Helvetica",Font.BOLD, 24);
    private JButton b1 = new JButton ("Button 1");
    private JButton b2 = new JButton ("Button 2");
    private JButton b3 = new JButton ("Button 3");
    private JButton b4 = new JButton ("Button 4");
    private GridLayout layout = new GridLayout(6,6,6,6);
    JLabel personalGreeting = new JLabel("");
    Container con = getContentPane();
    public void init()
      greeting.setFont(HeadlineFont);
    personalGreeting.setFont(HeadlineFont);
    con.add(greeting);
    con.setLayout(new FlowLayout());
    setLayout(layout);
    add(b1);
    add(b2);
    add(b3);
    add(b4);
    }Edited by: javastudent101 on Mar 4, 2009 7:12 AM

    javastudent101 wrote:
    ok i made this program here and now i'am tryin to call certain certain classes from each button. i can't figure out how to do that.You don't call classes from buttons. What you can do is add a java.awt.event.ActionListener to each button. This ActionListener's actionPerformed() method will get called whenever the button is clicked. An example:
    MyActionListener listener = new MyActionListener();
    JButton button = new JButton("Do My Taxes");
    button.setActionCommand("DoTaxes");
    button.addActionListener(listener);
    JButton button2 = new JButton("Take a Shower");
    button2.setActionCommand("TakeShower");
    button2.addActionListener(listener);
    private class MyActionListener implements ActionListener {
       public void actionPerformed(ActionEvent e) {
          String command = e.getActionCommand();
          if ("DoTaxes".equals(command)) {
             // Whatever processing is necessary to do taxes
          else if ("TakeShower".equals(command)) {
             // Whatever it takes to take a shower.
    }See [How to use Buttons|http://java.sun.com/docs/books/tutorial/uiswing/components/button.html] for more information.
    Alternatively, you could use an Action specific to each JButton. Once you understand ActionListeners, it's pretty easy to understand Actions.

  • Why javascript is not able to call signed appet method ?

    I am trying to call signed applet method from JavaScript. The html page run but when try to call applet method by clicking the button it's not performing the required action. I am really stacked there. It's also don't give any error, please anybody could give me few suggestion that why is it so. It will be great help for me.
    Thanking you

    Please put a System.out.println("Here I am") right at the begining of your java method that is supposed to be called from javascript.
    Redo your scenario and post here the contents of the Java console.

  • How to popup a page from a button not in a region position

    Hello.
    I am using Apex 2.2.1. I have a form (not a report) on which I've placed a button that is positioned "among the items" as opposed to being placed in a specific region position.
    When the button is clicked I would like to have another page popup. The problem is that I can get this to work only if the button is placed in a region position. With the button in a region position, I define the target to be a URL and then place a call to the popUp2 function, as in:
    javascript:popUp2('f?p=&APP_ID.:32:&SESSION.::NO:::', 900, 700);
    This works fine.
    However, I need to position my button on the immediate right hand side of a form item. But when I create a button in such a position, I have no field in which to place the call to the popUp2() function. Instead, I have to create a "Branch to Page or URL" and then place my javascript call in the Branch field. Unfortunately, when I click the button, Apex wants to branch to page zero instead of the desired page. I saw that when I move the mouse over the button, Apex shows:
    javascript: doSubmit('MY_BUTTON_REQUEST');
    And, as mentioned, Apex tries to branch to page zero.
    How does one call the popUp2() function from a button that is not placed in a region position?
    Thank you for your help.
    Elie

    Hi Elie,
    I had the same problem ... I only got it solved with creating a hidden item and adding the input-tag into the "Post Element Text" field.
    Just have a look in the source code of your page, how a button is build and copy the necesaary code to the mentioned field. So you get a button with ApEx layout and can add your javascript call.
    chrissy

  • HT4061 my iphone4 has a broken lock screen button. im struggling to turn it on, when i plug it in it keeps restarting showing the apple sign then turning off again. any ideas how to fix this problem?

    my iphone4 has a broken lock screen button. im struggling to turn it on, when i plug it in it keeps restarting showing the apple sign then turning off again. any ideas how to fix this problem?

    That happened to my brother earlier. He went into Facebooand then into another app and the same thing happened. he ended up having to restore it. Mine stayed with the Apple logo for a bit but its back to normal after pressing the buttons a million times. I hope you get your problem sorted. Goodluck!

  • Hi I have a MacBook Pro 2011 i7 and it stays on for about 4 hours then the screen go's fuzzy and I have to turn it off by the power button has anyone had this problem thanks mike

    I Have a MacBook Pro i7 2011 it stays on for about 4 hours then the screen go's all fuzzy and I have to turn it off by the power button has any body else had this problem thanks mike

    My guess would also be a failling connection between your logicboard and your GPU. See 2011 MacBook Pro and Discrete Graphics Card
    For most users it starts with some random crashes and freezes like you describe it. And then it just gets worse and worse. There are still no "good" solutions, sadly. This is a hardware problem from the production.

  • Calling PLSQL Stored Procedure From HTML Form Submit Button

    Hi there,
    I am having a little difficulty with calling a stored procedure using an html form button. Here is the code I have right now...
    HTP.PRINT('<form action=ZWGKERCF.P_confdelete>');
    HTP.PRINT('<input type=''submit'' value='' Yes '' onClick=''document.getElementById("mypopup").style.display="none"''>');
    HTP.PRINT('</form></div>');Here is the issue - I need to find a way to pass variables to this stored procedure so it know what data to operate on. This stored procedure will delete data for a specific database record and I must pass three variables to this procedure to make it work.
    Lets call them class_number, term, conf These three variables will be passed and the data will be deleted and the person will see a confirmation screen once the delete query has been executed.
    So ideally I would want: ZWGKERCF.P_confdelete(class_number, term, conf) and then the stored procedure would handle the rest!
    Seems pretty simple but I am not sure how to make this happen... My thoughts were:
    Pass the data to this html form (the three fields I need) in hidden variables. Then somehow pass these using POST method to the procedure and read using GET?
    Can someone clarify what the best way to do this is? I have a feeling its something small I am missing - but I would really like some expert insight :-)
    Thanks so much in advance!
    - Jeff

    795018 wrote:
    I am having a little difficulty with calling a stored procedure using an html form button. Here is the code I have right now...
    HTP.PRINT('<form action=ZWGKERCF.P_confdelete>');
    HTP.PRINT('<input type=''submit'' value='' Yes '' onClick=''document.getElementById("mypopup").style.display="none"''>');
    HTP.PRINT('</form></div>');Here is the issue - I need to find a way to pass variables to this stored procedure so it know what data to operate on. This stored procedure will delete data for a specific database record and I must pass three variables to this procedure to make it work. The browser generates a POST or a GET for that form action, that includes all the fields defined in that form. Let's say you define HTML text input fields name and surname for the form. The URL generated for that form's submission will be:
    http://../ZWGKERCF.P_confdelete?name=value1&surname=value2The browser therefore submits the values of the form as part of the URL.
    The web server receives this. It sees that the base URL (aka location) is serviced by Oracle's mod_plsql. It passes the URL to this module. This module builds a PL/SQL block and makes the call to Oracle. If we ignore the additional calls it makes (setting up an OWA environment for that Oracle session), this is how the call to Oracle basically looks like:
    begin
      ZWGKERCF.P_confdelete( name=> :value1, surname =>  :value2 );
    end;Thus the PL/SQL web enabled procedure gets all the input fields from the HTML form, via its parameter signature. As you can define parameter values with defaults, you can support variable parameter calls. For example, let's say our procedure also have a birthDate parameter that is default null. The above call will still work (from a HTML form that does not have a date field). And so will the following URL and call that includes a birth date:
    URL:
    http://../ZWGKERCF.P_confdelete?name=value1&surname=value2&birthdate=2000/01/01
    PL/SQL call:
    begin
      ZWGKERCF.P_confdelete( name=> :value1, surname =>  :value2, birthdate => :value3 );
    end;There is also another call method you can use - the flexible 2 parameter interface. In this case the PL/SQL procedure name in the URL is suffixed with an exclamation mark. This instructs the mod_plsql module to put all input field names it received from the web browser into a string array. And put all the values for those fields in another string array. Then it calls your procedure with these arrays as input.
    Your procedure therefore has a fixed parameter signature. Two parameters only. Both are string arrays.
    The advantage of this method is that your procedure can dynamically deal with the web browser's input - any number of fields. The procedure's signature no longer needs to match the HTML form's signature.
    You can also defined RESTful mod_plsql calls to PL/SQL. In which case the call format from the web browser looks different and is handled differently by mod_plsql.
    All this (and more) is detailed in the Oracle manuals dealing with mod_plsql - have a search via http://tahiti.oracle.com (Oracle Documentation Portal) for the relevant manuals for the Oracle version you are using.
    Alternatively, simply download and install Oracle Apex (Application Express). This is a web development and run-time framework and do all the complexities for you - including web state management, optimistic locking, security and so on.

  • Grey screen with message "turn off computer with power button until switch off then press again power button"

    Dear all,
    I'm very hungry with my iMac and my Time Capsule :
    I try for two weeks to restore my iMac without any success...
    I wait 80 hours to finally have the message again and again : "to restart your computer : turn off computer with power button until switch off then press again power button".
    But my iMac do not work !
    Could you help me?

    Hello, that's a kernel panic...
    http://thexlab.com/faqs/kernelpanics.html
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X 10.6 Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • End a call & mute/un-mute from lock screen?

    Is there a way to end a call & mute/un-mute from lock screen?
    I frequently call into meetings from my iPhone and then lock the screen, I don't like having to unlock my phone just to go off mute or end the call..

    iPhones should not lock at all during any length call unless you're using a headset - wired or Bluetooth. In that case,  you should use the mute and end call controls on the headset.
    The only exception to this are phones that were configured by corporate security settings that force the phone to lock after a specified interval regardless if there is a call in progress.  In that case, you only option it to get your IT dept. to reconfigure this setting.

  • Your screen name ***** is now signed into AIM from 2 locations

    IChat keeps popping up this message:
    Your screen name *** is now
    signed into AOL(R) Instant
    Messenger in 2 locations. To sign
    off the other location(s), reply to
    this message with the number 1.
    I do use my iChat account on two computers, but I am never logged in from two machines at the same time. I get this message even if I have iChat running on only one machine.
    It used to happen occasionally and I would just type "1" and that was an end to it for a while. Now it is beginning to happen repeatedly. I type "1" and about 5 minutes later I receive the same message again.
    My screen name in the message is slightly garbled. It has an "(" on the front and the last character is replaced with a smiley. Mean anything?
    The option in iChat preferences "Allow multiple logins for this account" is checked and greyed out. I have another AOL Instant Messenger account which doesn't give me the same problems. This one also has that option checked, but its not greyed out.
    My first worry is that this is a symptom of someone trying to hack my system via iChat? But if not I would like to stop it happening while still being able to use this iChat account from more than one computer (but only one computer at a time)
    If anyone has encountered this problem and knows if it can easily be fixed I'd be grateful.
    Thanks very much

    Specifically using the Logout option on the AIM web pages does in fact log you out.
    It is when you just close the window /tab to the page that their Setting take effect.
    If you are set at "When I quit iChat, Set my Status to Off Line" that will also log you out fully when you Quit iChat.
    There are some Oddities that can cause this without a second location or computer being used. (well not directly).
    Are you doing Internet Sharing from this Mac to another computer or a cell phone ?
    This can cause a sort or Loop via the other computer to the internet and iChat can see the Internet twice. I have also seen this with iChat and an iPhone using Internet sharing. (Instead of being wirelss to the wireless router the person had used the Airport Card to Share the Mac's Internet connection thinking it would lead to better syncing).
    Also are you using the AOL Mail Servers and logging in from Mail (every thirty Minutes) to get your New Mail ?
    Are you using a MIMO routing device as iChat can see these as two or More connection to the Internet.
    DO you have another AIM based Instant Message app ? (AdiumX or ProteusX)
    Do you have an AIM transport set up for a Jabber Buddy List ?
    8:29 PM Wednesday; April 15, 2009

  • Syntax for calling 1000 screen(abap o/p screen) from screen 200.

    Hi all,
    i need to change the SAP program relating to the transaction QA32.i have already changed the program & i added 2 screens in this program by using CALL SCREEN syntax.
    my problem is
    when i execute YQA32 (copy of QA32 with modification) transaction, i am getting the output in the screen 1000.when i double click on any material on that screen (1000), the control will go to screen 200 (CALL SCREEN 200).
      everything is going fine. but in screen 200, i have putted a 'BACK' push button. if i will press 'BACK' on screen 200, it should go to screen 1000 which is normal ABAP output screen(here,the output screen of YQA32).
    if i will put syntax like LEAVE TO SCREEN 1000 OR LEAVE PROGRAM OR LEAVE SCREEN, IT IS NOT WORKING. the control is directly going to program if i will add LEAVE PROGRAM.
    what syntax i need to use to come to screen 1000 from screen 200 in the BACK user command of screen 200.plz suggest.
    Thanks & Regards
    pabitra

    Hi joseph,
    thanks for ur help.The output of QA32 transaction  is comming on the sap standard selection screen '1000'. i am not creating this screen.i just modified sap program relating to transaction QA32 & named it as YQA32.This program is ALV designed.u can check transaction QA32.
      when i will put some data in the selection screen of YQA32 then i will go for execute, then my output comes on screen 1000 which is standard abap screen.i have not created screen 1000. from screen 1000, my control goes to other screen 200 by CALL SCREEN 200 statement.
    so when  i want to back to screen 1000 from screen 200 , i am writting LEAVE TO SCREEN 1000  in the  'BACK' user command of screen 200.but error is comming as screen 1000 does not exist.so plz suggest any syntax for this BACK operation.
    Regards
    pabitra

  • My phone froze so i switched it off using the power button and home. now everytime it switches on, it wont go past the apple screen??

    my phone froze so i switched it off using the power button and home. now everytime it switches on, it wont go past the apple screen??

    Hello 3m4nz4,
    After reviewing your post, I have located an article that can help with your device. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    iOS: Not responding or does not turn on - Apple Support
    Your iPhone, iPad, or iPod touch may occasionally stop responding to buttons, switches, or touchscreen input and may exhibit one or more of these symptoms:
    Does not return to the Home screen after you press the Home button
    Does not wake from sleep after you press the Sleep/Wake button
    Does not turn on (or power on) when you press any button
    Does not start up past Apple logo
    Appears frozen or unresponsive
    Is unable to "Slide to Unlock" or "Slide to Power Off"
    To troubleshoot these symptoms:
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for

  • How to display data in a grid after selecting topic from combo box?

    could someone help me out? i'm displaying a combo box (about 20 items) vertically. when user selects one of these items, i'd like for information regarding that choice to be displayed in my data grid. thanks - Karl from Kansas

  • Moving average price variance in Invoice verification

    Hello, I set in sys that the moving average of price variance will be check in tolerance of x% (lower & upper limit) BUT the system ignore it , when I save an Invoice (MIRO) with price that change the moving average price for more than X% the invoice

  • Why don't the photos display in new library on external drive?

    Power Bk 10.5.8, iPhoto 5.0.4: Because of its size, I created a new iPhoto library on an external drive. iPhoto does see the drive and generates all the names of the albums but no images. All of the pictures are indicated by a generic gray box. Doubl

  • Purchased music problem

    okay so here is my problem. for some reason my itunes just would not open up i kept getting the message, "itunes has encountered an error blah blah blah". i spent weeks trying to get my itunes working again. finally after several installs and uninsta

  • Compressor fails when using FCP "export to Compressor"

    I have a 6-minute long, ProRes422 (HQ) project that I'm trying to export uncompressed.    I'm trying to avoid the typical "Export QuickTime Movie" function because I get awful gamma shift issues.  The colors are washed out and the image just looks li