Vous êtes sur la page 1sur 15

Oracle Apps Store

Setup’s required to send a XML PO to a Supplier / AP Invoice to


Buyer through OSN

JULY 31, 2012 21 COMMENTS (HTTPS://ORACLEAPPSSTORE.WORDPRESS.COM/2012/07/31/SETUPS-REQUIRED-TO-


SEND-A-XML-PO-THRU-OS/#COMMENTS)

i
6 Votes

Following are the steps required to send a XML PO to any Supplier through OSN (Oracle Supplier Network).

Pre-requisites

1. Create PO’s as XML (setup required in Purchasing responsibility)


2. XML Gateway setup’s
3. Buyer – Register an account in OSN as buyer
4. Supplier – Register an account in OSN as supplier
5. OTA should be up and running.
6. Agent Listeners should be up and running under Workflow.

Let’s see them one by one.

Step 1 – Presuming that the setup is taken care to generate the PO’s as XML. (Refer to references – Point # 1)

Step 2 – XML Gateway setups

Under XML Gateway we need to

1. Define Hub
2. Define Trading Partner

Defining Hub

Navigation – XML Gateway – Define Hubs

(h ps://oracleappsstore.files.wordpress.com/2012/07/xml-hub-nav.png)

Here create a name for the hub, choose the protocol type as required and we have chosen HTTPS-OXTA for our example. In the
protocol Address type
h ps://osn.oracle.com/servlets/oracle.apps.ecx.oxta.TransportAgentServer
(h ps://osn.oracle.com/servlets/oracle.apps.ecx.oxta.TransportAgentServer)

as shown below. Create an username/password and enter the DUNS code in Hub Entity Code.

(h ps://oracleappsstore.files.wordpress.com/2012/07/xml-hub-definition.png)

Defining Trading Partner

Navigation – XML Gateway – Define Trading Partners

(h ps://oracleappsstore.files.wordpress.com/2012/07/xml-tp-nav.png)

Enter the required Transaction type’s as shown below. Here we need to define the Supplier to whom we are going to transact the PO
/ AP Invoice.

(h ps://oracleappsstore.files.wordpress.com/2012/07/xml-tp-def.png)
(h ps://oracleappsstore.files.wordpress.com/2012/07/xml-tp-nav1.png)

Scrolling to right of the above screen, for 2nd and 3rd lines which are of transaction type PO, we need to enter the user name as
created in the previous step (Hub Definition)

Protocol Address – h ps://osn.oracle.com/servlets/oracle.apps.ecx.oxta.TransportAgentServer


(h ps://osn.oracle.com/servlets/oracle.apps.ecx.oxta.TransportAgentServer)

Buyer Registration in OSN

Logon to h ps://osn.oracle.com (h ps://osn.oracle.com/) and register

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-url.png)

Enter the profile values as shown below –

The Company profile values need to be entered as follows


(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buyer-profile.png)

The user profile is filled in as follows –

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-user-prof.png)

Next, complete the Messaging tab as follows

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-msg-identifier.png)

Enter the DUNS number for identification.

The Communication parameters are the important se ings which we need to fill in here.

In the URL text box – enter the buyer’s Oracle EBS Instance URL (this is if and when we need to send the Invoice back in the later
stage)

Enter the necessary credentials required to connect to the EBS Instance in the user name & password field

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-msg-cp.png)

The Communication parameter’s method should be Oracle XML Transport Agent and needs to be defaulted.
(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-msg-cp1.png)

Under Transaction Management, choose what are the different documents which we are going to send through OSN, as shown
below.

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-msg-tm.png)

The Notifications window says what are the notifications subscribed, as shown below

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-buy-msg-notify.png)

Under Trading Partners, click on the Add bu on as shown below to add the Supplier’s OSN details.

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-tp-mytp.png)
Add information as shown below … The Trading Partner Alias should match the name as created in XML Gateway’s Trading
Partner Definition.

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-tp-mytp1.png)

Remember these are values, presuming that the OSN Supplier account is created. (Supplier OSN is shown as Step-3 below).

Supplier Registration in OSN

Logon to h ps://osn.oracle.com (h ps://osn.oracle.com/) and register similarly as the OSN Buyer account.

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-url1.png)

1. Enter the profile details


2. a. Under Messaging enter the Identifiers

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-msg-identifier.png)

b. Under Communication Parameters, enter values as shown below

Click on the Add bu on under delivery methods and enter the values as shown .

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-msg-cp.png)

After the values are entered and submi ed, the values will be as below. In the above screenshot, under URL, enter the punchout
URL from where the requisition/PO will be sent out. In our example here, we are creating Requisitions from the punchout.
(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-msg-cp1.png)

c. Under Transaction Management, add necessary transactions which will be added to Your transactions using the add bu on . In
our example we are choosing PO’s, Invoice and change order.

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-msg-tm.png)

d. Under Notifications tab, include all transaction types to be notified

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-msg-notify.png)3. Under Trading Partners, choose My Trading


Partners and click on the Add bu on to add the buyer created in Step 1 (Buyer OSN information)

(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-tp-mytp2.png)

Details of buyer added are as follows –


(h ps://oracleappsstore.files.wordpress.com/2012/07/osn-sup-tp-mytp11.png)

1. Under user’s tab you can add the users as required

References

1. Oracle Supplier Network – Buyer’s Guide (h ps://osn.oracle.com/docs/osn_connect_11i.pdf)


2. How to Enable XML Flag to Send PO Document to OSN (Oracle Supplier Network) [ID 369666.1]
3. Oracle Supplier Network – OSN Setup and Usage [ID 445063.1]
4. Unable to send PO XML documents to Suppliers via OSN. [ID 560551.1]
5. Oracle XML Gateway Troubleshooting Guide [ID 167474.1]
6. How To Diagnose Issues Related to OSN [ID 562880.1]
7. Configuring the Oracle XML Transport Agent (OXTA) With Oracle Applications 11i [ID 152087.1]

Advertisements

Report this ad

€8.12 €8.12

Report this ad
FILED UNDER PROCUREMENT, XML TAGGED WITH HUB DEFINITION, ORACLE APPS, OSN, OXTA, PO XML, PO XML
THROUGH OSN, XML GATEWAY

About Asokan
I have around 10 years of Working Experience in the Industry. Have done various roles like Developer, Lead, Architect etc.

21 Responses to Setup’s required to send a XML PO to a Supplier / AP Invoice to Buyer


through OSN

praveen says:
August 19, 2012 at 9:54 AM
Thanks for sharing your knowledge.

For new implementations can i perform the above XML Gateway setups and perform XML Gateway Test which you posted, is
this enough for me to work at client place.

Praveen.

i
Rate This

Reply
praveen says:
August 19, 2012 at 12:33 PM
Forgot to ask u earlier, is this in R12 Version?

i
Rate This

Reply
Asokan says:
August 20, 2012 at 7:18 AM
1. Yes, you can go ahead with the XML gateway setup’s as mentioned in this article.
2. The above article pertains with the R12 Instance (This can be setup in 11i instances too)

Let me know if you require any help .

Thanks,
Asokan

i
Rate This

Reply
Alexander Alvarado Cordoba says:
September 18, 2012 at 1:05 PM
Good Afternoon,

Could you help me with the following error that occurs when transmi ing from the accounting modules AR, AP and FA this
generates the following error.

Internal error in the program xla_balances_calc_pkg.massive_update_srs. ORA-01086

i
Rate This

Reply
Asokan says:
September 18, 2012 at 1:10 PM
Sure. Send the details.

0
0

i
Rate This

Reply
Asokan says:
September 18, 2012 at 1:12 PM
Go through the note id – R12 Xla_balances_calc_pkg.Massive_update_srs. Ora-30006: Resource Busy [ID 1395849.1] and
see if this helps

i
Rate This

Hameed says:
September 27, 2012 at 1:41 AM
Hello Asokan,

Thanks for sharing this article. I am in process of se ing up XML AP invoice through OSN. Your document helped me a lot in
se ing it up. Now when I’m trying to post the PROCESS_INVOICE_002 to Oracle R12 XML gateway using a sample data, I am
ge ing the below error message in the Transaction Monitor

The Standard:OAG, Transaction Type:INVOICE , Transaction SubType:PROCESS and Location Code Selftest ehub_id 2956 is not
enabled in the XML Gateway Server. Pls check your Setup.

Can you help me as to what setup I am missing?

Regards,
Hameed

i
Rate This

Reply
Asokan says:
September 27, 2012 at 7:54 AM
Are you trying to get the AP Invoices inbound into EBS ? If yes, try to use the mapping AP_INVOICE_INBOUND in the XML
Gateway. This would get your data directly into the AP Invoice Interfaces table. Let me know if you require further help.

Thanks,
Asokan

i
Rate This

Reply
Hameed says:
September 28, 2012 at 1:05 AM
Thanks Asokan,

I had a wrong Source Trading Partner Location Code for the sample test document. Once that was corrected the transaction went
successfully.

Regards,
Hameed
0

i
Rate This

Reply
Asokan says:
September 28, 2012 at 5:58 AM
Cool. Thanks for sharing and good that the issue is resolved.

Thanks,
Asokan

i
Rate This

Reply
Sunil says:
June 25, 2013 at 4:16 PM
can you please let me know where this can be corrected in the XML. I have updated the XML but it is still failing.

i
Rate This

Reply
Hameed says:
December 30, 2012 at 9:53 PM
Hello Asokan,

I am facing a strange problem on UOM conversion while testing the PO/invoice transactions via OSN. I had to setup UOM code
conversion for the specific trading partner in the XML Gateway. The outbound transaction (PO) does the UOM conversion from
Oracle UOM code (eg. Ea) to the trading partner’s UOM Code (EACH) whereas the inbound transaction (Invoice) does the UOM
conversion from trading partner’s UOM Code (EACH) to Oracle UOM name (e.g. Each).
This is causing me to setup 2 UOM conversions for each UOM mapping.

I am not sure whether I am missing any setup where both outbound and inbound UOM should be read from one source (i.e.
either UOM Code or UOM Name) or it is the intended functionality?

Also for punchout with the same trading partner I had used Ecommerce Gateway for UOM mapping (there it uses UOM Name).

Regards,
Hameed.

i
Rate This

Reply
Asokan says:
January 2, 2013 at 4:48 PM
Hello Hameed,

As far as I know, it is the intended functionality. We had to do an extra work for the conversions in the later stage.
Thanks,
Asokan

i
Rate This

Reply
Hameed Khan says:
January 2, 2013 at 7:15 PM
Thanks Asokan,

The only thing that confuses me with this approach is that I have to provide a dummy trading partner UOM for both inbound
and outbound UOM conversion.

Regards,
Hameed

i
Rate This

Reply
Vinod says:
February 25, 2013 at 4:33 PM
Hi Asokan,
We are trying to do an outbound PO transaction using XML Gateway. It is working in 11i and we are trying to upgrade the
xgm/dtd files. Loading the 11i customized files into R12 files does not seem to work.. Is there a strategy for R12 upgrade, please.

i
Rate This

Reply
Asokan says:
March 4, 2013 at 1:33 PM
Hi Vinod – I’m not aware of this. Sorry !!

i
Rate This

Reply
VM says:
May 11, 2013 at 10:27 PM
Hi Asokan

We have created an Invoice using XML Gateway for OSN as mentoned in your setup. Now, this invoice is not picked up during
the Payment Process Request. Please let me know why it is not picked up during selection criteria of PPR. I have checked the
criteria given in the PPR but still only the OSN invoices were not selecting. Manual Source Invoics are selecting and able to pay
them. Ay suggetions are highly appreciated.

Thanks

0
0

i
Rate This

Reply
Bobby says:
May 14, 2014 at 2:55 PM
Hi Asokan,
How are you good site.
We have a cloud based employee expense invoices we want to import in EBS R12.1.3
What is a good way please advice.

Thank you
Bobby

i
Rate This

Reply
Ram says:
September 24, 2014 at 7:43 AM
Hi Asokan,

I am working on Interfaces and am new to it . Please share your experience in learning Interfaces.

Thanks,
Ram.

i
Rate This

Reply
sushant says:
August 10, 2015 at 4:24 PM
Hi,

PO sent as cXML is being sent multiple times. ECX_OXTA_LOGMSG table has the result_text of “Timeout Exceeded” and
exception test “oracle.apps.ecx.oxta.TransportTimeoutException: Timeout waiting for response at
oracle.apps.ecx.oxta.HTTPTransportSender.run(HTTPTransportSender.java:219)”.

How do we resolve this issue?

i
Rate This

Reply
Mufti Firoz says:
July 14, 2016 at 3:16 PM
Hi Ashoke,
I want to receive xml messages from my trading partner(cisco) , They will send a xml message by their gateway though ssl
certificates.

I don’t know if Oracle Xml gateway can receive or send those xml messages, as I cant see in oxta logs,
could you please help me out
0

i
Rate This

Reply

Create a free website or blog at WordPress.com.

Vous aimerez peut-être aussi