02-02-2006 11:36 AM
Hi,
I have put in a screen this
SELECTION-SCREEN PUSHBUTTON /01(20) p_0031 USER-COMMAND _0031.
But It never enters 'at user-command' event !
What should i do ?
02-02-2006 11:40 AM
Hi Stephan
If you specify the USER-COMMAND addition, the pushbutton must be assigned a function code fcode. The function code fcode must be specified directly and can only contain a maximum of 20 characters.
Before you can work with the pushbutton, you must specify a TABLES statement to declare an interface work area for the structure SSCRFIELDS from the ABAP Dictionary.
If the user selects the pushbutton on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and the function code fcode is transferred to the ucomm component in the interface work area sscrfields.
Regards
Santosh
02-02-2006 11:40 AM
Hi Stephan,
check this demp program..
<b>demo_sel_screen_pushbutton</b>
regards
vijay