Professional Documents
Culture Documents
04-Oracle Integration-ERP Outbound - BIP Report PDF
04-Oracle Integration-ERP Outbound - BIP Report PDF
Oracle Integration
ERP Outbound BIP Report
Contents
EXECUTIVE SUMMARY ........................................................................................................................................................... 2
STORYLINE AND PERSONAS .................................................................................................................................................... 2
OBJECTIVE ............................................................................................................................................................................... 3
Prerequisites ........................................................................................................................................................................... 3
Use case .................................................................................................................................................................................. 3
Logical flow of the integration ................................................................................................................................................ 3
Lab Environments ................................................................................................................................................................... 3
Task Overview ......................................................................................................................................................................... 4
Manage the Agent Group and the On-Premises Connectivity Agent ..................................................................................... 4
Create an Agent Group ....................................................................................................................................................... 4
Download and Run the Connectivity Agent Installer .......................................................................................................... 7
System Requirements ..................................................................................................................................................... 7
Download and Install the Agent.......................................................................................................................................... 8
Steps to download and install the Agent ........................................................................................................................ 8
Create File Connection .......................................................................................................................................................... 11
Create SOAP Connection....................................................................................................................................................... 15
Create Integration Flow ........................................................................................................................................................ 15
EXECUTIVE SUMMARY
Oracle Integration provides native connectivity to Oracle and non-Oracle Software as a Service (SaaS) and On-
premises applications, such as Oracle ERP Cloud, Oracle Service Cloud, HCM Cloud, Salesforce.com, Workday,
EBS, SAP, NetSuite and so on. OIC adapters simplify connectivity by handling the underlying complexities of
connecting to applications using industry-wide best practices. You only need to create a connection that
provides minimal connectivity information for each system.
The following diagram illustrates the proposed interaction between the systems involved in this use case.
OBJECTIVE
This document walks you through the steps needed to replicate this use case in your environment
Prerequisites
You will need access to the following applications and products:
Oracle Integration
ERP Cloud
Use case
Call BIP Report service, decode the base64encoded response, and write it to a CSV file in a remote file System
(File Adapter using Agent)
Lab Environments
• ORACLE INTEGRATION Login
– Refer ERPIntegrationWorkshopEnv.txt
– Refer ERPIntegrationWorkshopEnv.txt
• Naming convention
– To avoid conflict between Lab users, append your class id and student id to artifacts and you
can get these ids from the instructor
Integrating your ERP with Oracle Integration Page 3 of 31
ERP Outbound BIP Report Lab guide Oracle Product Management
Task Overview
• Verify connectivity to ORACLE INTEGRATION and ERP Cloud
• File Connection
• Test integration
• Validate results
Important
As the integration is being built, it is important to save it by clicking “Save” button on top-right after each
activity or in-between long activities such as mapping. This makes sure that the changes are preserved in case
of session timeouts.
You must create an agent group in OIC before you can run the connectivity agent installer. When you install
the connectivity agent in your environment, you associate the connectivity agent with the agent group
identifier. Only one connectivity agent can be associated with an agent group. For a single OIC instance, you
can create up to five agent groups. Creating the agent group also creates the necessary artifacts required for
message exchange
NOTE: Because of the restriction with Agent groups, we will have to group the students (Number of students
per group will be decided based on the participants in that workshop but, max number of groups should not
be more than 4(5th one is for instructor) ) and then ask group leader to create the agent group, agent and
connect to the agent group by following the steps given below. Moreover, create one file connection among
the group and ask everybody in that group to use the same connection and others in the group can sit with
group leader and monitor the steps to create agent group, agent and file connection and once this is done, all
the students can go back to their seats and follow the steps to create SOAP connection and then rest of the
steps.
Integrating your ERP with Oracle Integration Page 4 of 31
ERP Outbound BIP Report Lab guide Oracle Product Management
Field Description
Agent Group Name Provide a meaningful name so that others can
understand the agent name. The name must be
unique among all agent names in the system. The
name can consist of the following:
Letters (A-Z, a-z)
Numbers (0-9)
Spaces ( )
Special characters ( _ - )
The name must not begin or end with a space and
cannot be longer than 50 characters.
Field Description
Identifier Accept the default identifier value or change it, if
necessary. The identifier is initially the same as the
agent group name you provided, but in upper
case. When you install the agent, you must specify
the identifier value.
Note: After creating the agent group, you cannot
edit the agent group identifier. Instead, you must
delete and recreate another agent group to
associate with a different agent group identifier.
Agent Type Connectivity Agent is displayed and cannot be
edited. The connectivity agent supports
integrating with on-premises systems. The agent
group references only connectivity agents.
Description Provide a meaningful description so that others
can understand the responsibilities of the agent
group
Note: Please make a note of Identifier; you will be using it in the later steps.
4. You can see the agent group created as per the below screen.
5. Please note that in above screen, agents are showing as zero for ConnectityAgent group, which means
there are no agents registered with this group as of now.
You must download and run the connectivity agent installer to install the agent in your local environment
System Requirements
Satisfy the following system requirements before installing the on-premises connectivity agent.
The agent is certified with JDK Version 8 and 9. The JDK installation can be shared with other products
installed on the same host. However, ensure that the JDK installation is not modified for use with these
other products.
Note:
If you install the agent on Windows, automatic upgrade of the agent is not supported. You must
manually upgrade the agent after your instance is upgraded to the latest version.
See Running the Connectivity Agent on a Windows Host Requires a Manual Upgrade.
Integrating your ERP with Oracle Integration Page 7 of 31
ERP Outbound BIP Report Lab guide Oracle Product Management
Note:
Open JDK is not supported.
Provide a minimum of 8 GB memory with 4 GB of heap size dedicated for the agent JVM. If you want to
include any other processes on that host besides the on-premises agent, it is strongly recommended
that you increase physical memory to a value greater than 8 GB.
Install the connectivity agent installer to install the agent in your local environment. During installation, you
associate the connectivity agent with the agent group identifier you generated when creating an agent group
in OIC.
Note:
You must have the ServiceAdministrator, ServiceUser, or ServiceDeveloper role to download the agent.
See Grant Access and Secure of Administering OIC.
4. Download the connectivity agent installer to the directory on your on-premises host.
5. Unzip oic_connectivity_agent.zip.
6. Modify InstallerProfile.cfg to include the following information. Some of the optional parameters might
not be there in the file, but you can copy and paste it from here like user and password.
# Required Parameters
# oic_URL format should be https://oicpmdemoumic-oicpm.uscom-central-1.oraclecloud.com:443
oic_URL=https://Oracle Integration_host:ssl_port
agent_GROUP_IDENTIFIER=AGENT_GROUP_5_96_06
#Optional Parameters
oic_USER=xxxxx
oic_PASSWORD=xxxxxxxxxx
#Proxy Parameters
proxy_HOST=
proxy_PORT=
proxy_USER=
proxy_PASSWORD=
proxy_NON_PROXY_HOSTS=
If using JDK 9:
Done with Agent installation & configuration... Starting agent for message processing.
Agent started successfully... listening for new messages...
Please find the below screenshot for your reference of properties file and system messages
If errors occur, review the agent diagnostic logs which is at <<Agent installation folder>>\Oracle
Integration_connectivity_agent\agenthome\logs .
11. Now, Go to the Integration service console, click on Agents and see that Agent is registered for the
group which you have specified
After you have installed the on-premises agent, you can create a connection that uses the agent group and its
associated on-premises agent. Only agent groups whose monitoring status is green on the Agent Monitoring
page.
File CONN_<ClassID>_<StudentID>
5. In the Agent Group section, click Configure Agents to select the agent group to associate with the
adapter. This enables you to access your on-premises applications.
6. Select the agent group to use with this adapter, and click Use.
7. Click Test. This test executes the ping command on the on-premises instance when the connection is
associated with an agent.
3. Provide Integration name “ERP BIP Extract File Sys ””+<<ClassID>>+<<Studentid>> and package name
as erp.report.lab and click on Create
5. Click on Invokes which is on right side of the screen Expand SOAP adapter Select the adapter
which you have created and drag and drop as per the below screen
6. Enter the information as per the below screen and click on Next Select runReport operation and
click Next Click Next and Click Done
9. Expand reportRequest Right click on reportAbsolutePath Click on ‘Create Target Node’ Enter
absolute path of the report as ““/Custom/Financials/GLCCReport.xdo“ and click on Save and close the
expression editor.
Integrating your ERP with Oracle Integration Page 19 of 31
ERP Outbound BIP Report Lab guide Oracle Product Management
10. Expand parameterNameValues expand item right click on name click on ‘Target Node’
enter “LedgerName" and click on Save and close
12. Right click on item Click on ‘Create Target Node’ Enter "US Primary Ledger" and click on Save,
click on close
13. Right click on userId Click on ‘Create Target Node’ Enter ERP Cloud User ID (Get ERP Cloud User ID
and password from ERPIntegrationWorkshopEnv.txt which is under Lab4 section) and click on Save and
close the expression editor and repeat for password element also
14. Click on Validate If successful click on Test Click on Generate Inputs Click on Execute and check
the Target if you have all the values mapped correctly. If Validation fails, then please cross check your
mappings
20. Enter ‘decode’ in search box and click on Search Select ‘decodeBase64’ function click on >
21. Delete inputString from the expression editor expand GetBIPReport expand runReportResponse
expand runReportReturn select reportBytes Click on >
Please cross check the below screenshot for your reference.
22. Click on Validate and Click on Close. System displays the following screen.
23. Click on Validate and Click on Close. System displays the following screen.
24. Click on Invokes Drag and Drop the File connection which you have created after DecodeResponse
activity
25. Enter Basic Info as per the below screen and click on Next
26. Configure the File Operation parameters as per the below screenshot and append the File Name
pattern with your name/last name so that it would be unique for all the participants and click on Next
Output Directory: D:\ORACLE INTEGRATION\output (You must have received this from your group
leader )
Fila Name Pattern as: Oracle%SEQ%File<<your initials or student id>>.csv
27. You must have received ‘outputFile.csv’ along with this document. Please upload outputFile.csv in
‘Define the structure of the file contents’ section
28. Enter Record Name and Recordset Name as per the report. Here we are entering Ledger and LedgerSet
as Record Name and Recordset Name and click on Next and click on Done
30. Select ‘Map to RemoteFileWrite’ activity and click on Edit Map the source element
($DecodeResponse_assignment_1) with target element (Ledger/Report) as per the below screenshot
and click on Validate and click on Close.
31. Click on Actions Click on Tracking select startTime as a Business Identifier and click on > and click
on Save
32. Integration Flow should like the below screen shot Click on Save and Click on Close
33. Activate the integration, select ‘Enable Tracing’ option and select ‘Include payload’ option and click on
Activate button click on Submit Now under Actions Menu after integration flow has been activated.
34. Go to Monitors section and click on Tracking Check the status of the integration
35. Check the file in remote file path (In group leader’s machine) and if you have a file in the remote file
system then you have successfully completed this lab. Congratulations!!!