Hello All,
Hope you are doing well!!!
Today i am going to write over how we can configure SAP adapter for 11G/12C. As Oracle SOA 12C already have built in SAP adapter which minimise number of task that need to be done in 11G. In this blog we will see what all configuration we need to configure SAP R/3 system in oracle SOA using "THIRD PARTY ADAPTER" Configuration.
@Note: I don't have working SAP account access, This blog contain information from oracle documentations only.
What is SOA SAP R/3 System: Oracle WebLogic Server connects to a SAP R/3 system through Oracle Application Adapter for SAP R/3. Oracle Application Adapter for SAP R/3 provides connectivity and carries out interactions on a SAP R/3 system.
Reference pointers:
■ For SOA:
\soa\soa\thirdparty\ApplicationAdapters
■ For OSB:
\osb\3rdparty\ApplicationAdapters
How Oracle SOA Works with SAP:
Oracle Application Adapter for SAP R/3 using SAP Java Connector (SAP JCo) 3.0xx is
a remote function call adapter that provides a means to exchange real-time business
data between SAP Enterprise Central Component (ECC) 5.0/6.0 systems and other
application, database, or external business partner systems.
The adapter enables external applications for inbound and outbound processing with
SAP R/3. Oracle Application Adapter for SAP R/3 can be deployed as a J2EE
Connector Architecture (J2CA) version 1.0 resource adapter. This deployment is
referred to as Oracle Adapter J2CA. It can also be deployed as a Web services servlet
and is referred to as Oracle Adapter Business Services Engine (BSE).
Messaging type used by SAP adapter in SOA:
Oracle Application Adapter for SAP R/3 uses XML messages to enable non-SAP R/3
applications to communicate and exchange transactions with SAP R/3 using services
and events.The role of services and events is outlined. Services and events are
described as follows:
■ Services (also known as outbound processing): Enable applications to call an SAP
R/3 business object or business operation.
■ Events (also known as inbound processing): Enable applications to access SAP R/3
data only when an event occurs.
Implementation supports by SAP Adapter:
■ Support for bidirectional message interactions.
■ Oracle Adapter Application Explorer (Application Explorer), a GUI tool which
uses SAP R/3 object repository metadata to build XML schemas and Web services
to handle adapter requests or event data.
■ Support for Remote Function Calls (RFC), Business Application Programming
Interfaces (BAPI), and Intermediate Documents (IDoc) interfaces to SAP R/3.
■ XML schemas and WSDL files for the J2CA 1.0 and J2CA 1.5 resource adapter.
■ Web services for BSE
Sample projects available at " \etc\sample\SAP_Samples.zip\SAP_
Samples".
Configurations in oracle SOA for SAP Adapter:
Once the SOA installation is completed, copy the required third-party library files (sapjco3.jar and sapjco3.dll).
For SAP Java Connector (SAP JCo) to the following directories:\lib\user_projects\domains\base_domain\lib.
The sapjco3.dll file must be copied to the following directory:
C:\Windows\system32
For more information on installing SAP JCo on other operating systems, see the Oracle
Fusion Middleware Application Adapters Installation Guide for Oracle WebLogic Server.
FOR DOWNLOADING THESE TWO FILES YOU NEED A REGISTERED SAP ACCOUNT.
Verify SAPJCO configuration:
On windows:
Generating WSDL for Request/Response Service (This complete process will be done with downloaded JAR file of SAPJCO):
Hope you are doing well!!!
Today i am going to write over how we can configure SAP adapter for 11G/12C. As Oracle SOA 12C already have built in SAP adapter which minimise number of task that need to be done in 11G. In this blog we will see what all configuration we need to configure SAP R/3 system in oracle SOA using "THIRD PARTY ADAPTER" Configuration.
@Note: I don't have working SAP account access, This blog contain information from oracle documentations only.
What is SOA SAP R/3 System: Oracle WebLogic Server connects to a SAP R/3 system through Oracle Application Adapter for SAP R/3. Oracle Application Adapter for SAP R/3 provides connectivity and carries out interactions on a SAP R/3 system.
Reference pointers:
Configurations in oracle SOA for SAP Adapter:
Once the SOA installation is completed, copy the required third-party library files (sapjco3.jar and sapjco3.dll).
For SAP Java Connector (SAP JCo) to the following directories:
- Navigate to the directory where the sapjco3.jar file is located.
- Right-click the sapjco3.jar file, select Open With from the context menu, and click Java 2 Platform Standard Edition binary.
- The SAP Java Connector (JCo) dialog is displayed.
- All the required information that pertains to the SAP Java Connector on your Windows platform is provided.
- Once you have reviewed the SAP Java Connector files, click Close
On linux/unix:
- Navigate to a UNIX command prompt.
- Execute the following command:
- $ java -jar sapjco3.jar -stdout
- Review the information for the SAP Java Connector on your UNIX platform.
Parameter's Configuration:
Integration with BPEL in oracle SOA Composite:
To integrate with Oracle BPEL Process Manager, Oracle Application Adapter for SAP
R/3 must be deployed in the same WLS container as Oracle BPEL Process Manager.
The underlying adapter services must be exposed as WSDL files, which are generated
during design time in Oracle Adapter Application Explorer (Application Explorer) for
both request-response (outbound) and event notification (inbound) services of the
adapter.
The generated WSDL files are used to design the appropriate BPEL processes for
inbound or outbound adapter services. A completed BPEL process must be
successfully compiled in JDeveloper and deployed to a BPEL server. Upon
deployment to the BPEL server, every newly built process is automatically deployed to
the Oracle Enterprise Manager console, where you run, monitor, and administer BPEL
processes, and listen to adapter events.
Designing an Outbound BPEL Process for Service Integration (J2CA
Configuration): A sample project has been provided for this outbound use case scenario in the
following folder of the Application Adapters installation:
\etc\sample\SAP_Samples.zip\SAP_Samples\BPEL\J2CA\Outbound_Project.
- Before you design a BPEL process, you must generate the respective WSDL file using Application Explorer.
- Perform the following steps to generate a WSDL for request/response service:
- Start Application Explorer and connect to a defined MySAP target (a J2CA configuration). For more info
- rmation on starting the Application Explorer and defining a target, and connecting to SAP R/3.Expand the MySAP target to which you are connected.
- Expand Remote Function Modules, Financial Accounting, 0002 Company Code Business Object, and then select BAPI_COMPANYCODE_GETDETAIL.Right-click the BAPI_COMPANYCODE_GETDETAIL node.
- Click Create Outbound JCA Service (Request/Response).
- Click OK.
- You can now create an empty composite for SOA, which is the first step that is required to define a BPEL outbound process in JDeveloper.
Configuring a Third Party Adapter Service Component:
- Drag and drop the Third Party Adapter component from the Service Adapters pane to the External References pane.
- Enter a name for the third party adapter service.
- Ensure that Reference is selected from the Type list (default).
- Click the Find existing WSDLs icon, which is located to the right of the WSDL URL field.
Complete BPEL process and invoke this adapter with invoke activity inside BPEL. Deploy and test it.
Detailed information is available in below oracle documentation:
http://www.oracle.com/technetwork/middleware/adapters/documentation/e17656-12c-sap-2344549.pdf
It is very good blog and useful for students and developer , Thanks for sharing
ReplyDeleteThanks for sharing this amazing blog
Oracle SOA Online Training
Best blog ever.
ReplyDeleteOracle Integration Cloud Service Online Training
Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA Training
ReplyDelete. Actually, I was looking for the same information on internet for Oracle SOA Interview Questions and Answers
and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Oracle SOA Tutorial also.
ReplyDeleteIam so thrilled because of finding your alluring website here.Actually i was searching for Oracle BPM.Your blog is so astounding and informative too..Iam very happy to find such a creative blog. Iam also find another one by mistake while am searching the same topicOracle SQL.Thank you soo much..
At ERP Training Noida, we understand the significance of SAP HR Training in Noida in today's competitive job market. SAP HR, also known as SAP Human Capital Management (HCM), is a crucial module within the SAP ecosystem that focuses on managing human resources efficiently. It covers a broad range of HR functions, including personnel administration, organizational management, time management, payroll, and more.
ReplyDelete