Quantcast
Channel: SCN : Discussion List - Customer Relationship Management (SAP CRM)
Viewing all articles
Browse latest Browse all 4296

LCD Command not working in Production

$
0
0

Hello everyone,

 

I have a requirement in which I am fetching a file from client FTP and utlizing it after saving it to SAP appl server.

 

It seems to be working well in Dev, but in prod it doesnt work.

 

'lcd' is the command to Change the local directory to the sap inbound directory.

 

Below is the code snippet :

 

 

 

 

 

    CLEAR cmd.

    CONCATENATE 'lcd' file_d INTO cmd SEPARATED BY space.


    CALL FUNCTION 'FTP_COMMAND'

      EXPORTING

        handle        = mi_handle

        command       = cmd

        compress      = 'N'

      TABLES

        data          = it_data

      EXCEPTIONS

        command_error = 1

        tcpip_error   = 2.

 

 

Kindly let me know how to solve it . Thanks!


Viewing all articles
Browse latest Browse all 4296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>