Microservices

SapR3Monitor

SapR3Monitor acts as a JCoIDocServer to receive IDOCs from SAP System. The JCo server program is registered in the component via the SAP Gateway and waits for inbound IDOCs.

Points to note

The following third-party files need to be downloaded to use this component in windows.

  • sapjco3.jar

  • sapidoc3.jar

  • sapjco3.dll (Windows) OR libsapjco3.so (Linux)

The files can be downloaded from the SAP Service Marketplace. The following URL may be used to navigate to the third-party website from where these files can be downloaded: http://service.sap.com/.

After downloading the files, you need to add resources to a microservice to the SAPR3 component.

Configuration and Testing

SAP Logon Settings

worddavb4a4f356ecd520c4b043650e8e39038e.png
Figure 1: SAP Logon Settings

SAP Logon Configuration

worddav7dc292dc656accd7aec690a8e52e4170.png

Figure 2: SAP Logon Configuration

  • Client: SAP Logon Client

  • User Name: SAP Logon user

  • Password: SAP Logon Password

  • Language: SAP Logon Language

  • Host: Host name of the application server

  • System: SAP system number

  • Client Additional Properties: Provide the additional properties for Client

Server Connection Settings

worddav7f6eebba23608f039309fbdbbbd7f02b.png
Figure 3: Server Connection Settings

  • Sap Gateway Host Name: Enter the SAP gateway host name.

  • SAP RFC Destination/Program Id: Enter the program Id in SAP RFC Destination. Program ID is configured under sm59 transaction of SAP.

IDOC Selection

Provide the IDOC Type and then select the IDOC from the IDOC Selection Dialog as shown in figure. IDOC Extensions if any, will be shown in the brackets.

worddavafea95193e88b0d373c0bab558a3af9d.png
Figure 4: IDOC Selection

Functional Demonstration

worddav08013ebe63960bc44b1bd387a39e387c.png
Figure 5: Sample Scenario

Image below shows Outbound IDOC Processing from SAP GUI Test tool(code: we19)

worddavcf1842dd1ec2265e9846e8de71e0838e.png
Figure 6: IDOC Processing

worddav9147cc16a1a4ba67102d5fa614298c3e.png
Figure 7: Sample Output