Selection screen program name should be grayed out.

In the selection screen ,  i need the program name to be displayed
like
program  :  ZZ_PROGRAM
number :    input box.
calculation is got to be done based on the input number.
Without using screen painter i have to create using
the parameter or any other abap statements.
The program name should be grayed out.
name of the program should be in the box (as we do for parameters)
Please suggest how to achieve this
Thanks

Hi,
PARAMETERS : p_text(50) MODIF ID 'ABC',
                           p_number TYPE I.
INITIALIZATION.
   p_TEXT = 'YOUR PROGRAM NAME'.
AT SELECTION SCREEN OUTPUT.
LOOP AT SCREEN.
  IF screen-NAME = 'P_TEXT'
     SCREEN-INPUT = 0.
      MODIFY SCREEN.
  ENDIF.
ENDLOOP.

Similar Messages

  • How to make the selection screen field names to apper as in logon language

    hai
    the selection screen field names should appear
    as that of logon language
    and <u>before that once i logon with a language
    it should pop up the (some)message in the logon language</u>.
    For the selection screen filednames to appear as that
    of the logon language whether i have to maintain the textelements for all screen fields in all possible languages or i have to write only in english and tell mentioning it to change

    In <b>SE38</b> --> Goto --> Translate.
    Choose target language, and start making the translation -;)
    Greetings,
    Blag.

  • How to restrict or stop the same data provided in selection screen parameters its should stop fetch the data on previously provided data?

    Hi Developer,
    i have issues that i need stop or restrict the same entries provided in the selection screen parameters it should no display that data but it should give an alert message by saying the data all ready viewed or displayed.
    example: organisation :getha pvt.td.
                  name :ramesh.
                  start date:10.2.2013.
    these are parameter which has been displayed by clicking execute ,if provide the same value to display again it should give waring message.
    Please guide me in solve the problem.
    thanks.
    ravi.

    Hi Somendra,
    Thanks for your response sir , i have provided the according to your provided information sir  but it was not  displaying the data first time also its giving message which i have provided ,my issues is if i provide data from time should display if i provide same data next time then only it should restrict the data and give a message.
    example:
    types:BEGIN OF str1,
       ROOMNO type zROOMNO,
       NAME TYPE zname3,
      BRANCH type zBRANCH,
       PHONENUMBER type zPHONENUMBER,
       END OF str1.
       data:it_str1 type TABLE OF str1,
            wa_str1 type str1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME .
         skip.
    PARAMETERS:s_roomno type ZTABLE_2-roomno.
    skip.
    parameters:s_name type ztable_2-name.
    skip.
    PARAMETERS:s_branch type ztable_2-branch.
    skip.
    PARAMETERS:s_pho type ztable_2-phonenumber.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN.
    SELECT  roomno
             name
             branch
             phonenumber from ztable_2 into TABLE it_str1
             WHERE roomno eq s_roomno and name eq s_name and branch eq s_branch and phonenumber eq s_pho.
       READ TABLE it_str1 INTO wa_str1 with KEY roomno = s_roomno name = s_name branch = s_branch phonenumber = s_pho.
       if sy-subrc eq 0.
         MESSAGE 'THE DATA IS ALL READY VIEWED' TYPE   'E'.
         RETURN.
         ENDIF.
         START-OF-SELECTION.
       SELECT  roomno
             name
             branch
             phonenumber from ztable_2 into TABLE it_str1
             WHERE roomno eq s_roomno and name eq s_name and branch eq s_branch and phonenumber eq s_pho.
         loop at it_str1 into wa_str1.
         WRITE:/1 wa_str1-roomno,
                10 wa_str1-name,
                30 wa_str1-branch,
               60 wa_str1-phonenumber.
         ENDLOOP.
    please guide me in solving the issue sir.
    thanks,
    Ravi

  • How to get selection screen variant name of a report ?

    Hi Experts,
    Can any body please suggest, how I can get the variant name that was selected when a report program was being scheduled in background?
    I am using system field SY-SLSET but it is working only at foregrounf execution.In background mode it holds different value like '&0000000000038'.
    Thanks in advance.

    Hi !
    When running the program in foreground (SE38 -> F8) or in a background job (SM36), sy-slrel is correctly filled.
    When running in background via SE38 transaction (run in background  : F9), sy-slrel is not filled correctly (&000010 for example).
    However, in the second case, you still are in foreground when in the selection screen. Thus this simple but quite efficient idea of  [Vinod Vemuru|http://wiki.sdn.sap.com/wiki/display/~ncz6anw] :
    http://wiki.sdn.sap.com/wiki/display/ABAP/Howtogetthevariantnamewhenrunningthereportinbackgroundfromselectionscreen

  • Selection screen program

    hi frnds,
               i want to develop a program for testing purpose.
               on executing the code.
               a sceen opens in which i will enter material no(matnr) as parameter.
    on pressing enter again a new screen will open which will show materials description (makt-maktx) along with mateial no(this field will grey out).
    i will be able to change materials description and will save it and the data shuld be updated in database table.
    <b>pls dont design the screen by going to scrrn painter (using module pool concept)</b>         . how to achieve this
    pls help
    thanks
    pankaj

    Hi,
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-011.
    PARAMETERS : p_pay1 RADIOBUTTON GROUP grp USER-COMMAND fc DEFAULT 'X',
                 p_pay2 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_pernr FOR  pa0000-pernr.            "Personnel Number
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (31) text-018.
    PARAMETERS     : p_begda LIKE pa0000-begda OBLIGATORY. "Start Date
    SELECTION-SCREEN COMMENT 52(05) text-019.
    PARAMETERS     : p_endda LIKE pa0000-endda OBLIGATORY. "End Date
    SELECTION-SCREEN END OF LINE.
    SELECT-OPTIONS : s_stat2  FOR pa0000-stat2,               "Status
                     s_werks  FOR pa0001-werks,               "Personnel Area
                     s_raufnr FOR catsdb-raufnr MODIF ID md1. "Internal Order Number
    SELECTION-SCREEN END OF BLOCK b2.
                      AT SELECTION-SCREEN                                *
    AT SELECTION-SCREEN OUTPUT.
      IF p_pay1 EQ 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'MD1'.
            screen-active = '1'.
            screen-input  = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF p_pay2 EQ 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'MD1'.
            screen-active = '1'.
            screen-input  = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    PRashant
    Message was edited by:
            Prashant Patil

  • To display the selection screen variant name in WAD report output.

    Hello experts,
    I have a requirement which is to display the selection screen variant description in the output of the WAD report.
    I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
    Example:I have created a cost center report created using WAD, since I need some graphical displays..
    In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
    Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
    Thanks in advance
    KS

    Hi,
    Try this.
    If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
    TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
    Save and execute your WAD now you can get your variable screen.
    Thanks,
    JituK

  • Selected albums, Events....grayed out during sync

    Little history...Had an older Macbook (the black one) that finally died....replaced with a new MacBook Pro today....restored old "blacky" content from a Time Machine restore....opened iPhoto and it required an updater (iPhoto Library Upgrader) to be ran...iPhoto seems to work perfectly after update...I can connect my iPhone 5 and create new events and copy pics from phone to iPhoto Library..... but when I attempt to sync with iTunes the "select albums, Events...." option is grayed out...I deleted slideshows (suggestion from another thread, addressing & in a xml string) to no avail....posting here as consensus Ive read its usually something to do with iPhoto
    ...iTunes is current as is iPhoto....any help would be appreciated....

    Can you access the iPhoto Library from any other apps? Word Processors? Mail? etc?

  • Selection-screen programming

    Hi experts,
    I need to validate the selection-screen  fields p_bukrs(comp. code) / p_abkrs(payroll area) / p_lifnr / p_bkref  such that the fields  p_abkrs / p_lifnr / p_bkref to be fetched from Table (z-table) based on company code ,p_bukrs given at selection-screen levelu2026
    In z-table,  payroll area (p_abkrs) is the only key field
    Values in z-table
    Payroll area     ccode     vendor     bkref
    AB     1000     123       1111
    BC        2000     234        2222
    CD     1000     345        3333
    DE     3000     456        4444
    At selection-screen level,  1) if user chose u20182000u2019 p_bukrs and press enter, itu2019s supposed to get all related values i.e u2018BCu2019 u2018234u2019 u20182222u2019 for p_abkrs p_lifnr p_bkref resp.
    2) If user chose u20181000u2019, as it is having 2 payroll areas, we come across multiple selection, so again f4 help shud be provided and should accommodate the user to select the one from multiple to be displayed on selection-screen.
    So for the first option, itu2019s just providing f4 help and fetching values
    But for second one, pls provide the required logic as I met all failure attemptsu2026u2026..
    That would be a great help, if provide any inputsu2026u2026u2026u2026..
    With Regards
    Andhari

    Hi Suhas,
    In my requirement, no need to go for u2018multiple optionsu2019, wil explain u the scenario in briefu2026
    At selection-screen level, after pressin f4 at ccode field, wil shows u list of ccodes, whose values fetch from ztable (refer to my thread for ztable values) here I did using select single & fm <f4if_int_table_value_request>
    In values of ztable, for ccode u20181000u2019, itu2019s having 2 payroll areas i.e u2018ABu2019 and u2018CDu2019, so if user chose u20181000u2019 in list, another f4 shud display showin the related list to accomdate user to select related payroll area and make it displayed on sel-screen.
    In my code, while chosing u20181000u2019, in the f4 list (having 2 entries), irrespective of my selection itu2019s displaying 2nd entry i.e. u2018CDu2019 u2018345u2019 u20183333u2019u2026u2026hope you understand
    And here is my code reg. selecting '1000' where this multiple selection comes....
    <   IF p_bukrs EQ '1000'.
      <    SELECT abkrs
    <            lifnr
    <            bkref
    <            FROM ztable
    <            INTO TABLE gt_split    u201Csplit holds payroll,lifnr,bkref
    <            WHERE bukrs = p_ccode.
    < CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    <  EXPORTING
    <    retfield               = 'ABRKS'
    <   DYNPPROG               = sy-repid
    <   DYNPNR                 = sy-dynnr
    <   DYNPROFIELD            = 'P_BUKRS'
    <   VALUE_ORG              = 'S'
    <*   MULTIPLE_CHOICE        = ' '
    <*   DISPLAY                = ' '
    <*   CALLBACK_PROGRAM       = ' '
    <*   CALLBACK_FORM          = ' '
    <*   MARK_TAB               =
    <* IMPORTING
    <*   USER_RESET             =
    <  tables
    <    value_tab              = gt_split
    <*   FIELD_TAB              =
    <   RETURN_TAB             = gt_return
    <*   DYNPFLD_MAPPING        = fmap
    <* EXCEPTIONS
    <*   PARAMETER_ERROR        = 1
    <*   NO_VALUES_FOUND        = 2
    <*   OTHERS                 = 3
    <         .
    <IF sy-subrc <> 0.
    <* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    <*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    <ENDIF.
    <     LOOP AT gt_split INTO gs_split.
    <       p_payrol = gs_split-abkrs.
    <       p_lifnr = gs_split-lifnr.
    <       p_bkref = gs_split-bkref.
    <     ENDLOOP.
    <   ENDIF.
    <   ENDIF.
    TIA
    Regards
    Andhari

  • Enter name or number grayed out in Phone dialer

    Hi! Just wanna ask if this also happened to you. In the phone dialer, the box where in you can enter the name or number manually is not functioning. It was gray out. This happened when I upgraded to Lollipop. Hope you can help me. Thanks.
    Solved!
    Go to Solution.

    Hi Mishie,
    Welcome to the community.
    have you by chance tried some of the basics, such as restarting the handset and removing the SIM and placing it back in again?
    If you have and seem to have the same issue, you could try clearing the Phone dialer app.
    Menu > Settings > apps > All > Phone > Clear Data.
    let us know how you get on.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Selection screen text name

    Hello Guru,
    I want to get text name for parameters or seletion-options in my report.
    For example I have create P_JOBNAME as parameter and gave text as "Jobname".
    I am getting all parameters and select-options used in the report. Now I want you guys to help me in getting text that is associated with parameter.
    Your help will be highly appreciated.
    Regards,
    Krishna

    Hello Guru,
    What I have is to know SAP Table or function module which can give me select-options or parameters  - texts .
    I am working in 4.5B version of SAP R/3.
    Thanks for replying to my question.
    Regards,
    Krishna

  • How to gray out certain fields on the selection screen based on the radio b

    HI All,
      I have an ALV report. On the selection screen I have 2 radio buttons ..for eg..A and B.
    When radio button A(its on by default) is on..certain fields not relevant to this should be grayed out. Similarly when radio button B is on, certain fields should be grayed out.
    I did the AT SELECTION SCREEN OUTPUT and also did the
    LOOP AT SCREEN....ENDLOOP logic. The logic works but when I click the radio button B...the screen fields automatically does not gray out. I have to press ENTER and then its grays out.
    I know a USER_COMMAND needs to be attached.
    Can anyone give me a step by step details of how to do this. I truly appreciate it. if a screen painter thing is required..please give me the tcode and step by step detail to do this.
    Thanks

    Try this one too:
    REPORT ztest.
    TABLES: mara,
            bkpf.
    CONSTANTS:
                  c_pos(3) TYPE c VALUE 'POS',
                  c_acc(3) TYPE c VALUE 'ACC',
                  c_all(3) TYPE c VALUE 'ALL',
                  c_x TYPE c VALUE 'X'.
    The Selection Screen Definition
    SELECTION-SCREEN BEGIN OF BLOCK b_0 WITH FRAME TITLE text-000.
    SELECT-OPTIONS: s_mara FOR mara-matnr.
    SELECTION-SCREEN END OF BLOCK b_0.
    SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-037.
    PARAMETER: rb_all RADIOBUTTON GROUP rb1 USER-COMMAND rad default 'X',
               rb_acc RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN END OF BLOCK b_1.
    SELECTION-SCREEN BEGIN OF BLOCK b_2 WITH FRAME TITLE text-011. "Acct
    SELECT-OPTIONS:   s_blrtc1 FOR bkpf-blart MODIF ID acc,
                      s_blrti1 FOR bkpf-blart MODIF ID acc.
    SELECTION-SCREEN END OF BLOCK b_2.
    SELECTION-SCREEN BEGIN OF BLOCK b_3 WITH FRAME TITLE text-011. "Acct
    SELECT-OPTIONS:   s_blrtc2 FOR bkpf-blart MODIF ID all,
                      s_blrti2 FOR bkpf-blart MODIF ID all,
                      s_blrtv2 FOR bkpf-blart MODIF ID all.
    SELECTION-SCREEN END OF BLOCK b_3.
    AT SELECTION-SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      PERFORM f0200_screenfield_hide_logic.
    initialization.
      PERFORM f0200_screenfield_hide_logic.
          FORM f0200_screenfield_hide_logic                             *
    FORM f0200_screenfield_hide_logic.
      LOOP AT SCREEN.
        IF rb_acc = c_x.
          IF screen-group1 = c_all.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
        IF rb_all = c_x.
          IF screen-group1 = c_acc.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " F0200_SCREENFIELD_HIDE_LOGIC

  • Why is Messages screen sharing icon grayed out?

    Trying to do remote screen sharing with my mom's Mac using the new feature in Yosemite.
    If you're not familiar with it, the new method does not require AIM, Jabber, etc and is independent of screen sharing settings in System Preferences (per Messages Help).
    The procedure is:
    In the main Messages window, select the name of the person you want to share with or, if you haven't previously exchanged messages, do so now.
    Click 'details' on the right of the top bar of the main window.
    In the menu that pops up, there are three icons: screen sharing, video chat, and audio chat/phone call. Click the screen sharing icon and send a request.
    Today, my mom signed into her Messages account and we successfully exchanged iMessage messages (not SMS).
    When I clicked 'details' the screen sharing and phone call icons were grayed out (or, more accurately, 'blued out' - they were a fainter shade of blue).
    I clicked another name in the Conversations list and then clicked back to my mom's name. When I clicked 'details' this time, the screen sharing icon was no longer grayed out, so I sent a request to share her screen. She didn't receive the request, so I canceled it.
    When I clicked on 'Details' again, the screen sharing icon was grayed out again. As far as I know, nothing had changed on my mom's end.
    What could cause the screen sharing icon to be grayed out? And what could cause it to toggle back and forth between grayed out and normal?
    Both computers are running the latest version of Yosemite, 10.10.3. Mine is a 2009 Mac Pro 8-core with 16 GB RAM, hers is a MacBook Pro from around 2012 or 2013.
    Thanks!
    Bob

    Hi,
    (He did say that he'd heard that due to changes in Google's system that their accounts no longer work with Messages.)
    What he has heard and what are true are two different things
    Logged in Google account
    There are issues with Messages using SSL to login to the Google Talk server and Google saying SSL is Less Secure (there is a  setting to Enable Less Secure apps like Mail that also uses SSL and Messages).
    Some people find that 2 step Verification cannot be set at Google's Account settings if your want to use the Less Secure Apps setting.
    1. I deleted my AIM account from Messages and had my mom do the same. The result is that we each only have two items in the Accounts window of Messages: an iMessage account (signed in with our Apple IDs) and a Bonjour account.
    2. Clicking on the Details menu, the screen sharing icon was available for both of us. It was not grayed out.
    This is using two different Methods of Screen Sharing in Messages (It is silly it has two but there we go)
    For AIM use the Buddy List and the icons at the bottom or highlight the Buddy and use the Buddies Menu
    DO NOT USE the Details option.
    For iMessages start text chat then use the Detail Option an NOT THE BUDDIES Menu.
    For the iMessages Method you have to Enable System Preferences > Sharing > Screen Sharing to allow the App to be Invoked.
    (It is like FaceTime is invoked but only works to Macs)
    As you mention the Connection Doctor only refers to the older "iChat Method for Aim and Jabber and Bonjour - if you can Video you should be able to Screen Share with that method.
    9:49 pm      Wednesday; April 29, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • "name" field grayed out in Log and Capture

    I'm using the latest version of FCP and for some reason the "name" field is grayed out in the log and capture tool. Even when i select "prompt" the clip goes untitled into the logging bin. I am capturing on the fly with no deck control. However, if i try to log a clip with deck control, the prompt works but i still can not enter a clip name in the "name" field on it's own.
    any suggestions?
    dual 2ghz G5   Mac OS X (10.4.9)  

    This is the Final Cut Express. You should try your question on the Final Cut pro forum.

  • Apps won't sync from iTouch to computer.  iTunes recognizes the iTouch and the app content, but the content is grayed out on the computer screen and won't allow me to sync.  My iTouch is version 4.2.1 with 6.8GB  capacity.

    I am on vacation and away from my home computer.  I installed iTunes on a computer I'm using at my son's house to enable
    me to sync my iTouch, since it has become unstable when I am playing games and continually closes and reverts to the home
    screen.
    My son's computer recognizes my iTouch and my apps appear on the screen but they are all grayed out and will not allow me
    to sync.  Can anyone help me please?

    Your iPod can only be synced with one iTunes library at a time. If you try to add content to it from another computer it will erase the contents of your iPod and replacement it with the contents of the new library.
    In regards to the unstableness, have you tried a hard reset to see if that makes a difference?  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    B-rock

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

Maybe you are looking for

  • Internal Server Error while accessing login page.

    Hi, We have recently upgraded our database from 9.2.0.8 to 11.2.0.3 on AIX 6.1 platform (EBS version 11.5.10.2). We are not able to get the login page and receiving Internal Server Error on the login page without any error messages. On checking we ha

  • Photoshop CS5 will not install.

    I have the disk and all the other programs are up and running fine but Photoshop does not properly install. It goes through the installation process but when its done installing there is only a file labeled "Photoshop cs5".

  • Accessing local files in Safari for Windows

    I am trying to access local files, such as .doc and .pdf files. I have tried file://server/dir/dir/file.pdf, and various numbers of slashes, but all result in Failed to open page messages. Any ideas? IE can do this, Firefox won't (easily). Chris

  • Batch Processing in java

    Hello Everybody I am working on Files in my project, and doing some IO operations on them. I am getting the file names from JFileChooser. Now i want to do batch processing on those files. Can any body help me out how to do batch processing, any sugge

  • Can I use forms central without any other adobe product?

    Want to use forms central for sports team website, Do I need to purchase additional adobe products, or can I use it by itself?