|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
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.
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:
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.
Go to Transaction
SXMB_MONI to monitor the message.
message will be displayed with a
symbol under Outbound status. That indicates that the Message
is waiting for User Decision. You can click on “PE” under Outbound to check
the workflow for the same. The workflow will appear as below:
Go to Transaction
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.
step waiting for action
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.
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.
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:
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.
choosing the Cancel option the message in SXMB_MONI will look like as under:
click on “PE” under Inbound to check the workflow for the same. The workflow
will appear as below:
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:
Cancel and keep work item in inbox:
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
©2006-2007 SAPTechnical.COM. All rights reserved.
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