--- title: "Providing RFC (second option)" slug: "intro-sap-rfc-in-data-providing-2" updated: 2026-07-29T12:57:11Z published: 2026-07-29T12:57:11Z canonical: "docs.lobstersoftware.com/intro-sap-rfc-in-data-providing-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Providing RFC (second option) As an alternative to the method described in [Providing RFC (first option)](/v1/docs/en/intro-sap-rfc-in-data-providing), there is a second configuration option for the Lobster RFC, where the [RFC interface definition as XML file](/v1/docs/en/intro-sap-rfc-in-data-providing-interface) and the parameter "xmlFile" in the [Listener configuration in ./etc/sap.xml](/v1/docs/en/intro-sap-rfc-in-data-providing-listener) are omitted. Instead, the parameter "copyFromPeer" is used. ```xml true ``` This second configuration type can also be used for RFC calls with a Response. Use the following additional parameters. **NOTE:** If "useResponse=true", you also have to use "synchronCall=true", because otherwise the caller would not wait for the response. ```xml true true ``` In this case (RFC sends back a response), the following parameter can be used to ensure that the TABLE parameters [RFC interface definition as XML file](/v1/docs/en/intro-sap-rfc-in-data-providing-interface) are deleted before the response is generated in the profile's Response. Otherwise, the table lines from the request would also be sent back in the response. This is usually not desired. ```xml true ``` When the [SapConnectionServices](/v1/docs/en/sap-connection-service) is started, the configuration of the interface for the relevant request listener/Lobster RFC is not read and loaded from an XML file, but from the repository of the SAP system. Therefore, there must be an active RFC in the SAP system with the same name as defined in the [Listener configuration in ./etc/sap.xml](/v1/docs/en/intro-sap-rfc-in-data-providing-listener) parameter. The interface of the Lobster RFC thus becomes the mirror image of the RFC of the same name in the SAP system. The RFC in the SAP system does not be fully need to be implemented. The interface is sufficient. So this method allows to specify the interface from the SAP point of view and saves the effort of developing the interface XML file. ## Limitation This type of configuration necessarily requires a high availability of the SAP system. At the time of the start of the SapConnectionService, the SAP system must be accessible. In addition, you need to follow the conceptual approach that first the interface is specified, then the implementation in both systems takes place and then the interface is not changed any more. Subsequent changes in the interface of the RFC within the SAP system require a manual adjustment of the profile that implements the "mirrored" Lobster RFC. Subsequent interface changes within the SAP system will therefore usually lead to errors. ## Response to the SAP system It is also possible to send a response back to the SAP system. To do this, the class [PassBackDataResponse](/v1/docs/en/pass-back-data-response) must be used in Phase 6. The response (built with target structure and Integration Unit) must have the following format. *See also*: [Analyze file for structure](/v1/docs/en/dialogue-analyse-file) and [XMLNoTemplateUnit](/v1/docs/en/xml-no-template-unit). ### Example (only fields) ```xml S Success ``` ### Example (only tables) ```xml Hello World
Foo
``` ### Example (both) ```xml S Success Hello World
Foo
``` The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. Responses: The profile stores the source data or sends it, for example, via FTP, HTTP, or e-mail.