A logical path can be used to avoid hardcoding file server path or file name in a program. That way, if the server path ever changes, no program change needs to be applied. Only the logical path needs to be changed.
Another possible situation is when file server structure is based on system ID.
In this example, system ID (L9D for development system) will be replaced by a variable in the logical path that represents system ID. That way, program and logical path can be moved through the landscape without file server path error.
Tip: Function FILE_GET_NAME can be used to retrieve actual file server path and file name.