2008 Aug 07 6:31 PM
Hello Friends,
Which is the FM used to get F4 HELP(search help) for the application server?
Thanks in advance!
Ashish
Hello Friends,
Which is the FM used to get F4 HELP(search help) for the application server?
Thanks in advance!
Ashish
2008 Aug 07 7:02 PM
2008 Aug 07 7:50 PM
SUBST_GET_FILE_LIST
F4_DXFILENAME_TOPRECURSION
********
FM :FILE_GET_NAME - get physical file name from a logical file name.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = lds_name "logical filename
IMPORTING
file_name = ds_name "physical filename
EXCEPTIONS
file_not_found = 01.
2008 Aug 08 7:41 AM
Hi,
Call FM to get the help on the Selection screen
SELECT pathintern FROM filepath
INTO TABLE t_filepath.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = c_field1
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = c_field2
value_org = c_value
TABLES
value_tab = t_filepath
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE e054. " Unable to get the Path !
ENDIF.
Thsi is the code for get F4 help in application server.
Regards
radha
2008 Aug 08 7:50 AM
For file path:
Use Function 'F4_dxfilename_toprecursion'
For folder path:
Use Function '/SAPDMC/LSM_F4_SERVER_FILE'.
Regards,
Shailaja
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |