Settings for SAP ODA

If you are using SAP ODA for the first time, maintain the settings for the integration as follows:

  1. You create an OPC DA source system in the PCo Management Console.

  2. In the ERP system or in the S/4HANA system, you use transaction SM59 to create an RFC destination for the agent instance. (See Defining an RFC Destination.)

  3. In the PCo Management Console, you create an RFC destination system of type SAP ODA for your ERP or S/4HANA system, and make all the required settings on the RFC Client Settings tab. (See RFC Destination System.)

  4. In the PCo Management Console, you create the agent instance and make the settings for the SAP ODA RFC server on the Servers tab. (See SAP ODA RFC Server.)

  5. You create a notification template with the following settings:

    • Trigger tab:

      • The Enabled checkbox is selected.

      • The Always trigger type is set.

      • All other fields remain empty.

    • Remote Subscription tab

      • Enter the Lifetime of the subscription in seconds (see Notification Template: Remote Subscription Tab).

        When using the PI Sheet in ERP or S/4, you should set the lifetime to be longer than the time in which a PI sheet is open at once. For example, you can enter the shift duration or the duration until automatic logoff.

    • Destinations tab: Here, you specify the destination system that you have created for your ERP or S/4HANA system.

  6. You start the agent.

  7. In the ERP system or S/4HANA system, you use transaction COOPC1 to make the following settings:

    • You define the basic settings.

    • You use the RFC connection described under point 3 to define the OPC server.

    • You make the settings for the OPC DA tag.

    For more information, see Settings in Transaction COOPC1.