Oracle setup steps for Customer outbound interface through PIP to Siebel
By Jag - April 04, 2014
Step 1: Enable the business events
As per the setup document given by Oracle the business events the following business events have to be enabled in Oracle apps.
- oracle.apps.ar.hz.OrgCustBO.create
- oracle.apps.ar.hz.OrgCustBO.update
- oracle.apps.ar.hz.CustAccount.merge
- oracle.apps.ar.hz.Party.merge
Login to Oracle Apps. Go to System Administrator responsibility
Navigation: Workflow > Workflow Administrator > Business Events


Ensure that the Status is Enabled. For details on business events you can refer to the following article. Now you need to ensure that all the business events are enabled for the outbound integration to work.
Step 2: Add the TCA programs to the responsibility
Add the following programs to the responsibility from where you will execute
- TCA Business Object Events: Raise Events Program
- TCA Business Object Events: Generate Infrastructure Packages Program
We have added the programs to a request group for Order Management

Step 3: Execute Generate Infrastructure Packages Program
Execute the program, TCA Business Object Events: Generate Infrastructure Packages Program, to generate the packages that will be used by TCA Business Object Events: Raise Events Program.
Go to the responsibility to which you have added the programs in step 1. Execute the program.

Note:
If the Raise Events Program is executed before Generate Infrastructure Packages Program, the program will error out with message as shown below,
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| +---------------------------------------------------------------------------+**Starts**25-NOV-2012 11:38:34**Ends**25-NOV-2012 11:38:35+---------------------------------------------------------------------------+Start of log messages from FND_FILE+---------------------------------------------------------------------------+bes_main(+)get BO versions from BODdelete duplicate rows from BOTpopulate missing linkspopulate_missing_links()+populate_missing_links()-insert into GT the root nodes with short circutingcompletness check for Person BOORA-06508: PL/SQL: could not find program unit being calledError: Aborting concurrent program+---------------------------------------------------------------------------+End of log messages from FND_FILE+---------------------------------------------------------------------------+ |
You can check Metalink note ID 1317394.1 for the same.
Step 4: Update a customer
Open a customer in the customer form

Update some details for this customer and save it record.
Step 5: Execute the Raise Events Program
Go to the responsibility where you had added the program as per step 2. Execute the program, TCA Business Object Events: Raise Events Program.

Click on Submit button to execute the program.

Once the program completes click on View Log button. The log file shows the following,
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
| +---------------------------------------------------------------------------+Start of log messages from FND_FILE+---------------------------------------------------------------------------+bes_main(+)get BO versions from BODdelete duplicate rows from BOTpopulate missing linkspopulate_missing_links()+populate_missing_links()-insert into GT the root nodes with short circutingcompletness check for Person BOevent type check for Person BOcompletness check for Org BOevent type check for Org BOinsert (in GT) all those related PERSON/ORG CUST BO records that are not in GTcompletness check for Person Cust BOevent type check for Person Cust BOcompletness check for Org Cust BOevent type check for Org Cust BOraise the one event per object instanceTotal count in GT is:2CDH_EVENT_ID is: 10376CDH_OBJECT_ID is: 170040Updating BOT object hierarchy with event_idRaise oracle.apps.ar.hz.OrgBO.updateCDH_EVENT_ID is: 10377CDH_OBJECT_ID is: 170040Updating BOT object hierarchy with event_idRaise oracle.apps.ar.hz.OrgCustBO.updateUpdating hz_parties for future short circuitingPerson Business Object bo_version_number is: 1Organization Business Object bo_version_number is: 1Person Customer Business Object bo_version_number is: 1Organization Customer Business Object bo_version_number is: 1Concurrent Program completed successfully.+---------------------------------------------------------------------------+End of log messages from FND_FILE+---------------------------------------------------------------------------+ |
The log file gives the event ID for update event.
Step 6: Check BPEL console
Log in to BPEL console

Enter your credentials. Go to Instances tab

You can see that the customer message has been passed into PIP.
0 comments