Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting F4 help based on Logical file path/Name

Hi All,

I have a issue relating to getting into AL11 based on logical file path/name.

Supoose i have 2 text fields in my selection screen:

1. Logical File path.

2. Files for Logical File path.

If user enters F4 on 1st field he will get all the logical paths available in the system.

Then in the 2nd field if user presses F4 it should show all the files against 1st field logical file path directory. How can we achieve this!

Ex: In FILE Transaction : My logical file path is: ZLFTEST

I have assigned physical path as: /SAP/FI/DATA/IN/<FILENAME>

In our case if user selects ZLFTEST in 1st field and then presses F4 on 2nd field it should give me all the file names stored under /SAP/FI/DATA/IN/

How can we achieve this!

Former Member

F4 on path

Use the search help H_FILEPATH (in the parameter/field definition or via function modules like [F4IF_FIELD_VALUE_REQUEST|])

F4 on file

get the previous value via function module [DYNP_VALUES_READ|] then use a function module like [SAPDMC/LSM_F4_SERVER_FILE|] or [FILE_GET_NAME_AND_LOGICAL_PATH |]or [FILE_GET_NAME_USING_PATH |]

Also there are already some threads on this subject : [perform some search at sdn|]


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question