Process Settings for the Data Exchange Using Queries

Use

The following steps are necessary for running and evaluating queries.

Process

Step

System

Activity

1

Business Suite system

Defining an RFC destination (transaction SM59):

  • You create an RFC connection of type TCP/IP (T) with the activation type Registered Server Program. See also: Defining an RFC Destination.

  • You define the gateway options.

  • You can choose whether you define the data for secure network communication (SNC). See also: SNC Settings

2

Business Suite system

Assigning authorizations

You need to assign the necessary authorizations to the User that is used to exchange RFC data between the Business Suite system and PCo. The Authorization Object S_PCO_INT is available for this purpose. You can assign the authorization object to the user role.

Alternatively, the following roles for integration in transaction PFCG are available as templates that you can assign to the user:

  • SAP_BC_SRV_PCO_BS_INT_ADMIN

  • SAP_BC_SRV_PCO_BS_INT_USER

3

PCo

Adding a source system

You select the Source System Type (for example, OPC DA Agent) and enter the server connection data.

4

PCo

Adding a destination system

You select the destination system type RFC Destination and maintain the RFC client data:

  • Application server and additional connection data for associated SAP Business Suite system

  • Type SAP NW

For more information, see RFC Destination System.

5

PCo

Adding an agent instance

You create the agent instance for the previously created source and destination system.

  • On the Host tab of the agent instance, enter the Service User Name and the Service User Password to run the PCo agent instance as an MS Windows Service. See also: Host Tab

  • On the Query Ports tab, maintain the settings for the port type SAP NW RFC Server:

    You enter the RFC server settings.

    You enter the name of the registered server program that was defined in the RFC connection.

    You assign the destination system that provides the information for the repository structure of the .Net Connector.

    See also: Servers Tab (SAP NW RFC Server)

6

Business Suite system

Implementing method calls for the ABAP wrapper classes of package S_PCO

  • You assign the name for the application handle that is transferred to PCo.

  • You create the method calls in suitable positions in the code of Business Suite applications (for example, user exit, BAdI)

  • For sample implementations, see 1576651 Information published on SAP site.

7

PCo

Starting an agent instance

8

Business Suite system

Running a Business Suite application