‎2006 Sep 14 3:47 PM
HI All,
I have to call a F4 value request at the selection screen by choosing one of the two radio buttons in the selection screen.I know that for calling f4 value request I have to use SELECTION-SCREEN VALUE-REQUEST on <FIELD>.
but the problem is that i am not able to get the value of the radio button i.e. it is cheked or not.
<b><u>actual scenario:</u>
I have to upload a file using the function module.
I can upload the file either from pc or application server of sap.
so for pc upload i am using a function module which will open the browser, this will only happen when pc named radiobutton is checked.
but in case of application server the user have to manually enter the file path when the app radio button is clicked but in case of application server the browser should not popup.</b>
‎2006 Sep 14 3:49 PM
Use DYNP_VALUES_READ in your AT SELECTION-SCREEN ON VALUE-REQUEST block to get the values of other screen parameters.
‎2006 Sep 14 3:49 PM
Use DYNP_VALUES_READ in your AT SELECTION-SCREEN ON VALUE-REQUEST block to get the values of other screen parameters.
‎2006 Sep 14 3:52 PM
‎2006 Sep 14 3:54 PM
MOVE: 'P_RPRT' TO T_DYNFIELDTAB-FIELDNAME.
APPEND T_DYNFIELDTAB.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TABLES
DYNPFIELDS = T_DYNFIELDTAB
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11
.
IF SY-SUBRC = 0.
READ TABLE T_DYNFIELDTAB INDEX 1.
IF SY-SUBRC = 0.
MOVE T_DYNFIELDTAB-FIELDVALUE TO P_RPRT.
ENDIF.
ENDIF.
‎2006 Sep 14 3:51 PM
Hi guru,
1. there are two radio buttons, A and B
2. A is for front-end
B is for application server.
3. User choose B.
4. Then if he presses F4 on the filename,
he should not get any F4 help.
5. So, here u must get the value
IF B = 'X'.
regards,
amit m.
‎2006 Sep 14 3:56 PM
My dear friend Amit Mital,
I have to Modify it in the POV eevnt.
The solution proposed by you can only happen in PAI event.
‎2006 Sep 14 3:51 PM
‎2006 Sep 14 3:53 PM
‎2006 Sep 14 3:53 PM
Hello,
Did u use the following EVENT,
AT-SELECTION SCREEN ON RADIOBUTTON GROUP ABC.
Regs,
Venkat Ramanan N
‎2006 Sep 14 3:54 PM