Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module used for F4 Help for application server

Former Member
0 Likes
664

Hello Friends,

Which is the FM used to get F4 HELP(search help) for the application server?

Thanks in advance!

Ashish

4 REPLIES 4
Read only

Former Member
0 Likes
647

Use FM:

F4_DXFILENAME_TOPRECURSION.

Read only

Former Member
0 Likes
647

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.

Read only

Former Member
0 Likes
647

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

Read only

Former Member
0 Likes
647

For file path:

Use Function 'F4_dxfilename_toprecursion'

For folder path:

Use Function '/SAPDMC/LSM_F4_SERVER_FILE'.

Regards,

Shailaja