of 18
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
1/18
Request Purchase Order Business Process usingRosettanet PIP3A4
Purpose The Process involves execution of Rosettanet PIP3A4(Request Purchse Order Business
Process) between the Buyer and Seller. The RosettaNet PIP3A4 scenario was chosen becauseit is a well defined and understood business process that is in use in production today.
Because more and better information is available through Rosettanet PIP3A4(Request
Purchase Order process), Customers should use this process to make faster and more accuratebusiness decisions. Orders can be placed and receive order confirmations directly into the ERPSystems of both companies. Using order fulfillment status speeds the decision process andorder response can be near real-time.
One of the key benefits of using this process is the reduction of implementation time and cost
for Rosettanet Partners to build and expand their trading partner networks based on Rosettanet
specifications.
The Benefits also include
Help reduce TCO while connecting with Trading Partners
End-to-end visibility and control
Reduced cycle times
Create new opportunities to adopt collaborative business practices
Develop closer relationship with key partners and customers
Leverage SAP expertise in Industry specific business processes
PrerequisitesRosettaNet STK Installation & Configuration
1. Install the RosettaNet Self-Test Kit which can be downloaded fromhttp://www.rosettanet.org.
2. For the purpose of the Demo, the Rosettanet Self-Test Kit (STK) is installed on the Serveriwdflv11vm01 and can be accessed via URLhttp://iwdflv11vm01.wdf.sap.corp:8080/rosettanet/RnsttHome.jsp
3. Configure the settings for the Trading Partner for User ID Customer.
SAP XI (DC8 System) Configuration:
1. Configure the RFC Destination T90CLNT090 using Transaction SM59
2. Configure the Port SAPDL3_800 using Transaction IDX1.
3. Configure the communication parties SAP & Customer in IR-Configuration. Enter theDUNS number as the alternative identifier for the Party.
4. Configure the Broker Process.
5. Configure the Communication Channels for handling messages during Inbound andOutbound processing:
Channel containing configuration for RNIF Adapter to communicate with
RosettaNet STK
SAP Demo Systems Page 1 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
http://www.rosettanet.org/http://iwdflv11vm01.wdf.sap.corp:8080/rosettanet/RnsttHome.jsphttp://www.rosettanet.org/http://iwdflv11vm01.wdf.sap.corp:8080/rosettanet/RnsttHome.jsp7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
2/18
Channel containing configuration for IDOC Adapter to communicate with DL3( R/3
System)
6. Configure Receiver determination, Interface determination, and Receiver Agreement.
SAP DL3 System Configuration:
1. Configure RFC Destination for DC8 using Transaction Code SM59
2. Configure Port DC8_XI_800 to communicate with DC8 system using Transaction codeWE21.
3. Configure Partner Profile for the Partner IDESCUST. Configure the Inbound message typeORDERS and Outbound message type ORDRSP using Transaction Code WE20.
4. Configure the Output type as EDI for Partner IDESCUST
System Access Information
To run this Demo you need access to the following systems:
Rosettanet STK on iwdflv11vm01
SAP XI on System iwdf1806/Client 800
R/3 Enterprise Server on System iwdf9112/ Client 800
System Landscape
System Landscape, this Process is built in
SAP XI for Rosettanet Business Package
Solution Components used in this Process
Rosettanet 1.0
Rosettanet R/3 1.0
RNIF Adapter 2.0
Users
Predefined User (Role) Password Component
DEMO WELCOME R/3
SAP Demo Systems Page 2 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
3/18
Process Flow
The following diagram shows the Process flow of the PIP3A4 Request Purchase Order businessprocess.
Buyer (RosettaNet STK in this case) sends a purchase order request action to SAP XI viaRNIF Adapter. RNIF Adapter transforms the message protocol into a message protocol that isunderstood by the SAP XI and sends the message to the Integration Server of SAP XI forfurther processing.
SAP XI receives the message and sends a receipt acknowledgement via RNIF Adapter to
Buyer.
SAP XI transforms the PIP3A4 RosettaNet Standard message to the SAP message (IDOC
ORDERS05) and sends the message to the Backend R/3 System via IDOC Adapter for furtherprocessing.
Backend R/3 processes the IDOC and creates a Sales Order in the System and sends the
Order Confirmation message (ORDRSP IDOC) back to the waiting SAP XI Process.
SAP XI transforms the received confirmation IDOC to PIP3A4 Purchase Order Confirmation
message format.
The RNIF Adapter accepts the message from the Integration Server, transforms the message
protocol from XI to PIP message protocol, and sends the message to the RosettaNet-compliant system
Buyer sends the receipt acknowledgement for the received confirmation message.
SAP Demo Systems Page 3 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
Exchange Infrastructure
SAP Application
Business PartnersRosettaNet Compliant
System
RNIF
Adapter
IDOC
Adapter
Business Process Flow
SAP Business Package for RosettaNet
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
4/18
The following diagram shows how the Request Purchase Order PIP3A4 works. In this Two-Action(Request-confirm) Partners exchange two messages and two receipts. The two messages arePurchase Order Request and Purchase Order Confirmation with receipt acknowledgement signals inbetween two to acknowledge the receipt of messages.
The Request Purchase Order Scenario above enables a Buyer to issue a Purchase Order (Step 1),and a Seller to Acknowledge (Step 3).
Step 1 and Step 3 are Business Action messages and are part of PIP. They contain the purchaseOrder data. Step 2 and Step 4 are Business Signal messages and are acknowledgements that aresent in response to Business Actions.
The RNIF Adapter executes the transport, packaging and routing of all PIP messages and businesssignals based on the relevant information retrieved from the Integration Repository and IntegrationDirectory at runtime.
The following table details the roles that individual parties will play within the demo for the RosettanetPIP3A4 Request Purchase Order Scenario.
Party Role
Customer Buyer
SAP Seller
Figure 2
SAP Demo Systems Page 4 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
Seller
Signal (ReceiptAcknowledgement)
Response(PurchaseOrderConfirmationAction)
Signal (ReceiptAcknowledgement)
Request (PurchaseOrderAction)1
2
3
4
Buyer
Figure 1
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
5/18
The following actions take place for each Party in the above Scenario:
Buyer:
1. Send PIP3A4 Purchase Order Request Action messages
2. Receive ReceiptAcknowledgement signal for the sent Purchase Order Request Actionmessages.
3. Receive Purchase Order Confirmation Action message for the sent Purchase OrderRequest messages in response.
4. Send ReceiptAcknowledgement signal for the received Purchase Order Confirmationmessage.
Seller:
1. Receive PIP3A4 Purchase Order Request Action messages.
2. Send ReceiptAcknowledgement signal for the received Purchase Order Request Actionmessages.
3. Send response Purchase Order Confirmation message for the received Purchase Order
Request messages4. Receive ReceiptAcknowledgement signal for the sent Purchase Order Confirmation
message.
The following diagram shows the component view of the Business Scenario in SAP XI. BusinessScenarios describe the communication between application components on a higher level.
SAP Demo Systems Page 5 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
PurchaseOrderRequestAction
PurchaseOrderConfirmationAction
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
6/18
Business Data
The successful implementation of the demo is nearly independent of the information contained in themessage payloads. However, certain business data is required in order to populate the messageheader appropriately. Specifically, a partner ID scheme must be used to identify the trading partnersinvolved in a transaction. A DUNS number is assigned to each party in the demo for identification.
The following table represents the Parties involved and their assignments:
Party DUNS Number
Customer 677788899
SAP 111222333
Figure 3
Procedure
Open the Web Browser and open the Rosettanet Self-Test Kit using the URLhttp://iwdflv11vm01.wdf.sap.corp:8080 .
Perform the following steps on this screen as shown in the figure below:1. In the Enter a User ID field, enterCustomer.
2. Click on RosettaNet Test Configuration link.
Figure 4
SAP Demo Systems Page 6 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
Enter User ID
Click Rosettanet
Test Configurationtion
http://iwdflv11vm01.wdf.sap.corp:8080/http://iwdflv11vm01.wdf.sap.corp:8080/7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
7/18
Next Page is the Rosettanet Test Configuration Screen. On this screen PIPs and scenarios can beeasily selected from the drop-down menus. These settings are saved as default settings for theDemo.
Perform the following steps in case there are no default settings as shown in the figure
1. Select the PIP 3A4 from PIP drop-down menu. This automatically populates PIP Scenario.
2. Select Test Scenario 3A4V02.02-RequestPurchaseOrder-0001-Scenario-Buyer from theTest Scenario drop-down menu.
3. Select Global Usage Code Production.
4. Enter Component Under Test Partner details. Enter Global Business/DUNS ID 111222333and Location ID as Walldorf.
5. Enter URL of the XI RNIF Adapterhttp://iwdf1806:50000/MessagingSystem/receive/RNIFAdapter/RNIF
6. Enter Global Business/DUNS ID 677788899 for the Test System and Location ID as PaloAlto.
7. Choose Nonefor Security options.8. Click Submit button.
Figure 5
SAP Demo Systems Page 7 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
PIP
Test Scenario
DUNS Number of theSeller
DUNS number of theBuyer
URL for XI RNIFAdapter
http://iwdf1806:50000/MessagingSystem/receive/RNIFAdapter/RNIFhttp://iwdf1806:50000/MessagingSystem/receive/RNIFAdapter/RNIF7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
8/18
On the next page you see the successful completion of the Request Purchase Order businessprocess. This process involved sending a Purchase Order Request Action message, receiving thereceipt acknowledgement signal for the sent message, receiving response Purchase OrderConfirmation action message, and sending the receipt acknowledgement message for the receivedmessage.
You can see the real-time status is displayed until the Test Completed.
Figure 6
Test Reports can be viewed in:
Summary
Detailed
Pure XML
Summary Report show high level test results. Results are shown for each interaction within a PIP.Detailed Reports show complete error details for Delivery Header. Details include XML messagecontent, Error component, Expected value and Description.
SAP Demo Systems Page 8 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
9/18
These reports generated from XML can be easily shared with trading partners.
Summary Report
Figure 7
Monitoring on XI
The Interactions on the Seller side can be viewed using the following:
SAP XI Monitoring Tool on DC8 using Tr. Code SXMB_MONI.
Monitoring PIP messages in the Integration Engine Runtime Workbench.
SAP XI Monitoring
1. Log on to the DC8 System/ Client 800 with user DEMO and password WELCOME.
SAP XI Monitoring Tool
TR Code: SXMB_MONI
Exchange Infrastructure Monitoring
Integration Engine
2. Navigate to the Transaction Code SXMB_MONI.
SAP Demo Systems Page 9 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
10/18
3. Execute Monitor for Processed XML Messages.
4. In the Status Group drop down menu, select Processed Successfully. Click on icon.
SAP Demo Systems Page 10 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
11/18
5. The four highlighted messages shown below are the four interaction steps from the PIP3A4business process.
6. The Status icon means the message was processed successfully. Highlight each messageand double-click to see the status of each message,
SAP Demo Systems Page 11 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
12/18
Monitoring PIP Messages in RWB
Messages can also be viewed in RWB of SAP XI Integration Engine.
1. Log on to the DC8 System/ Client 800 with user DEMO and password WELCOME.
2. Go to the Transaction code SXMB_IFR and logon to RWB with user DEMO and password
WELCOME.
3. On the next screen, click the Message-Monitoring and in the Status menu, select ALL option.
4. Choose the PIP message to see the status of the message.
SAP Demo Systems Page 12 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
13/18
Order Processing in R/3 System:
1. Log on to the DL3 System/ Client 800 with user DEMO and password WELCOME.
2. Choose the Transaction WE05. In the Basic type field, enter ORDERS05
3. In the Partner Number field, enter IDESCUST.
4. Click Execute button.
5. On the next screen, highlight the ORDERS/ORDERS05 IDoc and double-click on it.
SAP Demo Systems Page 13 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
14/18
6. On the next screen, open the Status records folder and open the folder with status 53.This gives you the Sales Order Number that was just created by the IDOC.
SAP Demo Systems Page 14 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
15/18
7. Choose Transaction Code VA03.
8. In the Order input field, enter the Sales Order Number(10167 in this case).
9. On the next screen, view the details of Sales order that was created by the IDOC sent bySAP XI via IDOC Adapter.
SAP Demo Systems Page 15 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
16/18
10. On this screen, choose the menu path ExtrasOutputHeaderEdit as shown in thediagram below.
SAP Demo Systems Page 16 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
17/18
11. On this screen you see the status of the Standard Sales Order Output. The R/3 isconfigured to trigger the Order Confirmation IDoc soon after the Sales Order gets created.
12. Click on the button Processing Log to view the IDOC number that was created by the
Process.
SAP Demo Systems Page 17 of 18 Last saved 5/4/2004 12:48:00 AM
168744220.doc by I805344
7/22/2019 SAP XI 3.0 BPM Demo Rosettanet
18/18
13. Choose the Transaction WE02 and in the IDOC Number input field, enter the IDOCnumber from the previous step.
14. Open the Status record of the IDOC to see the IDOC is successfully transmitted to SAPXI.
SAP Demo Systems Page 18 of 18 Last saved 5/4/2004 12:48:00 AM
168744220 d b I805344