Messages to Create and Change Purchase Orders
So that you can exchange the customer's purchase orders and purchase order changes electronically, you must copy the messages that were already used for purchase orders and purchase order changes of the EF
application and change the settings accordingly. To create and change purchase orders, the system accesses the same messages. Note, however, that you must copy the used messages twice so that they can be output twice (once as an IDoc file and again as a PDF file).
The whole process comprises the following steps:
Copy the used messages in Customizing for Financial Supply Chain Management
under . You do this as follows:
Select the line EF - Purchase Order
.
Choose Output types
.
The system displays the messages that are available for purchase orders.
Switch to change mode.
Select the output type NEU - Purchase order
(or your previously used output type).
Copy this output type and assign the new output type the short text ZEDX and the description Purchase Order (XML).
To copy the output type, choose Enter
and then Copy All
.
Save your entries.
Check the settings of the new output type ZEDX
.
Tab page General Data
The access sequence must have the vendor details at the end (for instance 0001).
Access to Conditions and Multiple Issuing must be selected.
Tab page Default Values
Dispatch Time 4, Send immediately (when saving the application)
Transmission Medium: A, Distribution (ALE)
Partner Function VN
Tab pageTime
Program for Output Timing: RSNASTED
FORM Routine: ALE_PROCESSING
Check your entries for the processing routine of the new output type ZEDX
.
Select the line with the new output type ZEDX
.
Doubleclick the entry Processing Routines
.
The following entries are displayed: Medium Distribution ALE
, Program RSNASTED
, and FORM Routine ALE_PROCESSING
.
Add the new output type ZEDX
to the message procedure that you use for purchase orders.
You edit procedures for messages in Customizing for Financial Supply Chain Management
under .
Select the line EF - Purchase Order
.
Choose Procedures
.
The system displays the procedures that exist for purchase orders.
Select the procedure RMBEF1
- Purchase Order.
Doubleclick the Control
folder in the left screen area.
Add a row with your new output type ZEDX
. Choose the step number in such a way that the new output type comes directly after the output type that you used as a copy template. We recommend copying the template output type and then changing the step number in the copy and entering the output type ZEDX.
Save your entries.
Create the condition records for the new output type ZEDX
as follows:
You edit the condition records in Customizing for Financial Supply Chain Management
under .
Select the row EF - Purchase Order
.
Choose Condition Records
.
The system displays the condition records that are available for purchase orders.
Doubleclick the output type ZEDX
.
Select the key combination where the vendor is positioned at the end of the key.
On the next screen, make the entries for your vendor, for instance purchasing document type NB, purchasing organization EK22, and vendor L678.
Choose Execute
.
In the next table, enter the vendor only and choose Enter
.
Check if the following values are defaulted: Role VN, Medium A, Date/Time 4
Enter in this way all the vendors that are to receive electronic messages.
Save your entries.
To copy messages for storing purchase order information as a PDF file, you proceed in the same way. But in this case you create output type ZPDF
. The differences in the settings for output type ZEDX
are explained below.
When you check the settings for output type ZEDX, there are differences on the Default Values tab page. The transmission medium here must be 1 - Print Output. The Storage System tab page is only relevant for output type ZPDF
. The following entries should be visible here: Storage Mode
Archive Only, Document Type
EDXORDPDF
EDX: Archive Purchase Order (PDF)
When you check the processing routine of the new output type ZPDF, the following entries must be visible: Medium
Print Output, Program
SAPFM06P with FORM Routine
ENTRY_NEU with Form
MEDRUCK and Type
blank (no entry).
When you check the condition records, proceed in the same way as for output type ZEDX. In this case, however, you can enter communication data for your vendors. To do so, select a vendor and choose the Communication
push button. In the next screen, enter the output device (for instance your system printer LP01 ) and activate the Print Immediately
option. Enter all the vendors that are to receive electronic messages and configure the appropriate communication option. Save your entries.
For the two new output types you have created, you must now determine the processes for which they can be used (for instance, new printout or printout of changes). You configure the fine control of output types in Customizing for Material Management
under . In this Customizing activity, choose the entry Fine-Tuned Control: Purchase Order
and, for message types ZEDX
and ZPDF
, enter operations 1 and 2 for each of the message types.