You are facing an issue while using data conversion tool LSMW. When you try to upload data through batch input recording you get error message. Message no. SG813
"No physical path is configured for logical file name /SAPDMC/LSMW_FILE".
SAP S/4HANA 1610 / SPO LSMW environment
Reproducing the Issue
1- Tcode LSMW
2- Choose a project, subproject and object.
4- Go to go to “Display Read Data” or “specify files” and execute.
5- The error “No physical path is configured for logical file name /SAPDMC/LSMW_FILE” appears.
The problem is that LSMW internally validates entered filenames for directory traversal threat (for the details see Note 1497003 – Potential directory traversals in applications). For this purpose it uses Logical file path ‘/SAPDMC/LSMW_FILE_LP’ (used within Logical file name ‘ /SAPDMC/LSMW_FILE’). The Logical file path ‘/SAPDMC/LSMW_FILE_LP’ is configured empty in your system. You have also have switched on validation enforcement switch that causes validation failure in case the used Logical name/path is empty.
Please refer to the note below:
Note 1497003 – Potential directory traversals in applications
You have now 2 options:
1. Switch off the validation enforcement switch – open transaction SM30 for Table/View FILECMCUST and click Maintain. Here change the configuration for parameter ‘REJECT_EMPTY_PATH’ from ‘ON’ to ‘OFF’.
2. Define a Physical path for the Logical path ‘/SAPDMC/LSMW_FILE_LP’ – open transaction FILE and in Logical File Path Definition find Logical Path ‘/SAPDMC/LSMW_FILE_LP’. Select it and double click ‘Assignment of Physical Paths to Logical Path’ and define the Physical path.