SAPTechnical.com - User Decision Step in PI7

3
Search Home Trainings Quiz Tips Tutorials Functional Cert Q's Interview Q's Jobs Testimonials Advertise Contact Us SAP Virtual/Onsite Trainings Document Categories: ABAP TM Adobe Forms ABAP-HR ALE & IDocs ALV BAPI BASIS BSP Business Objects Business Workflow CRM NEW LSMW SAP Script/Smart Forms BI/BW eXchange Infrastructure (XI) Enterprise Portals (EP) eCATT Object Oriented Programming SAP Query Userexits/BADIs WebDynpro for Java/ABAP TM Others What's New? ABAP Test Cockpit HOT SAP ABAP Pragmas Understanding SE32 (ABAP Text Element Maintenance) Creating an IDoc File on SAP Application Server Understanding “Advance with dialog” option of SAP Workflow SAP Workflow Scenario: Maintenance Notification Approval Enhancements to a standard class Working with Floating Field in Adobe Forms Inserting data from Internal Table into the step “Send Mail” Display GL Account long text using enhancement framework Differences between polymorphism in JAVA and ABAP Passing multiline parameters from an ABAP Class event to a Workflow container Concept of Re-evaluate agents for active work items in SAP Workflow Dynamic creation of component usage in ABAP WebDynpro Adobe Forms: Display symbols like copyright and others Deactivate Hold functionality in Purchase order (ME21N) Quiz on OOABAP Add fields in FBL5N using BADIs Tutorial on Wide casting Defining a Range in Module Pool Program Copy fields from one structure/table into another structure/table Side Panel Usage in NWBC Contribute? Sample Specs What's Hot? User Decision step in PI7.1 (Part 1) By Sachin Dhingra, Sparta Consulting A lot is being talked about the BPEL4People/Human Interaction capability in SAP Process Integration 7.1. Introducing it here by creating a simple scenario based on the functionality of User Decision step in PI 7.1, which allows the user to take a decision. Scenario: We have a file in PI 7.1 system under the directory “/tmp/SO.xml” which is having the general data for sales order. The Integration Process (BPM) in PI 7.1 will receive this file and check for the credit limit in the data. The default credit limit is 50000. BPM is using User Decision step in which after receiving the file with data having credit limit above 50000, the process with user decision step will be started. The file is picked from the directory and the message would initialize the ccBPM. The message would wait for the user decision and the action can be seen in User’s Inbox. Assumptions: 1. The scenario is a file-to-file using BPM. 2. User has developed interfaces in PI and trying to develop ccBPM with Human Interaction capabilities. Enterprise Service Builder: Create the data type and message type. The basic data type is as under: Create the Outbound Asynchronous, Inbound Asynchronous and Abstract Asynchronous Service (Message) Interface. Create Message Mapping and Operation (Interface) Mapping Create an Integration Process with the name IP_Salesorder as under: e-Commerce AddOn for SAP Fully SAP integrated, No middleware SAP certified,100+ installations e-Commerce AddOn for SAP wecosoftware.com/s… Fully SAP integrated, No middleware SAP certified,100+ installations BHEL Openings May'15 Rs. 1.26 Lacs per month Get In Home Senior Care Study MBA At Amity Buy Malwarebytes® malw arebytes.org/Buy-… #1 Malware Removal Tool. Get Rid of Viruses & Spyware - Buy Now! Limited Electronics Sale 1 Year Online MBA Rs.7500 Monster - Register Now Online MongoDB Training

description

User Decision Step

Transcript of SAPTechnical.com - User Decision Step in PI7

  • 6/12/2015 SAPTechnical.COM - User Decision step in PI7.1 (Part 1)

    http://www.saptechnical.com/Tutorials/XI/UserDecision/Index.htm 1/3

    Search

    Home Trainings Quiz Tips Tutorials Functional Cert Q's Interview Q's Jobs Testimonials Advertise Contact Us

    SAP Virtual/Onsite

    Trainings

    Document Categories:

    ABAPTM

    Adobe Forms

    ABAP-HR

    ALE & IDocs

    ALV

    BAPI

    BASIS

    BSP

    Business Objects

    Business Workflow

    CRM NEW

    LSMW

    SAP Script/Smart Forms

    BI/BW

    eXchange Infrastructure (XI)

    Enterprise Portals (EP)

    eCATT

    Object Oriented Programming

    SAP Query

    Userexits/BADIs

    WebDynpro for Java/ABAPTM

    Others

    What's New?

    ABAP Test Cockpit HOT

    SAP ABAP Pragmas

    Understanding SE32 (ABAP TextElement Maintenance)

    Creating an IDoc File on SAPApplication Server

    Understanding Advance withdialog option of SAP Workflow

    SAP Workflow Scenario:Maintenance NotificationApproval

    Enhancements to a standardclass

    Working with Floating Field inAdobe Forms

    Inserting data from InternalTable into the step Send Mail

    Display GL Account long textusing enhancement framework

    Differences betweenpolymorphism in JAVA andABAP

    Passing multiline parametersfrom an ABAP Class event to aWorkflow container

    Concept of Re-evaluate agentsfor active work items in SAPWorkflow

    Dynamic creation of componentusage in ABAP WebDynpro

    Adobe Forms: Display symbolslike copyright and others

    Deactivate Hold functionality inPurchase order (ME21N)

    Quiz on OOABAP

    Add fields in FBL5N using BADIs

    Tutorial on Wide casting

    Defining a Range in Module PoolProgram

    Copy fields from onestructure/table into anotherstructure/table

    Side Panel Usage in NWBC

    Contribute?

    Sample Specs

    What's Hot?

    User Decision step in PI7.1 (Part 1)

    By Sachin Dhingra, Sparta Consulting

    A lot is being talked about the BPEL4People/Human Interaction capability in SAP Process Integration 7.1.Introducing it here by creating a simple scenario based on the functionality of User Decision step in PI 7.1, whichallows the user to take a decision.

    Scenario:

    We have a file in PI 7.1 system under the directory /tmp/SO.xml which is having the general data for sales order.The Integration Process (BPM) in PI 7.1 will receive this file and check for the credit limit in the data. The defaultcredit limit is 50000.

    BPM is using User Decision step in which after receiving the file with data having credit limit above 50000,the process with user decision step will be started. The file is picked from the directory and the messagewould initialize the ccBPM. The message would wait for the user decision and the action can be seen inUsers Inbox.

    Assumptions:

    1. The scenario is a file-to-file using BPM.

    2. User has developed interfaces in PI and trying to develop ccBPM with Human Interaction capabilities.

    Enterprise Service Builder:

    Create the data type and message type. The basic data type is as under:

    Create the Outbound Asynchronous, Inbound Asynchronous and Abstract Asynchronous Service(Message) Interface.

    Create Message Mapping and Operation (Interface) Mapping

    Create an Integration Process with the name IP_Salesorder as under:

    e-CommerceAddOn for SAP

    Fully SAP integrated, Nomiddleware SAP certified,100+

    installations

    e-CommerceAddOn forSAP

    wecosoftware.com/s

    Fully SAP integrated, No

    middleware SAP

    certified,100+

    installations

    BHELOpeningsMay'15

    Rs. 1.26 Lacsper month

    Get In HomeSenior Care

    Study MBA AtAmity

    BuyMalwarebytes

    malw arebytes.org/Buy-

    #1 Malware Removal

    Tool. Get Rid of Viruses

    & Spyware - Buy Now!

    LimitedElectronicsSale

    1 Year OnlineMBA Rs.7500

    Monster -Register Now

    OnlineMongoDBTraining

  • 6/12/2015 SAPTechnical.COM - User Decision step in PI7.1 (Part 1)

    http://www.saptechnical.com/Tutorials/XI/UserDecision/Index.htm 2/3

    Web Dynpro for ABAP Tutorials

    Join the Mailing List

    Enter name and email address below :

    Name:

    Email:

    Subscribe Unsubscribe

    GO

    The Steps used here are as under:

    1. Receive1 step will receive the message from the sender system.

    2. Container1 step is used to assign the default value to SO_limit container variable.

    3. Switch1 step is used to check the limit of sales order.

    4. Branch1 of Switch1 involves the User Decision1 step.

    5. Otherwise branch of Switch1 step involves Control2 step.

    6. User Decison1 is having two Decision option branches.

    7. Decision option1 step is triggered when the result of User Decision step is CREATE

    8. Decision option2 step is triggered when the result of User Decision step is CANCEL

    9. Properties for each and every step defined above in the Integration Process and variables/parameter used

    are as under:

    Create the container variable as shown below:

    Switch to Configurable Parameters by clicking on Container.

    Create the configurable parameters as above. The E-mail will be sent to the Admin (SAP User Name) thatwe will assign in Integration Directory.

    Receive1

    Container1, and Expression for Container1 is as under:

  • 6/12/2015 SAPTechnical.COM - User Decision step in PI7.1 (Part 1)

    http://www.saptechnical.com/Tutorials/XI/UserDecision/Index.htm 3/3

    Click here to continue...

    Please send us your feedback/suggestions at w [email protected]

    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 affi l iated with SAP AG.

    SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

    Graphic Design by Round the Bend Wizards

    BuyMalwarebytes

    #1 Malware Removal Tool. GetRid of Viruses & Spyware - Buy

    Now!