Rule Definition
In order to ease change and to hide platform specific information from any potential misuse, it is highly recommended to use SAP ABAP logical paths instead of hardcoded paths.
Remediation
Use standard SAP ABAP logical paths instead of hardcoded paths and the standard ABAP function "FILE_GET_NAME" instead.
Reference
Creating and Defining Logical Paths
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/content.htm
Related Technologies
Technical Criterion
CWE-1051 - Initialization with Hard-Coded Network Resource Configuration Data
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.