Purchase order collaboration involves configuring the following documents in SAP ERP:
- Purchase Order
- Order Confirmation
- Ship Notice
- Receipt
- Invoice
Purchase Order
To configure Purchase Orders for Purchase Order Collaboration, complete the following tasks:
- Define message output for Purchase Order
- Maintain parameters for Purchase Order
- Configure implicit enhancement for Change and Cancel Orders
- Implement a customer exit for Purchase Order
Define message output for purchase order
Message output is a technique to control output of an application like Purchase Order generation as print/mail/EDI output. Purchase Orders created by buyers are transmitted to suppliers via SAP Business Network as IDocs and for that Purchase Order message output configuration is required
Simulation
In this simulation, you will learn how to define message output control for purchase orders
Maintain Parameters for Purchase Order
The parameters that must be set up for Purchase Order Collaboration are listed in following table. To set up these parameters , navigate to the following SPRO path: Integration with Other SAP Components>SAP Ariba Cloud Integration Gateway>Ariba Network Integration>Application Specific Settings>Purchase Order>Maintain Parameters for Purchase Order.
Variable Name | Field Name | Number | Low | Description |
---|---|---|---|---|
ORDER_ENABLED | Leave Blank | 0000 | To enable, enter X. To disable, leave blank. | Enable or disable the SAP Ariba provided enhancements for Purchase Orders. |
REGIO_DESC_ENABLEDLeave Blank | Leave Blank | 0000 | To enable, enter X. To disable, leave blank. | Enable this parameter to populate Region Description in the IDoc segment. |
CSC_COPY_SUPPLIER_PARVW | Leave Blank | 0000 | YS or YL for example. | Required for multi-tier Purchase Orders. Use this parameter to send more than one copy of the Purchase Order or Receipt. |
DELIVER_TO_PARVW | Leave Blank | 0000 | YS or YL for example. | Mention the Partner function to fetch the Parter details. |
ARIBA_SRVMAPKEY | Leave Blank | 0000 | To enable, enter X. To disable, leave blank. | Required for service Purchase Orders that have Service Line Number and use the Service Map Key activated in the SAP ERP system. |
PRINT_REL_CHK_ENABLED | Leave Blank | 0000 | To enable, enter X. To disable, leave blank. | Enable or disable the output relevant field check for Purchase Order. |
HANDLING_UNITS | Leave Blank | 0000 | To enable, enter X. To disable, leave blank. | Enable or disable the to send isHUMandatory or send blank in purchase order. |
Configure Implicit Enhancement for Change and Cancel Orders
This process allows users to configure implicit enhancements for change and cancel orders.
Step 1: Navigate to the program
To configure Implicit Enhancement for change and cancel orders, complete the following steps:
1. Run the transaction code SE38, The ABAP Editor: Initial Screen displays.
2. In the Program field, enter LEINMF0Q and choose Display
Step 2: Select the program
3. In the popup select the SAPLEINM
Step 3: Create Implement Enhancement
4. Choose Enhance and again select SAPLEINM in the popup.
5. Put cursor at the start of lesen-beleg form and right click and choose Enhancement Implementation>Create.
6. Click Code on the Choose Type of Enhancement popup to display Select or Create Enhancement Implementation and click Create Enhancement Implementation. Provide name and description for the enhancement and press Enter.
Step 4: Implement required code/include
7. In the package popup, specify your Z or Y package, press Enter, and save the package to a transport request.
8. Enter the following: INCLUDE ARBCIG_ORDER_REQUEST_LEINMF0Q IF FOUND.
9. Activate and Save the enhancement.
Implement Customer Exit for Purchase Orders
This process allows users to implement customer exit for Purchase Orders.
To implement a customer exit for purchase orders, complete the following steps.
Step 1: Create a new project
1. Run transaction code SPRO.
2. Choose SAP Reference IMG.
3. Navigate to: Integration with Other SAP Components>SAP Ariba Cloud Integration Gateway>Ariba Network Integration>Application Specific Settings>Purchase Order>Implement a Customer Exit for Purchase Order.
4. Create a new project. For example, ZMMIDOC.
5. Choose Create.
Step 2: Add a user exit
6. Click Enhancement Assignments and then enter the user exit name MM06E001 and click Enter.
7. Click Components.
Step 3: Implement the required enhancements (1 of 2)
8. Double-click the enhancement name EXIT_SAPLEINM_002. In the new screen that appears, double-click INCLUDE ZXM06U02.
9. Copy and paste the following code: INCLUDE ARBCIG_ORDER_REQUEST_002 IF FOUND.
Step 4: Implement the required enhancements (2 of 2)
10. Go back and double-click the enhancement name EXIT_SAPLEINM_011. In the new screen that appears, double click INCLUDE ZXM06U33.
11. Copy and paste the following code: INCLUDE ARBCIG_ORDER_REQUEST_011 IF FOUND.
12. Save and go back to Project Management of SAP Enhancements screen and activate the project.