Push button problems

Hi Friends,
We need a pushbutton which when pressed should display a simple message. So we tried using write statement, message statement, SUBMIT ZTEST3 (where ZTEST3 is another program having a simple write statement) AND RETURN and also
IF sscrfields-UCOMM = 'FCODE'.
    set screen 9000.
  endif.
module STATUS_9000 output.
....some more code to display the message
end module.
But NONE of these work. THis means when the push button is pressed, the screen does not change.
Any help or input is greatly appreciated.
Thanks

Seems like a 2 in 1 question.
1. Creating a pushbutton and assigning a function code: I have copied a SAP help text below.
2. Displaying a message: There are several SAP standard function modules that displays/popup text. SE37 and type popup* and pulldown. One example is "POPUP_TO_INFORM".
Here is SAP verbage on pushbuttons:
Variant 10
SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.
Addition: MODIF ID modid.
Effect
Generates a pushbutton on the selection screen. When you define the button, you also define a user command ucom (no inverted commas), up to 20 characters long, which is triggered when the user pushes the button. The rest of the syntax is the same as for SELECTION-SCREEN COMMENT
You can define the name name either statically or at runtime (see also the BEGIN OF BLOCK, COMMENT and SELECTION-SCREEN BEGIN OF SCREEN variants).
When you define a pushbutton, you must always specify a format fmt.
By specifying a Modif ID, you can assign the pushbutton to a modification group.
Notes
The best way of reacting to the pushbutton is in the AT SELECTION-SCREEN event, or, for pushbuttons in the selection include, in the PAI routine (with FNAME = '*' and MARK = SPACE) in the database program SAPDBldb. The field SSCRFIELDS-UCOMM contains the user command ucom. (You need to declare the SSCRFIELDS table using the TABLES statement).
You can create your own pushbuttons in the application toolbar using the FUNCTION KEY n addition.
Within the selectoin include : Additions FOR NODE node ,FOR TABLE dbtab und ID id.
Example
TABLES SSCRFIELDS.
SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.
INITIALIZATION.
  MOVE 'My text' TO CHARLY.
AT SELECTION-SCREEN.
  IF SSCRFIELDS-UCOMM = 'ABCD'.
  ENDIF.
A pushbutton appears on the selection screen with the text 'My text'. In the AT SELECTION-SCREEN event, the field SSCRFIELDS-UCOMM has the contents ABCD after the button has been pushed.
Hope this helps

Similar Messages

  • Push Button Problem in IC Web Client

    Hi Everyone,
    I have got an issue here. Iam working on IC Webclient.
    I have got a BSP page wherein I have an input field for the Printer Name. I also have a dropdown list box for that. I have a push button  and after clicking on which I want some database updates to be done.
    But whats happening is once I take the Printer value from the dropdown list box only, the database updates are being made.
    My aim is after I take the value from the dropdown and then click on the push button, thn only, the database updates needs to be done.
    Please help me out.
    Its too urgent.
    Thanks an Regards,
    Bhargava Kavuri.

    Hi Gaurav,
                     I gor confused with CRM 5.1/5.2 and CRM 2007 profile. You are on CRM 5.0 then you do following things
    1) goto tx ppoma_crm
    2) on top left under search screen, search for Positions  " Sales" and Marketing and Service one by one.
    Now assign yourself to each of these positions. ( You might find  more than one psoition when you search by above criteria. Ideally you should be able to see position names soemthing like Sales Representative, Marketing Represetative etc . I am not sure what exactly would be the name at your system because ppl might chnage the description of positions.
    Now launch UI again and you must be able to see all modules.
    Let me know if u still have any issues

  • Forms 9i/Forms 6i Push Button problems

    Hello All,
    I have a form that is using a bunch of Push Buttons. Each of these Push Buttons has a Access Key assigned to it.
    The main canvas is a tab canvas and there are some stacked canvases too. All of them are being displayed on the same window.
    If I press the access key a Push button when it is not being displayed on the screen, it still executes the When-Button-Pressed Trigger and is causing me some pain.
    How can I stop the When-Button-Pressed trigger from executing when the Push Button is hidden from view ?
    Your help will be greatly appreciated.
    Thanks
    Sriram

    You could make the button disabled when it is hidden.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Push button problem

    Hi,
    In my report i have created a one PUSH button. when user clicks that puch button a SM30 transaction will call but with no table name. i have give table name also.
    Means when user clicks on PUSH BUTTON a SM3o0 will call and table name should be displayed there.
    How to do that.

    Hi Anurodh,
      Try this code.
    SELECTION-SCREEN pushbutton 2(10) text-001 user-command TRAN.
    at selection-screen.
    if sy-ucomm eq 'TRAN'.
        call transaction 'SM30'.
    ENDIF.
    Plz Reward if helpful.
    Mahi.
    Message was edited by:
            Maheswari Chegu

  • Push Button Problem in Custom screen

    Hi All..
    Hi All..
    In my custom screen, i have 2 (A1, A2) input boxes with F4 option and a Push Button..
    When i select the data in these input boxes, i will click Push Button (COPY) to transfer the data from these (A1, A2) to other two input Boxes (B1, B2)..
    But data are displaying in (B1, B2), if and only if i click the Push Button 2 times..
    How to make the code to display those data from A1-A2 to B1-B2 by Single click..???

    In PAI, I have coded the lines as follow..
    Still i need to click 2 times to get the data displayed in B1,B2..
    ****PAI*****
    when 'COPY'.
    select bezei from tka01 into (it_sap-name) where kokrs = A1.
    endselect.
    select msehi from tka03 into (it_sap-unit_of_meas)
    where kokrs = A2 and STAGR = A1.
    endselect.
    B1 = it_sap-name.
    B2 = it_sap-unit_of_meas.

  • Problem With Push buttons on the selection screen

    Hi All,
    I've taken 3 push buttons on the selection-screen with the following syntax
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2,
                      FUNCTION KEY 3.
    and have removed the F8 execute button using FM RS_SET_SELSCREEN_STATUS
    Now, the problem is i'm able to perform validations using At selection screen but the code after the Start-of-selection is not being triggered.
    I mean the processing is being terminated after the at selection-screen.could anyone please tell me how do i trigger some code after the event start-of-selection when a user presses a push button with sy-ucomm = FC01.

    Check the below sample program :
    REPORT ZLPRWINSPC_TMP .
    tables : mara,
             sscrfields.
    select-options s_matnr for mara-matnr.
    initialization.
    sscrfields-functxt_01 = 'Clear Selection'.
    selection-screen function key 1.
    AT SELECTION-SCREEN.
    case sscrfields-ucomm.
    when 'Clear Selection' or 'FC01'.
    clear s_matnr.
    refresh s_matnr.
    endcase.
    Thanks
    Seshu

  • Problem in push button of abap object code

    Hi,
    I am working on a example ABAP Object taken from www.erpgenie.com . There is a problem code that during exceution the push button when i select the exapnd sroage locations it does not get expanded. plzz provide me guidelines by watching the code of it and tell me what will be the amendments requiered in it to display the all the storage locations when click on the push buttons.
    http://docs.google.com/Doc?id=dngp529_1rqvhzxgv&hl=en
    plzz go through the above link as it conatins the code in it and provide me guidelines to solve this problem.
    Edited by: ricx .s on Apr 13, 2009 11:07 AM

    hi,
    please refer this link
    Re: Setting the PF Status for ALV
    https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=37715&version=2
    thanks

  • Push Button Notification Problems

    OK, so I had an iPod touch 3, and there were TWO push button notifications I got:
    1) Facebook
    2) ThePensblog
    So anytime I got a message from somebody on facebook or the pensblog had a new posting, I got a badge and a banner on my home or lock screen.
    Then, I got and upgraded to the iOS5 and iPhone 4S.  So I have an iPhone 4s and iPod touch 3.  Here is the problem, my push buttons work "sporodically".
    Some days I might get alerts, some days I just get badges.
    I want it like it was before, where everytime thePensblog updates, I get a banner on screen, and it stays until I unlock or scroll past it, and I get this updates "stacked" (that is, if it updates twice I keep both updates on my screen until I unlock and move past).
    I had this before, how come I don't now?  Any solutions?

    And yes, I am connected to wifi, yes I did go to the notication center, where for both apps it says I have banners and badges.
    So I am confused on why this is a problem!  Anybody else have this?

  • Problem with Exit push button

    Hi All,
    I have a required field in module pool programming. When i press Exit push button message displays "Fill in all required entry fields".
    I want to exit from program without fill any field.
    Is it possible. plz help me

    Hi,
    In the PF-Status, keep the Functional Type for the EXIT button as E.
    And code for the same button in the module:-
    PROCESS AFTER INPUT.
      MODULE exit AT EXIT COMMAND.
    MODULE exit.
      CASE sy-ucomm.
        WHEN 'EXIT'.
          LEAVE PROGRAM.  "<- to leave the transaction.
      ENDCASE.
    ENDMODULE.
    Hope this helps you.
    Regards,
    Tarun

  • Problem in Iconic Push Button

    Hi,
    I m developing a form. The form has a push button. I want to make this button as iconic. Kindly help me.
    Regards
    Pradipta

    Have you searched in this Forum for solution ...?
    icons not displaying in oracle forms.
    http://www.oracle.com/technology/products/forms/pdf/webicons.pdf

  • Creating a push button in Condition Tab in me21n

    Hello Experts,
    I want to add one push button in me21n PO creation.
    Is this possible by using enhancement MM06E005?
    Could you suggest something?
    The push button will be in 'condition' tab in item level view.
    After clicking this button a screen will be displayed if the condition
    category is B to enter other subsequent vendor's code(which comes
    after clicking on condition and viewing condition details) that is
    in case of octroi costs. 
    Thanking you!

    Hi ,
    Yes you can do this in enhancement MM06E005.
    Goto --> Tcode se51 -->program name : SAPLXM06
    Screen No : 0111
    Make the changes in this layout.So that changes will reflect to customer Data tab at Item level in Me21n.
    Use tabstrip or create a subscreen for the above program name while creating a new screen..
    This may helpfull to resolve your problem.
    Thank you,
    Thanks,
    AMS

  • Push button not active in sales order Display trasaction

    Hello,
    I added a push button to sales order item -> additional data B tab. The push button is INACTIVE when i see via VA03 transaction where as ACTIVE if i see via VA02 transaction.
    My requirement is that i have to make it active VA03 Transactions also.
    How can i do that?. Please help me in this regard.
    Thank You,
    Naresh.

    Hello,
    I could able to solve the problem
    Thanks to you both.
    I was using the Modification Group 1 parameter in the push button attributes and trying to activate via PBO already - as is mentioned by Karthik.
    But I used screen-ACTIVE = 1 alone. Now as per pawan's message i have used SCREEN-INPUT = 1. and it worked out.
    Thank You once again...
    Regards,
    Naresh

  • Service Order creation from CRM Web-IC hwen user click the push button.

    Hi experts,
                        I need to create the service order (in IS-U) when the user will click the push button in CRM-Web-IC.
    I know the RFC for the same to be used in IS-U but for that I need to get order type which is mandatory importing parameter for RFC.
    I know BP, Premise & Installation.So,How can I get order type for that?
    Reply will be greatly appreciated.
    Thanks in advance.
    Regards,
    Abhay.

    Hi Gagan
    Could you please share with your solution, i am kind looking help in same are. We are using CRM 7.0, but i can not find BOL component which is ISUSRV.
    My requirement is to create Service Order from Webclient, example meter problem reporting, etc
    Please kindly reply or by email shankar no dot vangari at gmail com
    regards
    shankar

  • Data block and push button

    Hi
    I have a data block where I need that the first two items are a push button.
    Now when user want to insert a new record, if you have a text item, since the cursor is in the text item, you can enter a new record.
    Now with the push button, I cannot click on it before i click on a text item (which in fact create the new line)
    How to have a push button which is able to create a new record like a text item does?

    In fact the original problem is :
    if you have a row in a data block that start with a push button. and then many text item, you are obliged to put the cursor on one text item of a new record to get the button working. The button is by default disable and cannot be used to create a new record.
    If I put the button as a default button, the query is not executed. That the original problem

  • Push button not visible in Quality

    Hi,
    We have created one push button for the tcode fbl1n and fbl5n using the standard BADi  "FI_ITEMS_MENUE01".
    Now, the problem is the button is visible in Development server but not in Quality server.
    We have checked the version management but the code is very much visible in Quality.
    But, the push button is not visible in the Quality.
    Could anyone please provide with a solution to this problem.
    Thanks in advance,
    Kalyani.

    Hi,
    We have transported the Class name as well as BADi name to Quality.
    The implemented code along with the Fcode is visible in Quality.
    But while executing the tcodes FBL1N and FBL5N the push button which was implemented, is not visible in Quality.
    Thanks,
    Kalyani

Maybe you are looking for