Change sscrfields structure function key dynamically

Hi ,
   I want to create own function key for selection-screen button in application toolbar.
     If possible to change at run time.
Thanks.
INITIALIZATION.
  SSCRFIELDS-FUNCTXT_01 = 'INSERT'.
  SSCRFIELDS-FUNCTXT_02 = 'UPDATE'.
AT SELECTION-SCREEN OUTPUT.
SET PF-STATUS 'TEST'  .
The exixt func.keys are CnttF1 & CntlF2.I want to change into F6 & F7.

Hi mani,
welcome to SCN.
You can not create function key in default selection-screen. Actualy there are 5 pushbutton available there . you can activate or de-activate them. please check the following link for further detail.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba80935c111d1829f0000e829fbfe/content.htm
Regards,
Anirban

Similar Messages

  • Selection-screen function key  dynamically ?

    Dear all,
    I wonder if it is possible to have a function key dynamically appearing on the selection screen of an ABAP. For example the button for reading the documentation of an ABAP is shown dynamically only if there is a documenation available.
    I have tried several methods at SELECTION-SCREEN OUTPUT
    - SET PF-STATUS EXCLUDING 'FC0x' : no reaction
    - Blanking the icon via CLEAR: SSCRFIELDS-FUNCTXT: Result blank button
    - In LOOP AT SCREEN nothing can be found concerning function keys.
    I assume that the crucial point is the SELECTION-SCREEN FUNCTION KEY statement, which generates the button.
    Thanx for your help
    Rabanus Diehl

    You mention about the 'Documentation' button.
    However, SE38 is a dialog program so this why it is easy to do. You are writing a report program. You could have the pushbutton on the screen itseld instead of the status bar. You should then be able to use LOOP AT SCREEN to hide. Here is some code to put a pushbutton on a screen.
    INCLUDE <list>.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 01(35) garment
      USER-COMMAND garment.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
      PERFORM f_setup_pushbutton_text USING icon_execute_object text-s01
                                      CHANGING garment.
    FORM f_setup_pushbutton_text USING    p_icon
                                          p_text
                                 CHANGING p_result.
      DATA: l_result(50).
      CALL FUNCTION 'ICON_CREATE'
           EXPORTING
                name                  = p_icon
                text                  = p_text
                add_stdinf            = space
           IMPORTING
                RESULT                = l_result
           EXCEPTIONS
                EXCEPTIONS
                icon_not_found        = 1
                outputfield_too_short = 2
                OTHERS                = 3.
      IF sy-subrc EQ 0. ENDIF.
      p_result = l_result.
    ENDFORM.                               " F_SETUP_PUSHBUTTON_TEXT

  • F1 and F2 keys won't change to standard function keys even after changing keyboard preferences.

    I want to use the function keys on my MacBook Pro as standard function keys.  I checked the box in keyboard settings that's supposed to change this, and I changed the Mission Control shortcuts that corresponded with function keys.  F3-F12 all seem to have gotten the message, but F1 and F2 still change the screen brightness and won't work as standard function keys no matter what I do.  How can I fix this?

    Hello w:
    Welcome to Apple discussions.
    Please fill in your profile so we understand your system configuration.
    Barry

  • Change Extract structure -- Access key required ?

    Hi guys,
    I wanted to change the extract structure for one LO extractor. Just add one field from the available pool of fields. Is access key required for this ?
    Thanks,
    BWer

    You can't directly change the extraction structure without an Access Key, nor would you want to. Instead, go to SE11 and pull up the extraction structure you want to modify, in update mode, and then click on the Append Structure... button. You can add the columns of data that you wish to have on the DataSource there. After re-activating the structure, you should then be able to see the columns that you added in the maintenance view for the DataSource, pull them over, re-generate the DataSource and create the code in CMOD to populate these columns.

  • Windows 7 Brightness and Function key not Working Properly

    i have HP 15-af024AU APU Quad Core A8-7410 - (4 GB DDR3,1 TB HDD) Noteboook and it  came with windows 8.1 preinstalled than i installed windows 7 ultimate.
    i have problem in Display Brightness i am not able to change Brightness by function key or by manually from windows settings.
    2. my Function key are not working properly . all key are fliped whiout holding function key it work as function key. 3. bluetooth is not working when i search for new device not able to find any available discouable bluetooth device. 4. wireless button software is not wokring in windows 7 i already updated my bios that available in drivers support and install alll drivers too properly so please give proper drivers for windows 7 for this product that works perfect.

    Sorry that driver didn't work. You can try this graphics driver and if that doesn't work, unfortunately, I won't be able to help you with that issue. This package provides the AMD High-Definition (HD) Graphics Driver and Catalyst Control Center for supported notebook models that are running a supported operating system. For notebooks with switchable graphics modes, this package includes drivers for both graphics processing units (GPUs). Switchable graphics enable users to switch between a power-saving graphics mode (normally used under battery power) and a high-performance graphics mode. If high-definition multimedia interface (HDMI) video output is supported, this package also installs the HDMI Audio Driver. File name: sp71253.exe As far as the Fn keys being 'flipped,' I have no idea what you mean by that, or what to do about it. Did you install the software that controls the funtion keys? This package contains the HP System Event Utility, which enables special function keys on supported notebook models to be programmed. For example, HP System Event Utility enables users to press the Fn+ESC keys to view system information. This software works with the supported operating systems. File name: sp71156.exe

  • What are Numeric Keypad Function keys F13-19?

    I'm new to Apple wired numeric keyboard. Love it...but want to use the function keys F13-19.
    Haven't been able to find doc or discussion-- please can anyone point me in the right direction?
    Thanks!

    Hello:
    Function keys have to be programmed....before you ask, I do not do that or know how to do that.  You can change the way function keys behave:
    http://support.apple.com/kb/PH11378
    Barry

  • Remapping special function keys

    Hello,
    I have a new Penryn MacBook Pro and I like the new special function keys for Expose, Dashboard, and audio controls. However, I use the Expose "Application Windows" command far more often than the Expose "All Windows" command, which is mapped to the F3 key here. Does anyone know how I can map the F3 special function to "Application Windows" instead?
    I have the "Use all F1, F2, etc. keys as standard function keys" preference disabled because I rarely use the true function keys and would like to continue using the special functions with a single keypress. Also, I know I can map the All Windows command to fn-F3, but I'd rather just press F3 if possible.
    I'd prefer to do this without installing a third party extension, but I'm not opposed to editing a config file from the command line if necessary.
    Thanks in advance.
    -Arlo

    Well, I haven't figured out a way to do this. I looked into DoubleCommand, but based on the screen shots I don't think it can do it (or change my right-option key back to an Enter key, which I would also like to do). And the release notes mention a lot of kernel panics, so I didn't want to deal with that. I also looked at Ukelele (sic), but its user manual explicitly states that it can't change to special function keys (and also isn't fully supported under Leopard).
    What I ended up doing is changing the keyboard shortcut for Expose - Application Windows to fn-F3, and Expose - Desktop to fn-F4. So now I can access the three Expose commands and Dashboard with the F3 and F4 keys, with and without the fn. That lets me access those commands with one hand, and frees up my F8-F12 keys for the occasional Word or Flash keyboard shortcut.

  • HT3399 FUNCTION KEYS TO STANDARD KEYS

    Hi, I am trying to play ww2 Online but i can't communicate with teammates or go through basic training becasue my function keys can't be changed to standard function keys. I have a late 2009 iMac 21.5 in and running on 10.7.5. I have a microsoft digital media pro keyboard.

    azeb97 wrote:
    Hi, I am trying to play ww2 Online but i can't communicate with teammates or go through basic training becasue my function keys can't be changed to standard function keys. I have a late 2009 iMac 21.5 in and running on 10.7.5. I have a microsoft digital media pro keyboard.
    Then you need to speak to Microsoft support.

  • How do I turn on the function keys on my keyboard?

    I'm doing a course in Excel and want to use the function keys.  Right now they are operating as brightness, sound and whatever else is on the top of the key. I have pushed the fn key with the F2 key but it isn't doing the thing in Excel. I went to help and followed the instructions to change them to function keys permanently but there was no Keyboard preferences, there's something that says "Keyboard & Text......." but all it talks about is changing the focus.  I can't find anything in any of the other headings where I can "select the 'Use all F1, F2 etc. keys as standard fucntion keys.
    Can anyone help me with this?
    heidig7

    Hi heidig,
    Go to the System Preferences>Keyboard:
    I believe this is what you are looking for?
    Cheers,
    GB

  • Changing functionality of Function Keys in forms 10g

    Dear users....One of the big difficulties users facing in my 10g forms applications is that its Function Keys have totally changed like that of Enter-Query or Execute-Query. In forms 6i user was habitual of working with F-7 & F-8 for this purpose but in 10g its quite different. Can u tell me that how can I match the functionality of these Function Keys in 10g to that of Forms-6i???

    Hey Arun...I've read urs recommended post, I wish to give u 10 pts if u give me the answer for this question too ;) Can I use my newly created fmrweb.res in my own application? I mean other users should keep on using the default fmrweb.res file but I should use the file compatible with 6i shortcut keys. Is there any configuration for this in formsweb.conf file?

  • For some reason the function keys on my mac book changed, I restored them and now the shift keys have the function of showing the desktop and all windows.  I there a way I can restore the original function?

    For some reason the function keys on my mac book changed, I restored them and now the shift keys have the function of showing the desktop and all windows.
    I there a way I can restore the original function?

    You do not tell us what OS version you have. In OS 10.8.2, do this:
    Apple Menu / System Preferences / Language and Text / Input Sources.
    Select the language you want. Mine is set to Canadian English.

  • PCUI: Changing screen structure dynamically

    How to change screen structure dynamically, i.e based on the input need to display details of corresponding structure.

    Hi Arun ,
    I am not too sure what your question means .If you want to change fields dynamically then screen-variants are
    a good way to do it.
    If you want to change the entire structure itself for the same ROLE then you can try a viewswitch which combines several tab pages .
    More details about this is available ib the PCUI cookbook.
    (Implementing People-Centric User Interfaces with Business Server Pages and SAP Enterprise Portal).
    An extract is given below -
    To minimize the number of tabstrips, a so-called viewswitch is offered. This means that within one tab, multiple views are available and can be selected from a dropdown list in the toolbar. This viewswitch works in the same way as the tabs on a lower level. A viewswitch should be used for similar content, for example: Instead of using the three tabs Competitor Address, Competitor Products and Competitor Strategy, they can be combined to one viewswitch OPP_Competitor with the fields address, products, and strategy in the dropdown list box in the toolbar. The dropdown list box only appears if the viewswitch tab is active. To build a viewswitch, several tabs have to be combined to a viewswitch group.
    Regards,
    Satyadeep

  • L420 Screen Brightness does not change with Function Keys

    I have installed the latest driers and since then I am unable to change the screen brightness using function keys. I have installed multiple driver updates hence it is difficult to find out which driver is causing the issue. Any pointers in this regards would be a good help.
    Solved!
    Go to Solution.

    The newest Intel HD driver (from Intel) is causing this issue. Uninstall it and reinstall the driver provided from Lenovo.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    This will help the rest of the Community with similar issues identify the verified solution and benefit from it.

  • Change functionality of function keys (Key-F)

    If I want to change the Function key (F11) for Enter-Query then how can I do this ?
    PS

    Hi
    Pls u should mentions ur forms version ...!
    Pls try KEY-ENTQRY Trigger if u want to do something Then write what u want to do..
    For more information Study the following link
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/configure011.htm
    and some more...
    http://www.orafaq.com/forum/t/31826/2/
    Hope this helps...
    Regards,
    Abdetu...
    Edited by: Abdetu on Mar 2, 2011 2:06 AM

  • How to change the Function Keys functionality?

    Hello everyone I'm new here :)
    I have a stupid big problem which is whenever I try to click the function keys in Programs, Games, etc.. it doesn't work for that program or game it just does what's on them!
    For an example when I click on F10 or F9 it changes the volume, and when I click on F2 and F3 they change the brightness of the screen!!! And F5 doesnt refresh!!! Thats it they do nothing else at all, how can I change that to their old original ways like in Windows Vista and XP!!!
    I'm not sure if the problem is with Windows or Toshiba Laptop, I have a Toshiba Satellite Windows 8.
    Pleaaaaaaaaase someone help! This is urgent.

    You can change it to work in standard mode.
    To do this open Toshiba desktop Assist > System settings > Keyboard and change Function keys mode to Standard F1-F12 mode.
    After restart check it again.

Maybe you are looking for

  • Can't see HDD in Finder

    Hello everyone! I have a WD 2TB My Passport which used to be recognised on my iMac until I upgraded to Mavericks 10.9.2. At the same time I copied some files off the HDD onto a PC, so not sure which of these events caused it, but now I can't see the

  • Dynamic table needs to break to 2nd page

    Hi, Still consider myself clueless when it comes to dynamic properties in a form. I have a user interface that collects and stores data for some of our business accounts. A chunk of these fields are free-form text boxes. I need the ability to simply,

  • Photoshop Elements - preferred 'default' Layout?

    When I first started using the program, the opened files were 'tabbed', only one open a time in the workspace. Then I made the mistake of playing wiith the other options, to see what thy presented, and ever since, the 'default' Layout is 'floating',

  • Cfencode.linux segmentation fault

    Does anybody have cfencode.linux working? I keep getting a segmentation fault with I actually try to cfencode a file (cfencode somefile.cfm). If I just do a cfencode, this seems to work in that it prints out the usage message. Mike

  • In which screen can I see profit centre MARD - PRCTL

    Hi experts, In the material master screen where can I see the MARD-PRCTL field. I am not able to find it. Any suggestion would help. Assure of points. Francis Edited by: Francis Yesudas on Jun 11, 2008 2:08 PM