‎2009 Feb 25 3:23 PM
Hallo experts,
I have a screen say 100. On this screen I have a listbox containing options 01, 02, 03. Now as soon as i select a particular option i want to display a popup message. but without clicking enter or say clicking any button. no activity is done after the selecting an option only the message is poped up.
Is anyone aware of some methods or events that can make this possible.?
Thanks.
‎2009 Feb 25 3:32 PM
Hi,
Use USER-COMMAND fcode addition when declaring listbox. Now when you just pick up the value it will trigger PAI immediatelly with sy-ucomm = fcode so you can display your pop-up after doing this check.
Regards
Marcin
‎2009 Feb 25 3:32 PM
Hi,
Use USER-COMMAND fcode addition when declaring listbox. Now when you just pick up the value it will trigger PAI immediatelly with sy-ucomm = fcode so you can display your pop-up after doing this check.
Regards
Marcin
‎2009 Feb 25 3:32 PM
Hi,
When create a Checkbox in Screen painter.
Goto>Properties>Enter name of the checkbox in FCTCODE
And handle the FCTCODE in PAI of the screen.
Or,
GOTO>properties>Display tab-->check the box RESPOND ON DOUBLECLICK.
Hope this resolves your issue.
Regards,
Gurpreet
‎2009 Feb 25 3:34 PM
You can attach a Function Key to a field if it as a dropdown list, so manage this function code in PAI to display the popup.
- Call SE51 on your dynpro, double-click on the field, check if dropdown value is listbox and add a custom Function Code.
- In the PAI, find the user command module, and there when checking the ok_code value, manage the display of your popup.
Look at [User Actions on Screens|http://help.sap.com/saphelp_47x200/helpdata/en/54/0608162d0711d295520000e8353423/frameset.htm] and [Defining the Element Attributes|http://help.sap.com/erp2005_ehp_04/helpdata/EN/images/locate.gif]
Regards