Test Tools
Exercise 8: Test Tool (Order Confirmation)
Exercise Objectives
After completing this exercise, you will be able to:
• Use the IDoc display to trace IDocs
Business Example
As a member of your EDI project team in the purchasing department, you need to test the following as soon as possible:
• Process of sending purchase orders
• Process of receiving order confirmations
Task 1:
1. To create a purchase order for your vendor T-BIL##, choose the following in the SAP menu: Logistics→Materials Management→ Purchasing→Purchase Order→Create→ME21N→Vendor Known . 2. As a member of the purchasing department, you belong to the
purchasing organization 1000 and the purchasing group 001.
Company code is 1000 (IDES AG 1000).
3. For the item 001, enter the material methanol, material number SH-100. The methanol is required for the plant 1100 (Berlin). Enter an order quantity.
After the data is entered successfully, choose Messages from the toolbar in the item overview to check the proposal for the output of the purchase order using message control. If dispatch time 4 is selected, an IDoc for this purchase order is generated when data is saved.
4. Choose the following from the SAP menu: Logistics→Materials Management→Purchasing→Purchase Order→ME23N-Display.
To display the IDoc you created, choose System→Object Services , followed by the Links icon.
Make a note of the IDoc number.
Task 2:
Now, call transaction BD87 and display the IDoc from 2-4.
1. What is the status text of the IDoc?
Continued on next page
2. Where can you find the following entries from your order:
The specified -Sold-to party - Vendor
- Goods recipient?
Task 3:
Optional: Change the condition record for your vendor T-BIL## so that the time for creating a message is set to 1. Send by periodic scheduled background job. Also, change the partner profile for the vendor T-BIL## and for the order type ORDERS so that it is set to Collect IDocs . Which steps do you need to follow to create an outbound IDoc for a purchase order?
1. Create a new IDoc by repeating steps 2-1 to 2-3. Make a note of the purchase order number.
2. Use the program RSNAST00 to generate a program from the NAST record.
For the object key, enter the purchase order number so that you only evaluate the messages for your own purchase orders.
3. Use the status monitor to check the status of the created IDoc.
4. Which program can you use to ensure that the IDoc is sent?
BIT320 Lesson: Monitoring EDI Process
Solution 8: Test Tool (Order Confirmation)
Task 1:
1. To create a purchase order for your vendor T-BIL##, choose the following in the SAP menu: Logistics→Materials Management→ Purchasing→Purchase Order→Create→ME21N→Vendor Known . a)
2. As a member of the purchasing department, you belong to the purchasing organization 1000 and the purchasing group 001.
Company code is 1000 (IDES AG 1000).
a)
3. For the item 001, enter the material methanol, material number SH-100. The methanol is required for the plant 1100 (Berlin). Enter an order quantity.
After the data is entered successfully, choose Messages from the toolbar in the item overview to check the proposal for the output of the purchase order using message control. If dispatch time 4 is selected, an IDoc for this purchase order is generated when data is saved.
a)
4. Choose the following from the SAP menu: Logistics→Materials Management→Purchasing→Purchase Order→ME23N-Display.
To display the IDoc you created, choose System→Object Services , followed by the Links icon.
Make a note of the IDoc number.
a)
Task 2:
Now, call transaction BD87 and display the IDoc from 2-4.
1. What is the status text of the IDoc?
a) The status text reads: IDoc written to file
2. Where can you find the following entries from your order:
The specified -Sold-to party
Continued on next page
- Vendor
- Goods recipient?
a) Display the data records for your IDoc.
Sold-to party: Segment E1EDK1 AG Vendor: Segment E1EDK1 LF
Goods recipient: Segment E1EDK1 WE
Task 3:
Optional: Change the condition record for your vendor T-BIL## so that the time for creating a message is set to 1. Send by periodic scheduled background job. Also, change the partner profile for the vendor T-BIL## and for the order type ORDERS so that it is set to Collect IDocs . Which steps do you need to follow to create an outbound IDoc for a purchase order?
1. Create a new IDoc by repeating steps 2-1 to 2-3. Make a note of the purchase order number.
a)
2. Use the program RSNAST00 to generate a program from the NAST record.
For the object key, enter the purchase order number so that you only evaluate the messages for your own purchase orders.
a) From the menu bar, choose System→Services→Reporting to start the transaction SA38 and enter RSNAST00. Choose Execute . In the selection screen, enter the following values:
Output application: EF
Object key: <your purchase order number>
Output type: NEU Transmission medium: 6 Then, choose Execute .
3. Use the status monitor to check the status of the created IDoc.
a) Start the status monitor (transaction BD87). The IDoc should have the status 30: IDoc ready for dispatch.
4. Which program can you use to ensure that the IDoc is sent?
a) Program RSEOUT00. In the selection screen, enter the IDoc number. For Basic Type, enter the IDoc type to trigger dispatch of your IDoc.
BIT320 Lesson: Monitoring EDI Process
Lesson Summary
You should now be able to:
• Describe the different options that a subsystem has for transferring status values to the SAP system
• Identify and implement different test tools
Unit Summary
You should now be able to:
• Describe the different options that a subsystem has for transferring status values to the SAP system
• Identify and implement different test tools
BIT320 Test Your Knowledge
Test Your Knowledge
1. The status value 51 indicates that none of the transferred status records are successfully processed.
Determine whether this statement is true or false.
□ True
□ False
2. is the most widely used test tool for Outbound and Inbound processing.
Fill in the blanks to complete the sentence.
Answers
1. The status value 51 indicates that none of the transferred status records are successfully processed.
Answer: False
If not all the status records are successfully transferred to the relevant IDocs, the inbound IDoc has the status 52. If none of the transferred status records are successfully processed, the IDoc has the status 51.
In both the cases, error handling is started for the inbound IDoc.
2. WE19 is the most widely used test tool for Outbound and Inbound processing.
Answer: WE19
BIT320 Course Summary