How to add function key to a menu exit in a standard transaction
Hi all,
I have a requirement to add a function key for a menu item in a standard transaction.
In Menu bar we have an option Extras->Other->Repricing . Now my requirement is if i click a function key (ex. F9) the code under the menu exit (Repricing) should trigger. For that i had a function exit EXIT_SAPLJHPA_011 and in this the menu exit SAPLJHPA +CU7 is defined.could anyone suggest me the procedure in detail to add a function key..
Thanks in advance,
Uday.
Hi
for this u have to edit standard PF-status, that particular transaction is using. becarefull as the same pf-status may be used for many programs.
get the PF-status for that program. you can get the pf-status via se80, give the program name and u can get the the list of all the objects of that prigram, there you can edit the standard status and can add the function key to your menu item.
Similar Messages
-
How to add new fields to a table control in a standard transaction JHA3X
Hi All,
We have a requirement where we have to add two new fields to a table control
in a standard transaction JHA3X .
We don't want any changes into our standard code and also we don't have any USER EXIT for that
screen.
Please provide with some solutions for the same .
Thanks in advance .You will need add this to the /var/clientlibs/libs/cq/security/widgets.js and add the field under the 'CQ.security.UserProperties'. For example, if you wanted to add a field to show the 'Middle Name' under the 'First Name' field, you can try adding the following:
"items":[{
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Login"),
"anchor":"100%",
"disabled":true,
"allowBlank":false,
"name":"rep:userId"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("First Name"),
"anchor":"100%",
"name":"givenName"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Middle Name"),
"anchor":"100%",
"name":"middleName",
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Last Name"),
"anchor":"100%",
"name":"familyName",
"allowBlank":false
Hope this helps.
-Ron -
How to reassign function key to a letter
In filemaker we regularly type in numbers in a field that also sometimes needs an X (entering ISBNs)
How can I reassign F16 to type a X when used?Hi
for this u have to edit standard PF-status, that particular transaction is using. becarefull as the same pf-status may be used for many programs.
get the PF-status for that program. you can get the pf-status via se80, give the program name and u can get the the list of all the objects of that prigram, there you can edit the standard status and can add the function key to your menu item. -
How to Add function modules to retrieve current month
how to Add function modules to retrieve current month from TVARV variables (currently we have functions to do close month).
Hi
Double click on the CODE for the line..
SET PF-STATUS 'XYZ'.
It will open the Menu Painter (SE41). Click on the Function Keys Tree Node and And assign the
Function Keys and Function codes for the Menu Items.
Hope this would help you.
Murthy -
Hey i hav an hp pavilion g series n i would like to kno how use the function keys without having to
hey i hav an hp pavilion g series n i would like to kno how use the function keys without having to click on the fn + function key
Hi,
You can change this in your system bios as described in the link below.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
How to add a search help to a field Bank Type in Transaction FK02
Dear All,
How to add a search help to a field Bank Type in Transaction FK02.
Is there any possibilty of using exit or searc help or domain to solve this problem.
Thanks in Advance..
Thanks,
Lakhsmi.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
How to run function(s) on ANY program exit?
I can easily do this when someone selects "Exit" from the program's menu, with this code:
AllSortsOfExitCode()
System.out.println("Ok, everything is wrapped up. Now we will end the program.");
System.exit(0);
BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
I can't figure out how to do that.
I need to override the class destructor or something, but I don't think Java has destructors in the classic sense. I found one 4-page thread about "Java destructors" but it was just an argument between a couple people -- I didn't learn anything from it.
Thanks,
MatthewCathInfo wrote:
BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
Thanks,
MatthewThe earlier replies cover the case you described above. But your thread title says something else:
How to run function(s) on ANY program exit?Answer - you can't. Power loss can't be handled. Shutdoen hooks can help with most other conditions, see
http://www.google.com/search?num=100&hl=en&c2coff=1&q=java+shutdown+hook&btnG=Search -
How to set functional keys as shortcuts for menu items in AWT?
Hello!
I want to set functional keys as shortcuts for menu items in AWT, for example F1, F2... Here's my code:
MenuItem menuItemHelp = new MenuItem ("Help", new MenuShortcut(KeyEvent.VK_F1));
But, in result, this menu item is activated, when Ctrl-V pressed. Why?
Thanks in advance for help.I have no idea what is going on but if you reinstall the jdk then it might fix it. I had some similar problems myself but reinstalling fixed them.
-
How to add "security key" functionality in the software.
hi, i want to implement "security key" functionality in the java software so that only one system (clienta0 can use that software. this is to prevent multiple usage of my software. what i have to do? how to generate the keys and implement them. please help. thanks
Hi,
not all key figure types are supported in BPS.
1. All key figure types must have aggregation SUM, SUM.
2. Supported key figure types:
- amout
- quantity
- number (integer, float, dec)
- time, only type DEC
- datum, only type DEC
All other key figures are filtered out and are not available in BPS.
Regards,
Gregor -
Error when trying to assign Function Key as Service menu shortcut
When I try to assign Control-Option-F15 to a Service Menu item in System Preferences > Keyboard > Keyboard Shortcuts I get the following error in the Console:
9/14/09 10:09:27 AM System Preferences[878] * Assertion failure in +[NSKeyboardShortcut shortcutWithKeyEquivalent:modifierMask:], /SourceCache/AppKit/AppKit-1038.11/Menus.subproj/NSMenu_KeyEquivalents.m:37
9/14/09 10:09:27 AM System Preferences[878] Invalid parameter not satisfying: c != nil
Is it possible to assign function keys as keyboard shortcuts to Service menu items?I have the same problem (though I didn't look in the Console): I try to assign F8 to one of my services and the shortcut just stays blank. However, I have found a work-around:
1. Leave the shortcut for the service blank, but make a note of the name -- in my case, "iTunes- PlayPause".
2. Go to "Application Shortcuts" on the left of the Keyboard Shortcuts preference pane.
3. Add an item under "All Applications" giving it the name of your service (eg. "iTunes- PlayPause") and you can then assign a function key as the shortcut (eg. F8).
Since the service appears in the application's "Services" menu, it will now have the shortcut assigned uner "All Applications". An annoying bug, but at least there's a workaround.
Cheers,
Jolin -
How to add License Key For Integration Tool kit For SAP in Linux Server
Dear Experts,
We are Using BO XI R3.1 SP3 Enterprise Version ,Integration Tool Kit For SAP,Live Office.
The Server is Linux Server.
But while generating reports in Infoview it is giving error like ""_check that you are licensed to access SAP Data Source_".
So we came to know that license Key might Expire for Integraton Tool Kit For SAP in Bo Server.
So can you tell me how to add the license key For BO XI R3.1 SP3 Integration Tool Kit For SAP in Linux Server.
Thanks & Regards,
VenkatOn Unix / Linux you should be able to leverage the response from Raphael and change:
Location=%BOBJDIR%/bobje/data/.bobj/registry/software/business objects/suite 11.5/sap/keycode/.registry
For more information verify the below link
[How do you update the SAP Integration Kit license?;
Regrads
Pardhu -
How to add event handling for a menu?
hi,
I have created a menu and few mneu items.
for eachmenu itme , i did event handling and it is workign fine.
it was like this
menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
menuItem.addActionListener(this);
menu.add(menuItem);
public void actionPerformed(ActionEvent e)
JMenuItem source = (JMenuItem)(e.getSource());
String s = "Action event detected. Event source: " + source.getText();
System.out.println(s);
public void itemStateChanged(ItemEvent e)
JMenuItem source = (JMenuItem)(e.getSource());
String s = "Item event detected. Event source: " + source.getText();
System.out.println(s);
now int he second menu i don't have any menu item and i want to do the event handling for the menu itself. any ideas how to do it. following is the code for the menu
//Build the second menu.
menu2 = new JMenu("Options");
menu2.setMnemonic(KeyEvent.VK_O);
menuBar.add(menu2);
menu2.addActionListener(this); //this does nto workYou were on the right track. However, selecting a menu is different from selecting a menu item. MenuItem chucks an ActionEvent and Menu will send an ItemEvent.
If you pile all action output to one actionPerformed method then be careful of your assumptions on what the source type will be. If by any chance the Menu has sent an ActinoEvent then your code will have caused a ClassCastException.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MenuTest implements ActionListener, ItemListener {
JMenuItem menuItem;
JMenu menu1, menu2;
JMenuBar menubar;
JFrame frame;
public MenuTest() {
frame = new JFrame("MenuTest");
frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
menubar = new JMenuBar();
frame.setJMenuBar(menubar);
menu1 = new JMenu("File");
menu1.setMnemonic(KeyEvent.VK_F);
menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
menuItem.addActionListener(this);
menu1.addItemListener(this);
menu1.add(menuItem);
menubar.add(menu1);
//Build the second menu.
menu2 = new JMenu("Options");
menu2.setMnemonic(KeyEvent.VK_O);
menu2.addActionListener(this); //this does not work
menu2.addItemListener(this); // use this instead
menubar.add(menu2);
JPanel panel = new JPanel();
panel.setPreferredSize(new Dimension(100,100));
frame.getContentPane().add(panel);
frame.pack();
frame.show();
public void actionPerformed(ActionEvent e)
String s = "Action event detected. Event source: " + e.getSource();
System.out.println(s);
public void itemStateChanged(ItemEvent e)
String s = "Item event detected. Event source: " + e.getSource();
System.out.println(s);
public static void main(String[] args) {
new MenuTest();
} -
Satellite A300 Function keys drop down menu not displaying
Hey guys,
i think when i was deleting a whole heap of programs i may have deleted something i shouldn't have by accident. When i press and hold the Fn Key and then press one of the function keys (F1-F12), the computer no longer displays the drop down blue menu that it used to. The function key still works but i can no longer see what function i have selected. (i.e. turn blue tooth on/off or see which monitor i am selecting) The light still illuminates on the key board to indicate that i have pressed the function key it is just the drop down menu no longer appears.
Any help you can give would be great.Hmm thanks for that the problem is that during the deletion of all the programs i also did a clean and removed all my restore points as well, will this stop me from restoring the OS or can i still do this, also not sure if i can install VAP. given i didn't look for or delete the previous one (may be the problem) but before i came to the forums here i found and tried to install the new VAP and it couldn't find the files required for it and shut itself down.
Thanks for replying i will see what i can do. -
How to add new folder in sap menu visible to all users
I want to add a new folder in sap menu. i can do it for my user id as it is user specific. I wanna know that how to add a folder so that every user able to see the same i.e irrespective of user-ids.
Hi Ramya,
This can be done in SAP menu instead of User Menu, provided all your users are using SAP menu. If a folder is created in User menu it would be visible only to the user. If it is created in SAP menu and if all the users are using the SAP menu then the folder would be visible to all...
Hope this clarifies your query...
Reward me points...
Regards
Prasanna -
How to add function group to the authorization object S_RFC ?
Hi All,
Can you please tell you how to add the function group FG_DIAGLS_DATA_ENRICHMENT to the authorization object
S_RFC?
In solman_setup under basis configuration when I execute the step "SetupDPC/DCC Web Service URL" its getting failed because of the
following error which i found it in the agent log
"java.rmi.RemoteException:RfcExecutionException; nested exception is:
com.sap.sup.admin.abap.rfc.exception.RfcExecutionException: An
exceptionoccured during the execution of the function
'FM_DIAGLS_PUSH_PHYSICAL_HOST': RFC_NO_AUTHORITY >
com.sap.sup.admin.abap.rfc.exception.RfcExecutionException:An exception
occured during the execution of the function
'FM_DIAGLS_PUSH_PHYSICAL_HOST': RFC_NO_AUTHORITY >
com.sap.mw.jco.JCO$Exception:No RFC authorization for function module
FM_DIAGLS_PUSH_PHYSICAL_HOST. <Mid"
Thanks,
Satheesh EHi,
Please follow below steps:
1) Go to SE01
2) Click on create New workbench request and give desc once popup appears, Click Ok
3) Now open the trasport in edit mode
4) Add
Program ID - R3TR
Object Type - FUGR
Object name - Name of the Function group
>note that if you tranport Function group all the latest Function modules in function group along
>with screens will be included in the transport.
Regards
Shital
Formatted by: Vijay Babu Dudla on Apr 25, 2009 5:08 AM
Maybe you are looking for
-
I cannot get the keyboard to come up on the ipad mini when in the citrix receiver. Has anyone ran into this and do you know how to fix it?
-
How do you access parent component from a child in Flex 4?
Suppose I have a Component A (as a Spark Group) that generates an event, eventX. Inside Component A, I add Component B (also a Spark Group) that wants to add itself as an event listener for eventX. How do I access Component A from Component B to re
-
Dreamweaver and Fireworks Webdesign
I can across this website, www.alphagraphicdesigns.com. They have over 100 different styles to chose from for fireworks to use in Dreamweaver and the pack that you can buy comes with components for flash as well. I definitly recomend this site to any
-
Dear all, Does anybody know whether PI/XI supports the non-blocking serialization function? And in which version? If not, is there any work-around? Thanks a lot. best regards Jing
-
We are using weblogic 8.lSP5 and are having trouble rmi-iiop compatability with other containers. Weblogic mangles an exception name like mycompany.exception.FooException as IDL:mycompany/exception/FooEx:1.0. Other containers including websphere and