Logical Path Problem
Good day guys
Ive created the Logical path for mmi interface. its working fine. but in the logical path ive given the drive is H:
Bcoz in the dev system drive is H: one which is maintain the file.
But for the Quality and Production , Drive is different.. its in D:
How to solve it? can any one plz tell me
CALL FUNCTION 'FILE_GET_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = lv_log_file * OPERATING_SYSTEM = SY-OPSYS parameter_1 = lv_log_file * parameter_2 = sy-uzeit * parameter_3 = '.txt' use_presentation_server = 'X' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELEMINATE_BLANKS = 'X' IMPORTING * EMERGENCY_FLAG = * FILE_FORMAT = file_name = outfile * EXCEPTIONS * FILE_NOT_FOUND = 1 * OTHERS = 2 . ELSE. CONCATENATE outfile sy-datum sy-timlo '.txt' INTO outfile. ENDIF.
When you are not in development, you can assign a different physical path to the same logical path in your staging system via the file transaction. As long as you use the logical path name in your code, it will be interpreted correctly with the setup in the system.