Process documentationMessages 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).

Process

The whole process comprises the following steps:

  1. Copy the used messages in Customizing for Financial Supply Chain Management under Start of the navigation path Billing Consolidation Next navigation step Environment Next navigation step Define Conditions for Message Control End of the navigation path. You do this as follows:

    1. Select the line EF - Purchase Order.

    2. Choose Output types.

      The system displays the messages that are available for purchase orders.

    3. Switch to change mode.

    4. Select the output type NEU - Purchase order (or your previously used output type).

    5. Copy this output type and assign the new output type the short text ZEDX and the description Purchase Order (XML).

    6. To copy the output type, choose Enter and then Copy All.

    7. Save your entries.

  2. 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

  3. Check your entries for the processing routine of the new output type ZEDX.

    1. Select the line with the new output type ZEDX.

    2. Doubleclick the entry Processing Routines.

    3. The following entries are displayed: Medium Distribution ALE, Program RSNASTED, and FORM Routine ALE_PROCESSING.

  4. Add the new output type ZEDX to the message procedure that you use for purchase orders.

    1. You edit procedures for messages in Customizing for Financial Supply Chain Management under Start of the navigation path Billing Consolidation Next navigation step Environment Next navigation step Define Conditions for Message Control End of the navigation path.

    2. Select the line EF - Purchase Order.

    3. Choose Procedures.

      The system displays the procedures that exist for purchase orders.

    4. Select the procedure RMBEF1 - Purchase Order.

    5. Doubleclick the Control folder in the left screen area.

    6. 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.

    7. Save your entries.

  5. Create the condition records for the new output type ZEDX as follows:

    1. You edit the condition records in Customizing for Financial Supply Chain Management under Start of the navigation path Billing Consolidation Next navigation step Environment Next navigation step Define Conditions for Message Control End of the navigation path.

    2. Select the row EF - Purchase Order.

    3. Choose Condition Records.

      The system displays the condition records that are available for purchase orders.

    4. Doubleclick the output type ZEDX.

    5. Select the key combination where the vendor is positioned at the end of the key.

    6. On the next screen, make the entries for your vendor, for instance purchasing document type NB, purchasing organization EK22, and vendor L678.

    7. Choose Execute.

    8. In the next table, enter the vendor only and choose Enter.

    9. Check if the following values are defaulted: Role VN, Medium A, Date/Time 4

    10. Enter in this way all the vendors that are to receive electronic messages.

    11. Save your entries.

  6. 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.

  7. 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 Start of the navigation path Purchasing Next navigation step Messages Next navigation step Output Control Next navigation step Message Types Next navigation step Define Message Types for Purchase Order End of the navigation path. 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.