You are on page 1of 16

Exercise 36 : Assign the Integration Scenarios to a Procurement Process

and Test it with PIMON


1. Set Customer Properties in the service reference to si_SuppiierService.
2. Configure the sender (l_callAEX_AA) and provider (l_callBackFromAEX).
3. Test your integration centric process using sample data of your choice.
4. Check the context data to see if every mapping works fine.
5. Choose on the Details > Show Related PI Messages tab to see the complete messages ( XI and SOAP)
 Here, we also see the XI Connectivity for the call back from AEX. Compare your result with that in the figure, Assign
the Integration Scenarios to a Procurement Process and Test it with PIMON - 7 .

1
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
Solution (1)
a) Open the Composite Designer perspective and navigate to your product P_SellSpareParts_##.
b) Double-click Service References.
c) Navigate to CallAex where your SI_SupplierService interface is listed.
d) Double-click your SI_SupplierService interface. This opens a Service Reference view on the bottom of the screen.
e) In the References Details editor, check if your Service Group is CallAEX.
 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process and Test it
with PIMON — 1.

2
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
f) Change to the Overview editor and change the Type in the Service References View from ws to XI. After the
change you get a new area, Custom Properties.
g) Change the Sender Component Name to BC_Procurement_## and save your work. Compare your result with
that in the figure, Assign the Integration Scenarios to a Procurement Process and Test it with PIMON — 2.

h) Build and deploy your integration centric process.

3
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
Solution (2)
a) Navigate to http://nwktdcOO.wdf.sap.corp:50000/nwa/appcommunication and search for your DC
p_sellspareparts_#tt~pr~pm.
b) If prompted log on with the user Administrator##.
c) Change to the Provided Services tab and configure SI_SupplierService and SI_SupplierService_P with the
SAP_DEFAULT_PROFILE.
 Here we see also the XI Connectivity for the call back from AEX. Compare your result with that in the figure, Assign
the Integration Scenarios to a Procurement Process and Test it with PIMON- 3.

4
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
d) Change to the Consumed Service Groups tab and observe that the service group CallAEX is not configurable,
because we use XI communication (Proxy Runtime).
e) Configure the service group ImportESR because there is the SI_SupplierService_P listed, which is the start interface
of our integration centric process.
 Here we see also the XI Connectivity for the call back from AEX. Compare your result with that in the figure,
Assign the Integration Scenarios to a Procurement Process and Test it with PIMON — 4.

5
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
Solution (3)
a) Call the WSNavigator with the URL http: //nwktdcOO .wdf. sap. corp: 50000/ wsnavigator, and find your service
interface SI_SupplierService_P.
b) Choose Next and in the Input Parameter screen enter the data from the figure, Assign the Integration Scenarios
to a Procurement Process and Test it with PIMON — Result 5.
Here we see also the XI Connectivity for the call back from AEX. Compare your result with that in the figure, Assign
the Integration Scenarios to a Procurement Process and Test it with PIMON- 5 .

6
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
c) Set the Invocation Parameters for your user and password and choose Next.
d) Check the response. Here we also see the XI Connectivity for the call back from AEX. Compare your result with
that in the figure, Assign the Integration Scenarios to a Procurement Process and Test it
with PIMON- 6 .

e) In a new tab in the internet browser, enter http: //nwktdcOO .wdf. sap. corp: 50000/nwa/bpm-processes to
navigate to Manage Processes and check the history to see if your callback is successful.
There are two entries for the l_callBackFromAEX. The first is the arriving of the message. The second shows if the
correlation condition works proper.

7
Solution 36 : Assign the Integration Scenarios to a Procurement Process
and Test it with PIMON
Solution (4)
Check the context data to see if every mapping works fine.

Solution (5)
Choose on the Details > Show Related PI Messages tab to see the complete messages ( XI and SOAP)
 Here, we also see the XI Connectivity for the call back from AEX. Compare your result with that in the figure,
Assign the Integration Scenarios to a Procurement Process and Test it with PIMON - 7 .

8
Exercise 37 : Assign the Integration Scenarios to a Procurement Process

1. Insert an automatic activity,


P_OrdersSendtoSupplier_AA, in the procurement
process.
2. Import a service interface SI_SupplierService_P
from ESR.
3. Configure P_sendSupplier_successful_RSP.
4. Build, deploy, and test your product.
5. Test your procurement process, using the following
data:

9
Solution 37 : Assign the Integration Scenarios to a Procurement Process

Solution (1)
a) Navigate to your Procurement Process.
b) Delete the connection between the objects P_insertQuantity_HA and P_End_successful_MEE.
c) Insert an automatic activity in the branch between P_insertQuantity_HA and P_End_successful_MEE.
d) Label it P_OrdersSendtoSupplier _AA.

 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 1.

10
Solution 37 : Assign the Integration Scenarios to a Procurement Process

Solution (2)
a) Import the service interface SI_SupplierService_P from ESR. In the Service Reference screen, use the ImportESR
service group.
 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 2.

11
Solution 37 : Assign the Integration Scenarios to a Procurement Process

Solution (3)
a) Choose P_OrdersSendtoSupplier_AA and choose the Properties.
b) Choose the Interface editor. In the Service interface field, assign the SI_SupplierService_P interface.
c) Choose Save.

 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 3.

12
Solution 37 : Assign the Integration Scenarios to a Procurement Process

d) Create a 1:1 input mapping from P_spareParts_DO to MT_l_startProcess by choosing the + symbol in front of both
process contexts. Map Customer on the left with DT_Customer on the right side; Latedelivery on the left side with
DT_LateDelivery on the right side; and SpareParts on the left side with DT_SpareParts on the right side.
e) Choose Save.

 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 4.

13
Solution 37 : Assign the Integration Scenarios to a Procurement Process

Solution (4)
a) Build and deploy your product P_se\\SpareParts_##.
b) Navigate to http://nwktdcOO.wdf.sap.corp:50000/nwa/appcommunication and search for your product
p_sei!spareparts_##..
c) Check if the service group ImportESR is proper configured to your Provider System.
d) The service group CallAEX cannot be configured because we communicate via Ximessage protocol over the proxy
runtime.
 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 5.

14
Solution 37 : Assign the Integration Scenarios to a Procurement Process

e) Change to the Provided Services tab and check if your service P_startProcess is properly configured. If not assign the
SAP_DEFAULT_PROFILE.
 Compare your result with that in the figure, Assign the Integration Scenarios to a Procurement Process — Result 6.

15
Solution 37 : Assign the Integration Scenarios to a Procurement Process

Solution (5)
a) Start your procurement process with P_startProcess.
This is a synchronous process and it comes out at 3.
Use the following data:

b) The automatic activity, P_OrdersSendtoSupplier_AA


call asynchron, with SI_SupplierService_P service
interface, the integration centric process.

16

You might also like