Skip to Content
0
Apr 14, 2010 at 12:54 PM

Logical Path Problem

45 Views

hi,

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.