SAP XI 3.0 Ex - Purchase Order - Overview

Embed Size (px)

Citation preview

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    1/16

    Exercises

    Sales Order Processing

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    2/16

    SAP AG 2004, SAP NetWeaver Henrik Stotz 2

    Use Case

    ERP

    Dealer Management System Supplier 1

    CRM/

    Catalog

    Order

    Fulfillment

    Dealer Management System Supplier 3

    ERP

    Dealer

    XI/BPM

    CRM

    DealerManagementSystem

    Supplier2

    Catalog

    Order

    System

    Order

    System

    Other

    System

    Other

    System

    Other

    System

    Other

    System

    Other

    System

    EBP+

    No-name

    Catalog

    No-name

    Supplier1

    No-nameSupplier2

    No-name

    Supplier3

    CRM

    Other

    System

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    3/16

    SAP AG 2004, SAP NetWeaver Henrik Stotz 3

    ERP

    Dealer Management System Supplier 1

    Catalog/

    CRM

    Order

    Fulfillment

    ERP

    Dealer

    XI/BPM

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    4/16

    SAP AG 2004, SAP NetWeaver Henrik Stotz 4

    Overview

    Senditems

    IntegrationProcess

    1. Receive order

    items

    2. Preparations

    Preparations3. Create materials

    if necessary

    Create materials

    4. Create purchase

    and sales order

    Create purchase

    and sales order

    5. Send purchase

    order to supplier

    and receive

    confirmation

    Receive order

    send confirmation

    CRM System Travel Agency

    Summer

    AirlineGroup1

    AirlineGroup2

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    5/16

    SAP AG 2004, SAP NetWeaver Henrik Stotz 5

    Integration Process

    1 2 3

    45

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    6/16

    SAP AG 2004, SAP NetWeaver Henrik Stotz 6

    Web Dynpro User Interface

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    7/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 7

    Exercise 1: Receive Spare Part Items

    Collect pattern:

    Items correlated by CustomerNo

    End condition:

    after sending 3 items

    Asynchronous Web Dynpro - XI Communication using SOAP Adapter

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    8/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 8

    Exercise 2: Preparations

    Transformation

    step

    Synchronous

    send step

    catches application

    andsystem exceptions

    Returns a list of

    materials that have

    to be created

    Application

    exception

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    9/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 9

    Exercise 3: Create Materials

    Material1

    Material2

    System1

    System2

    System1System2

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    10/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 10

    Exercise 4: Create Purchase and Sales Order

    Fork for parallel processing Transport and application acknowledgments

    Using send contexts

    Correlation

    Container operations

    SwitchManual Exception Handling

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    11/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 11

    Exercise 4: Create Purchase and Sales Order

    Purchase order error

    can be corrected

    in a given timeframe

    by starting the report

    manually

    Report executed intime. Message sent to

    the process indicating

    the that purchase order

    is ok. The process

    PurchaseOrder

    status is updated.

    manual compensation

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    12/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 12

    Exercise 4: Create Purchase and Sales Order

    If an error in the purchase order is not

    compensated manually (see last slide), the

    Purchase Order Status flag keeps the status

    ERROR for the process. If the timeout occurs, the

    process continues and runs into automatic

    compensation.

    If either the purchase order OR the sales order run into an error, the

    automatic compensation branch cancels BOTH Orders, raises an alert, and

    then cancels the whole process

    Automatic compensation

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    13/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 13

    Exercise 5: Send Purchase Order

    Purchase order is sent

    Order confirmation is received Order confirmation is acknowledged

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    14/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 14

    Runtime Example: SXMB_MONI

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    15/16 SAP AG 2004, SAP NetWeaver Henrik Stotz 15

    Runtime Example: Workflow Log

  • 7/30/2019 SAP XI 3.0 Ex - Purchase Order - Overview

    16/16 SAP AG 2004 SAP NetWeaver Henrik Stotz 16

    Runtime Example: Graphical Workflow Log