| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
User Decision step in PI7.1 (Part 2)By Sachin Dhingra, Sparta Consulting In the Part
I of this series we have gone through the design and configuration part. In
this we will cover testing of the scenario. Testing: 1.
Create the test
file under the /tmp directory with the name SO.xml on PI system as we are using
NFS. The source file looks like:
2.
Once the file is
created and saved on above mentioned directory. The Execution of scenario will
start and the sender communication channel will ping the PI system every (n) sec
as defined in sender communication channel. 3.
Go to Transaction
SXMB_MONI to monitor the message.
The
message will be displayed with a
4.
Go to Transaction
SBWP.
Select the
Generic decision task in the left pane and it will display the messages waiting
for User Decision in the right pane. Double click on the first message. 5.
User Decision
step waiting for action
The above
screen will provide option to make the decision as defined in Integration
Process in ESR/IR. Third option Cancel and keep work item in inbox is default
option described at end of this blog. 1.
Create: When the user will choose this option Create, the
response (Create) will be sent back to the Integration Process and the process
will continue to next step. After
choosing the Create option the message in SXMB_MONI will look like as under:
You can click on “PE” under Inbound to check the
workflow for the same. The workflow will appear as below:
The
status is changed from ready to completed with result create. As a result of
which file is being created in on PI 7.1 system under the “/tmp/Sales_order<datetime
stamp>.xml”. The output file is same as that of input file as I am not
using any mapping. 2.
Cancel: After
choosing the Cancel option the message in SXMB_MONI will look like as under:
You can
click on “PE” under Inbound to check the workflow for the same. The workflow
will appear as below:
The
status is changed from ready to completed with result cancel. As a result of
which the next step in Integration Process will be followed. In my case an alert
will be raised and can be seen in Alert inbox in Runtime workbench. Click on
Runtime Workbench on main screen of PI 7.1. Then choose alert inbox and can see
the message as under:
3.
Cancel and keep work item in inbox: When
the user will choose this option, no response will be sent back to Integration
Process and the particular wok item will stay there in user inbox. You can take
a decision on a later stage as well. |
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||