2008 Aug 01 8:07 AM
hai friends,
After designing my sel-screen, For one radio button i am not getting the F4 symbol at the end of my text box.of-course F4 functionality is working when i double click on my radui button.but as it's not a feasible solution.anybody have solution for this.if u want check my code also.
SELECT-OPTIONS : s_date FOR ztbukxxin003-z_manufdate NO-EXTENSION.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-006.
PARAMETERS : p_rad1 RADIOBUTTON GROUP rad1.
PARAMETERS : p_file LIKE rlgrap-filename.
PARAMETERS : p_rad2 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
PARAMETERS : p_lopath LIKE filename-pathintern.
PARAMETERS : p_lofile LIKE filename-fileintern DEFAULT 'ZTBUKXXIN008'
.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
PERFORM validate.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF p_rad1 EQ 'X'.
PERFORM get_local_file USING p_file.
ELSEIF p_rad2 EQ 'X'.
PERFORM get_appl_file USING p_lofile.
ENDIF.
the code for perform local file is
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = p_file
def_path = 'C:\'
mode = ' '
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
Note : Here the reason for commenting the line atsel-screen on value-request is bcz the cursor is not going forward if i select the application server button
2008 Aug 01 8:25 AM
hiii mahesh
you can not have F4 help with radio button..with text box you just uncomment at selection screen on value request..like below.it will display symbol with text box only
SELECT-OPTIONS : s_date FOR sy-datum NO-EXTENSION.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-006.
PARAMETERS : p_rad1 RADIOBUTTON GROUP rad1.
PARAMETERS : p_file LIKE rlgrap-filename.
PARAMETERS : p_rad2 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
PARAMETERS : p_lopath LIKE filename-pathintern.
PARAMETERS : p_lofile LIKE filename-fileintern DEFAULT 'ZTBUKXXIN008'
.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
*PERFORM validate.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF p_rad1 EQ 'X'.
PERFORM get_local_file USING p_file.
ELSEIF p_rad2 EQ 'X'.
*PERFORM get_appl_file USING p_lofile.
ENDIF.
*the code for perform local file is
*&---------------------------------------------------------------------*
*& Form get_local_file
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_P_FILE text
*----------------------------------------------------------------------*
form get_local_file using p_p_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = p_file
def_path = 'C:\'
mode = ' '
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
endform. " get_local_fileregards
twinkal
hai friends,
After designing my sel-screen, For one radio button i am not getting the F4 symbol at the end of my text box.of-course F4 functionality is working when i double click on my radui button.but as it's not a feasible solution.anybody have solution for this.if u want check my code also.
SELECT-OPTIONS : s_date FOR ztbukxxin003-z_manufdate NO-EXTENSION.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-006.
PARAMETERS : p_rad1 RADIOBUTTON GROUP rad1.
PARAMETERS : p_file LIKE rlgrap-filename.
PARAMETERS : p_rad2 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
PARAMETERS : p_lopath LIKE filename-pathintern.
PARAMETERS : p_lofile LIKE filename-fileintern DEFAULT 'ZTBUKXXIN008'
.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
PERFORM validate.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF p_rad1 EQ 'X'.
PERFORM get_local_file USING p_file.
ELSEIF p_rad2 EQ 'X'.
PERFORM get_appl_file USING p_lofile.
ENDIF.
the code for perform local file is
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = p_file
def_path = 'C:\'
mode = ' '
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
Note : Here the reason for commenting the line atsel-screen on value-request is bcz the cursor is not going forward if i select the application server button
2008 Aug 01 8:25 AM
hiii mahesh
you can not have F4 help with radio button..with text box you just uncomment at selection screen on value request..like below.it will display symbol with text box only
SELECT-OPTIONS : s_date FOR sy-datum NO-EXTENSION.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-006.
PARAMETERS : p_rad1 RADIOBUTTON GROUP rad1.
PARAMETERS : p_file LIKE rlgrap-filename.
PARAMETERS : p_rad2 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
PARAMETERS : p_lopath LIKE filename-pathintern.
PARAMETERS : p_lofile LIKE filename-fileintern DEFAULT 'ZTBUKXXIN008'
.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
*PERFORM validate.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
IF p_rad1 EQ 'X'.
PERFORM get_local_file USING p_file.
ELSEIF p_rad2 EQ 'X'.
*PERFORM get_appl_file USING p_lofile.
ENDIF.
*the code for perform local file is
*&---------------------------------------------------------------------*
*& Form get_local_file
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_P_FILE text
*----------------------------------------------------------------------*
form get_local_file using p_p_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = p_file
def_path = 'C:\'
mode = ' '
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
endform. " get_local_fileregards
twinkal
2008 Aug 01 8:48 AM
Hi Patel,
But if i use the at sel-screen on value-request then i am getting the problem in other radio button.that's why i am not using it.
2008 Aug 01 9:38 AM
hii mahesh
tell me about your requirement and what problem you are getting with second radiobutton?
regards
twinkal
2008 Aug 01 10:08 AM
2008 Aug 01 9:33 AM
2008 Aug 01 10:07 AM
hi,
that questuon is for the button not wroking.this is for F4 symbol.can u tell me how it became same. please read the question once again.
2008 Aug 04 6:56 AM