Create Suppliers in SAP Ariba for Vendors in SAP ERP
Create Suppliers in SAP Ariba for Vendors in SAP ERP
Use this recipe to create corresponding supplier records in SAP Ariba when vendor records are created in SAP ERP.
Note: Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.
Overview
This is an application-driven recipe that creates a supplier in SAP Ariba whenever a vendor is created in SAP ERP.
To use the recipe, you must install the recipe package and configure the connections and other resources within the package. When a vendor record is created in the SAP ERP instance, the integration flow of the recipe is triggered, and it creates a corresponding supplier record in SAP Ariba. Basic data, such as contact, contact ID, email address, fax, name, and postal address, are synchronized between the SAP ERP and SAP Ariba platforms.
System and Access Requirements
Oracle Integration, Version 21.4.3.0.0 or higher
An SAP logon client
An SAP program ID
An SAP Ariba instance
An account on SAP Ariba with the Administrator role
Before You Install the Recipe
You must perform the following configuration tasks on your SAP ERP and SAP Ariba instances in order to successfully connect to these external systems using Oracle Integration and transfer records between them.
Configure SAP ERP
To configure SAP ERP, see Prerequisites for Creating a Connection.
Configure SAP Ariba
To configure SAP Ariba, see Complete Ariba SOAP Web Services Prerequisites.
Install and Configure the Recipe
On your Oracle Integration instance, install the recipe package to deploy and configure the integration and associated resources.
On the Oracle Integration home page, scroll to the Accelerators & Recipes section.
Click Search All.
Find the recipe package that you want to install.
Select the package, and then click the Install icon.
After the package is installed, click the Configure icon on the recipe card to configure the resources deployed by the package.
The Configuration Editor page opens, displaying all the resources of the recipe package. Configure the following resources before you activate and run the recipe.
Configure the Oracle SAP ERP Connection
On the Configuration Editor page, select Oracle SAP ERP Connection.
Click Edit .
The connection configuration page appears.In the Connection Properties section, upload the JCO connection properties file.
You must upload the following type of JCO file:
- Adapter inbound properties file: To configure the SAP Adapter for both trigger and invoke connections (for example, the
Adapter_inbound_Direct.properties
file).
- Adapter inbound properties file: To configure the SAP Adapter for both trigger and invoke connections (for example, the
In the Security section, enter the username and password to connect to the SAP ERP instance.
In the Agent Group section, configure an agent group for accessing the service hosted on your premises behind the firewall.
Click Configure Agents. The Select an Agent Group page appears.
Click the name of the agent group.
Click Use.
To configure an agent group, you must download and install the on-premises connectivity agent. See Download and Run the Connectivity Agent Installer.
Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
A confirmation message is displayed if your test is successful.Click Back to return to the Configuration Editor page. Click Save again if prompted.
Configure the Oracle SAP Ariba Connection
On the Configuration Editor page, select Oracle SAP Ariba Connection, then click Edit .
The connection configuration page appears.In the Connection Properties section, enter the following details.
Field Information to Enter Host Name Enter the SAP Ariba host name. To obtain the host name, see Configure SAP Ariba. Partition (Site Name) Enter the SAP Ariba partition. In the Security section, enter the following details.
Field Information to Enter Security Policy Select Basic Authentication. Username Enter the username created on SAP Ariba during the endpoint configuration. See Configure SAP Ariba. Password Enter the password created on SAP Ariba during the endpoint configuration. Click Save. If prompted, click Save for a second time.
Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.
A confirmation message is displayed if your test is successful.Click Back to return to the Configuration Editor page. Click Save again if prompted.
Configure the Lookup Table
Edit the lookup table, and enter an email ID to receive error messages.
On the Configuration Editor page, select the lookup table, and click Edit .
In the Property_Name column, enter the property name as EmailTo.
In the Property_Value column, enter an email ID of your choice.
Click Save. If prompted, click Save for a second time.
Click Back to return to the Configuration Editor page.
Activate and Run the Recipe
After you’ve configured the connections and lookup table, activate the recipe package and run it.
On the Configuration Editor page, click Activate in the title bar. In the Activate Package dialog, click Activate again.
A confirmation message is displayed informing that the integration has been submitted for activation. Refresh the page to view the updated status of the integration.Run the recipe.
To run the recipe, you must perform the following tasks in the SAP ERP instance.Check the Oracle Integration connection status.
In the tcode field, enter the following code:
/nsmgw
, and then click Enter.Click Goto, then select Logged on Clients. A list of logged-on clients appears.
In the list, check if the configured server address appears.
Test the connection.
In the tcode field, enter the following code:
/nsm59
, and then click Enter.From the list of RFC Connections, expand TCP/IP Connections, and find your program ID.
Select the program ID, and click Connection Test.
Push a vendor record to SAP ERP.
In the tcode field, enter the following code:
/nBD14
, and then click Enter.Select a vendor account number.
In the Account Number field, click the Search icon . The Account Number window appears.
In the window, click Start Search , and select the required vendor record from the list of records displayed.
Select the Message Type as CREMAS.
Select the Target System.
After you’ve configured the parameters, click Execute to push the vendor record. An information dialog appears.
In the dialog, click to continue. Click again, if prompted, to continue execution.
Check the status of the execution.
In the tcode field, enter the following tcode:
/nwe02
, and click Enter.In the IDoc List window, click Execute to view the status.
Note: Status 3 represents a successful execution, and Status 29 represents a failed execution.
Monitor the execution of the integration flow in Oracle Integration.
On the Configuration Editor page, select the integration flow.
Click Run , then click Track Instances.
On the Track Instances page, you’ll see the integration flow of the recipe being triggered and executing successfully.
Whenever a vendor-create event is triggered in the SAP ERP instance, the recipe creates a corresponding supplier record in SAP Ariba.
Log in to your SAP Ariba instance and check for the new supplier record created.
On the SAP Ariba home page, click Home, then Common Actions, and then Core Administration.
On the Administration tab, click Supplier Manager.
In the Supplier Manager window, click Suppliers.
Enter the contact information in the Contact field, and click Search.
In the list of records displayed, find the required supplier record, and click its name to view it.
Related Documentation
Create Suppliers in SAP Ariba for Vendors in SAP ERP
F54085-02
August 2022
Copyright © 2022, Oracle and/or its affiliates.
Primary Author: Oracle Corporation