Push buttons are not triggering on the selection screen

selection-screen begin of block a with frame title text-001.
selection-screen skip.
parameters:z like vbap-vbeln.
selection-screen skip.
selection-screen begin of block b with frame title text-002.
selection-screen skip.
parameters:sales radiobutton  group g default 'X',
           trans radiobutton  group g.
selection-screen end of block b.
selection-screen skip.
selection-screen pushbutton 10(12) pu_text  user-command CANC.
selection-screen pushbutton 30(12) qu_text  user-command STAT.
selection-screen end of block a.
Initialization.
pu_text = 'Cancel Order'.
  qu_text = 'Status'.
TABLES SSCRFIELDS.
AT SELECTION-SCREEN.
CASE SSCRFIELDS.
WHEN 'CANC'.
WRITE 'CANCEL'.
WHEN 'STAT'.
WRITE 'STATUS'.
ENDCASE.

hi,
in your program declare SSCRFIELDS table before defining selection-screen with push-buttons.
To create a pushbutton on the selection screen, you use:
<b>SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
                            USER-COMMAND <ucom> [MODIF ID <key>].</b>
The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
<b>follow this sample program.</b>
REPORT DEMO.
TABLES SSCRFIELDS.
DATA FLAG.
SELECTION-SCREEN:
  BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
    BEGIN OF LINE,
      PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
      PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
    END OF LINE,
    BEGIN OF LINE,
      PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
      PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
    END OF LINE,
  END OF SCREEN 500.
AT SELECTION-SCREEN.
  CASE SSCRFIELDS.
    WHEN 'CLI1'.
      FLAG = '1'.
    WHEN 'CLI2'.
      FLAG = '2'.
    WHEN 'CLI3'.
      FLAG = '3'.
    WHEN 'CLI4'.
      FLAG = '4'.
  ENDCASE.
START-OF-SELECTION.
  TIT  = 'Four Buttons'.
  BUT1 = 'Button 1'.
  BUT3 = 'Button 3'.
  CALL SELECTION-SCREEN 500 STARTING AT 10 10.
  CASE FLAG.
    WHEN '1'.
      WRITE / 'Button 1 was clicked'.
    WHEN '2'.
      WRITE / 'Button 2 was clicked'.
    WHEN '3'.
      WRITE / 'Button 3 was clicked'.
    WHEN '4'.
      WRITE / 'Button 4 was clicked'.
    WHEN OTHERS.
      WRITE / 'No Button was clicked'.
  ENDCASE.
regards,
Ashok Reddy

Similar Messages

  • IOS 5 - Notification are not showing in the lock screen knowing that the option view in lock screen is active ?

    Hi ,
    After Upgade my  iphone4 to ios 5 ,  Notifications are not showing in the lock screen knowing that the option view in lock screen is active ?
    Regards
    HM

    I experience this also sometimes (whatsapp), is this a bug??
    sometimes when a person writes 2-3 messages in a row (for instance) in whatsapp (im in standby mode), it sometimes only displayes ONE message in lock screen mode (though he/she wrote more than 1), and sometimes shows the right corresponding written messages!
    Why is this?
    its really annoyoing when you get messages in lock screen mode BUT it doesnt stay and remain so you notice it. That way you get missed messages etc and notices it first...when doing the "pull-down list".
    FIX THIS

  • New versions of customised buttons are not updating in the gallery

    I have built a number of customised image buttons. I add the new versions into the buttons folder inside the gallery and delete the old versions but the new buttons do not appear and the old versions mysteriously are reinstated. If I upload an entirely new set with slightly different names it works but I do not want to have to upload entirely new button sets every time I make a small change to a single button state. If I keep doing this I am going to end up with huge numbers of versions redundant buttons which will become very confusing. Is there any way to refresh the gallery so that it accepts the changes without necessarily changing the name and uploading a complete button set? And why do the old buttons that have been deleted keep reappearing.
    This is in Captivate version 7 on a stand alone computer.

    Same issue here. I've tried replacing images in the gallery as well as deleting old versions and pasting in new versions. They still show up as the old versions when selecting from image buttons. I've even shut down Captivate and restarted, but not change. I know you can update images from the library, but I do not see any option like that from the Gallery Buttons folder.
    Darin

  • Buttons are not displayed for the first time when drawImage method is used

    Hi
    In my swing window 2 buttons are there and when clicking these buttons, it should display an image . The two buttons are displayed at the first time and I can click on it . While clicking a button , the corresponding image is also got displayed. [ I am using drawImage() function for it] But what the problem is, then the two buttons are not displayed and it will be displayed again when the mouse moves along the position of these two buttons. And this problem occurs only at the first time..When they are on the window on a second time, they won't vanish when the image is displayed when clicking it. Is this the problem with paint() method?. I am using start() method also.
    Please help me!
    Thank You

    Hi
    This is not my exact program, that has a large no: of code. So I am putting here a sample one. One thing I would like to point out is that , I can see the buttons at the time of loading the applet and suddenly it vanishes and the image is drawn. Then if I move the mouse along the position of these buttons , they got displayed.
    import java.awt.*;
    import javax.swing.*;
    /*<applet code = MyClass width = 500 height = 500>
    </applet>
    public class MyClass extends JApplet
    Image img;
    JButton b1,b2;
    Container cp;
    Canvas1 cv;
    class Canvas1 extends JPanel
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.black);
    g.fillRect(0,0,500,500);
    img = getImage(getCodeBase(),"image1.jpeg");
    g.drawImage(img,20,20,this);
    public void start()
    cv = new Canvas1();
    cv.setBounds(0,0,500,500);
    cp.add(cv);
    public void init()
    setLayout(null);
    cp = getContentPane();
    b1 = new JButton("Button1");
    b1.setBounds(1,1,100,30);
    cp.add(b1);
    b2 = new JButton("Button2");
    b2.setBounds(200,1,100,30);
    cp.add(b2);
    It would be very helpful to me if you could fix the problem.
    Thank You.

  • The buttons on my ipad are not working. The touch screen is functioning but that is all. What can i do?

    Thanks

    hasi2,
    First your photos are not trapped in the iPhoto for iOS app. They can be seen in the Photo app.
    If you are getting a message that the app cannot download now then try again later.
    You might also try a reboot of your iPad. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the iPad restart. Then try to download the opiate again. See if that fixes your problem.
    Note: the iPhoto fr iOS download is large. When I downloaded the update it appeared that the progress bar wasn't oving. But after a LNG while it moved a very small amount. Some time later, after a lot of patience, the app completed the update process.

  • Display "without PGI" & "PGI done not invoiced" in the selection screen

    Hi All,
    I am preparing a query to track the status of outbound deliveries and would greatly appreciate it if you could guide me on the following requirement.
    Is there a way to display the following two fields in the "Selection Screen" of a query (TCode: SQ00).
    1. Without PGI (Delivery document saved but the delivery is yet to do a PGI).
    2. PGI done but not invoiced (PGI is done but the invoice is not raised).
    I have already added, joined LIKP and LIPS and retrieving a host of information from these two tables but stuck on the two points above.
    Thanks in advance.

    SAP SD_Newbie wrote:
    > The user wants these fields in the "Selection Screen" of the query (SQ00).
    >
    > 1. Without PGI (Delivery document saved but the delivery is yet to do a PGI).
    > 2. PGI done but not invoiced (PGI is done but the invoice is not raised).
    >
    > Importantly, I am a bit reluctant to use any other table apart from LIKP and LIPS  (I tried joining other tables but the performance was drastically slow because of too many inner / left outer joins).
    I do agree that standard transactions should be considered instead. The users always want the darndest things...
    Query is not a custom report and has some limitations, which needs to be understood by the users. We can't add such buttons/checkboxes on the screen in a query, but we can add the status fields as selection criteria.
    Since query is at the line item level (LIPS), the statuses also are needed at the line item level, which is VBUP table. WBSTA is GM status, FKSTA is billing status. I'd guess that if WBSTA is 'A' then it's not PGIed and if FKSTA is 'A' then it's not invoiced. But I'd check in your system to make sure the statuses are updated as expected.
    VBUP can be joined by primary key, so it shouldn't have a huge negative effect on performance. In any case, this is the only way to deliver such information in a query, I believe.

  • Functional area(FKBER( field in the selection screen))

    Hi,
       I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    Hi,
    How you have filled the values?
    It is 16 CHAR long.

  • Functional area(FKBER field in the selection screen of the report painter))

    Hi,
    I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    1. Call GR22 and click "Characteristics".
    2. Check FKBER and assign a position number to it.
    3. Save and close the library.
    4. Call your report in GRR2 and you should now see FKBER as an available characteristic.
    5. Use it in the General Data Selection or as a Lead Column, as per requirement.
    Or,
    1. Call GR21 and create a custom library. Provide a name and description and also provide a library you can copy from (scan for the best-fit library).
    2. Now follow the steps 2 through 5 above to achieve your result.
    Hope this helps.
    Cheers.

  • Cached credentials are not working on the lock screen (Windows 7)

    Hello all,
    We are having a difficult time trying to troubleshoot a problem with credential caching seemingly not working on the lock screen for our laptop users. Users are instructed to logon to the laptop while connected to the domain to cache their credentials. The
    user then leaves the network, and is able to log in to the laptop using cached credentials. The laptop locks either due to a manual lock, or due to an inactivity timer. The user tries to relog and is presented with the error “no logon servers available to
    service the request.” Users are reporting the problem from both home and public networks. We have been able to recreate the issue by logging on the laptop while in the office and setting our internal wireless network to manually connect, and then simply clicking
    start > shutdown arrow > lock. Many users have reported that they were able to get back into the laptop after a hard shut down, but would be unable to log in again if they returned to the lock screen. One user has reported that selecting other credentials
    > switch user > other user while on the lock screen and then entering in his DC credentials would allow him to get back into the laptop. I was unable to recreate this workaround on our test machine. I also tried to logon using the switch user account
    with the “.\username” method to see if that would look for cached credentials. One user has reported that he was unable to hard shut down the computer to get back in. He also reported that he tried to pull the battery and give it time before trying again.
    We have set the value for “Interactive logon: Number of previous logons to cache” to 50. The status of “Interactive Logon: Require Domain Controller to unlock workstation” is disabled. We have tried to turn the Wi-Fi switch off and then back on while on
    the lock screen. Error logs that we think are related to the problem include – Event ID:5719, NETLOGON and Event ID:4343, NlaSvc error 0x4C6 and error 0x51
    I have a slightly sinking feeling it has something to do with NLA thinking that they are connected to a domain while on the lock screen, but this is pure speculation. Thanks for reading my post and any potential solutions are greatly appreciated! 

    I'd try them over here.
    Windows IT Pro forums on TechNet
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I've updated to iso5 on my iphone 4 but some of the features are not working like the lock screen camera feature.  Have I done something wrong?

    I've updated my iphone 4 to ISO 5.  I could not connect to icloud yet however does this expalin why some of the features of ISO 5 are not working like the camera lock screen feature?
    Thanks
    C

    to see the camera icon, double-click the home button when you are on the lock screen. this will show the music controls and the camera icon. double click the home bgutton again to close them.

  • My back button does not work because the prior screen does not appear in the history.  I therefore must go back to the blue screen and reload safari.  Apple tech support could not help.  Can anyone else help?

    After I installed mountain lion my back button frequently does not work because the prior screen does not appear iunder History.  Apple tech support was not able to fix the problem.  Does anyone have any suggestions?

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • How do I access templates in InDesign?  They are not listed on the welcome screen.

    How do I access the templates in InDesign?  They are not listed on my "welcome screen". 

    There are no templates with recent versions of InDesign.
    However, the website InDesignSecrets.com has rescued the old ones from vintage CS4 days and has posted them on their website:
    http://indesignsecrets.com/indesign-templates

  • Multiple Value Button to be closer on the Selection Screen

    I have code for selection screen like this:
    tables: mara, konv.
    select-options s_matnr for mara-matnr.
    select-options s_kschl for konv-kschl no intervals.
    it gives the selection screen with multiple value button of s_kschl with more space.
    Can anyone suggest me how to bring the multiple value button of s_kschl very close to its s_kschl-Low input field.
    It's very urgent: please tell me and get rewards.

    Hi,
      Try to use the below code.
    Selection-screen begin of line.
    select-options s_matnr for mara-matnr.
    select-options s_kschl for konv-kschl no intervals.
    selection-screen end of line.
    or else..
      try to use the POSITION Commnad on the screen.
    Click the link below to know more about it.
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba7e235c111d1829f0000e829fbfe/content.htm
    Regards,
    Vara

  • Change / Customize the "You are not connected to the Internet" screen?

    Well the title says it really. *I'd like to change the page Safari displays when not connected to the Internet.* Working for a business that sells Macs, I'd prefer something that looks a little nicer when the network is down.
    I know that it's a Localizable.strings file...
    (located here: Safari.app/Contents/Resources/English.lproj/Localizable.strings )
    *But if I change the wording in the file, when trying to load up the error page, I'm presented with "localized string not found".*
    Any ideas? Thanks.

    I screwed the edit up but: duplicate the file to be safe before the edit and only edit 2nd text area after =,
    /* title of error page displayed for NotConnectedToInternet */
    "You are not connected to the Internet." = "You are not connected to the Internet because you haven't paid your bill.";

  • Compounded characteristic are not displayed in the variable screen (BI 700)

    Hi Experts,
    How to display compounded characteristic  in the variable screen of queriies?
    Example :
    IO 0PROFIT_CTR is compounded to 0CO_AREA. Tryimg to select 0PROFIT_CTR via a variable,
    only values of 0PROFIT_CTR are displayed in F4 opo up, not those of 0CO_AREA.
    0CO_AREA is not restricted in any way in query definiton.
    This happens in BEx Analyser as well as in web apllication.
    Did anybody face this issue? How to solve it?
    Thanks in advance for helpful replies.
    Regards
    Joe

    Hi,
    Thanks for replies. Possibly I did't explain my problem i a correct way.
    'I 've a variable for 0PROFIT_CTR. When I call F4 , values for 0PROFIT_CTR are displayed
    e.g. as
    7062 PC 7062
    7062 PC /062
    My problem is, that these PCs belong to different Co_areas. so i expected
    3200 7062 PC 7062
    4300 7062 PC 7062
    3200 an 4300 are representing compounded Co_areas in this example. In 3.5 this worked perfectly,
    if Co_areas was not restricted itself with a variable or a defined value.
    Now I'm looking for the option to achieve this as well in 700.
    Regards
    Joe

Maybe you are looking for

  • Oracle Identity Managment 9.1 jboss statup issue

    I have installed oracle identity manager 9.1 using jboss. after complete installation, when I start my jboss, I am getting following message - 21:05:56,350 INFO [WEBSTARTUP] Scheduling Initiate Attestation Processestask, class is com.thortech.xl.sche

  • Can't sync music after 3.0 upgrade - help!

    Last night I upgraded to 3.0 on my 1st generatio iPhone. It took forever, and even though I received an error message at one point, and restarted, it worked. The problem is that even though I restored my backup, the music is gone from the phone. I tr

  • How do I get my podcasts to launch in iTunes by default not in the browser?

    We have a set of podcasts available at the iTunes store. I am trying to set up a link on our site that will launch our series of podcasts in iTunes, not just in the browser. I applied our podcast URL to an anchor tag on our site: http://phobos.apple.

  • 2008 iMac needs upgrade, but to what?

    My trusty early 2008 24" iMac 8,1 (Intel Core 2 Duo, 3.06 GHz) started out rather dicey in terms of reliability (replaced the hard drive TWICE, replaced a dying fan, replaced the defective optical/CD-DVD drive, all under AppleCare, thankfully) but af

  • Excel 2013 hangs after sharing document per email

    Hello everyone. We have an issue with Outlook 2013. If you disable local email caching in Outlook 2013 and you are trying to share a document via email in e.g. Excel (but also Acrobat reader and several other programs) the email gets send, but Excel