• No results found

Test Tool (order acknowledgment)

Test Tools

Exercise 7: Test Tool (order acknowledgment)

Exercise Objectives

After completing this exercise, you will be able to:

• Use the test tool

• Use IDoc display to trace IDocs

Business Example

XYZ Ltd., is a leading car manufacturer. It has recently implemented the EDI Integration Technology for the sales and procurement transactions with its business partners. You want to test the following as soon as possible:

• Sending purchase orders

• Receiving order acknowledgments

Task 1:

1. Create a purchase order for methanol, material number SH-100, from the vendor T-BILnn by selecting LogisticsMaterials Management

PurchasingPurchase OrderCreateVendor Known (transaction ME21).

2. As a member of the purchasing department, you belong to purchasing organization 1000 and purchasing group 001. The methanol is required for plant 1100 (Berlin). Company code is 1000 (IDES AG 1000).

3. After you have successfully entered the data, select HeaderMessages from the menu in the item overview to check the proposal for the output of the purchase order via Message Control. If dispatch time 4 is selected, an IDoc for this purchase order is generated when the data is saved.

4. Change to Purchase OrderDisplay . By selecting SystemLinks the IDoc that has just been generated is displayed.

Continued on next page

Task 2:

1. You can use the purchase order IDoc generated as a template for the inbound order acknowledgment you need to test.

2. From the initial node of the IDoc Interface, choose TestTest Tool.

Choose Existing IDoc and call the value help, in which you search with the recipient partner number. Choose Create.

3. Select the control record (the first record) by clicking with the mouse and change the following fields:

Recipient, Port:

SAP<SID>

Sender, Port: PORT-nn

Sender, Partner number: T-BILnn Sender, Partner type: LI Sender, Partner function: LF

Message type: ORDRSP

Choose Continue .

4. The order acknowledgment should contain at least the order number of the vendor. Therefore, you need to create a corresponding segment.

Copy the segment E1EDK02 and change the following fields:

Qualifier: 002

Document: For example, BC620-Test-4711

Choose Continue to close the dialog box.

5. You need to assign the acknowledgment of your vendor to the item.

Create a corresponding segment E1EDP02 after the item segment E1EDP01 as a subsegment. Maintain the following fields:

Qualifier: 001

Document: Order number, in the segment E1EDK02, qualifier 001, field document

Document item: Document item, in the segment E1EDP01, field document item

BIT320 Lesson: Monitoring EDI Process

Choose Continue .

6. Choose Standard Inbound and then Continue .

7. The system changes your original order. You can display the changed order by selecting LogisticsMaterials ManagementPurchasing

Purchase OrderDisplay . If you double-click the item, the acknowledgment number that is transferred will be displayed. By selecting SystemLinks from the item overview, you can display the IDoc linked to the outbound purchase order and the IDoc linked to the inbound acknowledgment.

<SID> is the three-character system ID, such as ID3.

nn is the number of your exercise group. This number can range from 1 to 18.

Solution 7: Test Tool (order acknowledgment)

Task 1:

1. Create a purchase order for methanol, material number SH-100, from the vendor T-BILnn by selecting LogisticsMaterials Management

PurchasingPurchase OrderCreateVendor Known (transaction ME21).

a)

2. As a member of the purchasing department, you belong to purchasing organization 1000 and purchasing group 001. The methanol is required for plant 1100 (Berlin). Company code is 1000 (IDES AG 1000).

a)

3. After you have successfully entered the data, select HeaderMessages from the menu in the item overview to check the proposal for the output of the purchase order via Message Control. If dispatch time 4 is selected, an IDoc for this purchase order is generated when the data is saved.

a)

4. Change to Purchase OrderDisplay . By selecting SystemLinks the IDoc that has just been generated is displayed.

a)

Task 2:

1. You can use the purchase order IDoc generated as a template for the inbound order acknowledgment you need to test.

a)

2. From the initial node of the IDoc Interface, choose TestTest Tool.

Choose Existing IDoc and call the value help, in which you search with the recipient partner number. Choose Create.

a)

3. Select the control record (the first record) by clicking with the mouse and change the following fields:

BIT320 Lesson: Monitoring EDI Process

Recipient, Port:

SAP<SID>

Sender, Port: PORT-nn

Sender, Partner number: T-BILnn Sender, Partner type: LI Sender, Partner function: LF

Message type: ORDRSP

Choose Continue . a)

4. The order acknowledgment should contain at least the order number of the vendor. Therefore, you need to create a corresponding segment.

Copy the segment E1EDK02 and change the following fields:

Qualifier: 002

Document: For example, BC620-Test-4711

Choose Continue to close the dialog box.

a)

5. You need to assign the acknowledgment of your vendor to the item.

Create a corresponding segment E1EDP02 after the item segment E1EDP01 as a subsegment. Maintain the following fields:

Qualifier: 001

Document: Order number, in the segment E1EDK02, qualifier 001, field document

Document item: Document item, in the segment E1EDP01, field document item

Choose Continue . a)

6. Choose Standard Inbound and then Continue . a)

7. The system changes your original order. You can display the changed order by selecting LogisticsMaterials ManagementPurchasing

Purchase OrderDisplay . If you double-click the item, the Continued on next page

acknowledgment number that is transferred will be displayed. By selecting SystemLinks from the item overview, you can display the IDoc linked to the outbound purchase order and the IDoc linked to the inbound acknowledgment.

<SID> is the three-character system ID, such as ID3.

nn is the number of your exercise group. This number can range from 1 to 18.

a)

BIT320 Lesson: Monitoring EDI Process

Related documents