2008 Mar 12 4:15 AM
Hi Guys,
I have a requirement that there should be an F1 help on two radio buttons i have. Is there any way i can achieve this?? Helpful answers will be rewarded suitably.
Hi Guys,
I have a requirement that there should be an F1 help on two radio buttons i have. Is there any way i can achieve this?? Helpful answers will be rewarded suitably.
2008 Mar 12 4:37 AM
Hi,
u can write the messages in at selection screen on help-request event.
at selection-screen on help-request for <rad1>.
message xxxx (ZZ).
rgds,
bharat.
2008 Mar 12 4:39 AM
2008 Mar 12 4:42 AM
Hi friend,
If we want F1 help on particular firls then we can use AT SELECTION-SCREEN ON HELP REQUEST FOR <FIELD> event.
If we want F4 help on particular firls then we can use AT SELECTION-SCREEN ON VALUE REQUEST FOR <FIELD> event.
Reward if useful.
Regards,
Swetha.
2008 Mar 12 5:02 AM
Hi Jayesh,
In the PAI event of the selection screen, the event
AT SELECTION-SCREEN ON RADIOBUTTON GROUP <radi>
is triggered when the contents of all of the fields in a radio button group are passed from the selection screen to the ABAP program. To define a radio button group <radi>, use the addition RADIOBUTTON GROUP <radi> in the corresponding PARAMETERS statements. This event block allows you to check the whole group. If an error message occurs within this event block, the radio button group is made ready for input again on the selection screen. The individual fields of radio button groups do not trigger the event AT SELECTION-SCREEN ON <field>.
Example
REPORT EVENT_DEMO.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
R2 RADIOBUTTON GROUP RAD1,
R3 RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
PARAMETERS: R4 RADIOBUTTON GROUP RAD2 DEFAULT 'X',
R5 RADIOBUTTON GROUP RAD2,
R6 RADIOBUTTON GROUP RAD2.
SELECTION-SCREEN END OF BLOCK B2.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
IF R1 = 'X'.
MESSAGE W040(HB).
ENDIF.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD2.
IF R4 = 'X'.
MESSAGE W040(HB).
ENDIF.
If the user does not change one of the radio button groups, a warning is displayed.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |