Background documentationConfiguration of Data Exchange with FTP

 

You can use the Billing Consolidation Connector (FIN-FSCM-BC-CON) component to exchange electronic files by File Transfer Protocol (FTP).

Prerequisites

You have implemented the instructions of SAP Notes 1497003 and 1508060.

Process

The system writes to the file system the DocumentSet messages that were created and reads the DocumentSet messages that were received there.

  1. Configure the directory structure of the file system in Customizing for Financial Supply Chain Management under Start of the navigation path Billing Consolidation Next navigation step General Settings Next navigation step Define Basic Settings End of the navigation path.

  2. Select the File System value for the middleware that is used.

  3. In the Directory for Outgoing Messages, enter the master directory for the outgoing DocumentSet-Messages.

    Note Note

    The system creates the directory structure for outgoing DocumentSet messages from the following information:

    • Directory registered for outgoing messages

    • Client from the SAP system

    • Your own ID with the service provider

    • toSend (fixed element)

    An example of a directory structure for outgoing DocumentSet messages is as follows: d:\edx_work\502_41019658412654785\toSend

    End of the note.

    The FTP client reads the DocumentSet message from the toSend directory and passes it on to the service provider. After it has been successfully passed on to the service provider, the file must be deleted in this directory.

  4. In the Directory for Incoming Messages, enter the master directory for the outgoing DocumentSet messages.

    Note Note

    The system creates the directory structure for incoming DocumentSet messages the same way as for the directory structure for outgoing messages. However, the fixed element is toProcess in this case. An example of a directory structure for incoming DocumentSet messages is as follows: d:\edx_work\502_41019756324584569\toProcess

    End of the note.

    As soon as the system processes a new DocumentSet message, it moves it from the toProcess directory to the inProcess directory. It also enters all documents from the DocumentSet message in table EDX_PARK. Once this step is successfully completed, the system deletes the DocumentSet message from the inProcess directory. If an error occurs, the system moves the file to the withError directory. You should therefore check this directory regularly for messages that the system cannot process. Once you have analyzed and corrected the error, you can process the message again by moving it to the inProcess directory.