Show TOC

Function documentationTransfer of Routing from SAP ME to SAP ERP

 

This function let you create a routing in SAP ME and transfer it to SAP ERP, which creates corresponding routing and operation records in SAP ERP.

This function supports long material numbers (see Transfer of Long Material Number).

Prerequisites

SAP ERP
SAP ME
  • In System Rule Maintenance, you have set the following rules as follows:

    • ERP Integration Active to true

    • Enable Replication of ME Routing to ERP to Yes or Yes with Change Management

      Note Note

      When the Enable Replication of ME Routing to ERP system rule is set to Yes or Yes, with Change Management, the Is Last Reporting Step checkbox is selected automatically for the last routing step with defined ERP-related settings. This configuration overrides any manual setting of the Is Last Reporting Step checkbox.

      End of the note.
    • Ignore Routing Update to true

  • In Control Key Maintenance, you have created control keys that match ERP control keys.

Activities

  • You create a routing in SAP ME.

    • You select Effective Start Date for routing (see Routing Maintenance).

    • You identify the ERP reporting step by entering ERP Control Key, ERP Work Center and Reporting Step field values. If you don't enter a reporting step ID, the system automatically generates it for the routing steps that contain an ERP control key (see Routing Step Properties).

  • You choose the status as Releasable or Frozen, select Current Version, and save the routing.

  • You assign the routing to a material (see Material Maintenance).

    • You enter a planned routing in Material Maintenance to assign the routing to a material. If you don't enter the routing version, the material is implicitly assigned to the current version of the routing.

    • The assigned routing is transferred to SAP ERP upon saving the material.

  • SAPMEINT creates the corresponding routing master record or a new version of the existing routing record in SAP ERP.

    Example Example

    User Actions in SAP ME

    System Actions when the system rule Enable Replication of ME Routing to ERP is set as

    Yes, with Change Management

    Yes

    You assign a material to the routing and save the record.

    For example,

    Routing/Version: R1/A

    Material/Version: M1/A

    Material Assignment:

    M1/A – R1/ (version is not entered)

    SAP ME creates a change number and transfers routing R1/A with material M1/A to SAP ERP.

    SAP ERP creates a new group with a group counter for the routing.

    For example,

    Group: 50001

    Group Counter: 01

    Change Number: 500000000100

    Material M1/A is assigned to group 50001 with group counter 01.

    Note Note

    Since you have not entered the routing version, the material is assigned to the current version of the routing.

    End of the note.

    SAP ME transfers routing R1/A with material M1/A to SAP ERP.

    SAP ERP creates a new group with a group counter for the routing.

    For example,

    Group: 50001

    Group Counter: 01

    Material M1/A is assigned to group 50001 with group counter 01.

    Note Note

    SAP ME does not create a change number.

    End of the note.

    You assign another material to the same routing and save the record.

    For example,

    Routing/Version: R1/A

    Material/Version: M2/A

    Material Assignment:

    M2/A – R1/A

    SAP ME creates a change number and transfers routing R1/A with material M2/A to SAP ERP.

    SAP ERP creates a new group with a group counter for the routing.

    For example,

    Group: 50002

    Group Counter: 01

    Change Number: 500000000101

    Material M2/A is assigned to group 50002 with group counter 01.

    Note Note

    A new group is created for every material assignment.

    End of the note.

    SAP ME transfers routing R1/A with material M2/A to SAP ERP.

    SAP ERP creates a new group with the same group counter for the routing.

    For example,

    Group: 50002

    Group Counter: 01

    Material M2/A is assigned to group 50002 with group counter 01.

    Note Note

    A new group is created for every material assignment.

    End of the note.

    You create a new version of the routing and save the record

    For example,

    Routing/Version: R1/B

    Material/Version: M1/A

    Material Assignment:

    M1/A – R1/ (version is not entered)

    SAP ME creates a new change number and transfers the new version of routing R1/B with material M1/A to SAP ERP.

    SAP ERP updates the same group counter for the new version of routing.

    For example,

    Group: 50001

    Group Counter: 01

    Change Number: 500000000102

    Material M1/A is assigned to group 50001 with group counter 01

    Note Note

    Since you have not entered the routing version for the material M1/A, the new current version of routing R1/B is automatically assigned and exported to SAP ERP. However, since material M2/A is explicitly associated with routing R1/A, no export is triggered for material M2/A, even though there is a new routing version, R1/B.

    When change number is used, the same group counter is updated.

    End of the note.

    SAP ME transfers the routing R1/B with material M1/A to SAP ERP.

    SAP ERP creates a new group counter for the new version of routing.

    For example,

    Group: 50001

    Group Counter: 02

    Material M1/A is assigned to group 50001 with group counter 02.

    Note Note

    SAP ME does not create a change number and SAP ERP increments the group counter for the new version of the routing.

    Since you have not entered the routing version for the material M1/A, the new current version of routing R1/B is automatically assigned and exported to SAP ERP. However, since material M2/A is explicitly associated with routing R1/A, no export is triggered for material M2/A, even though there is a new routing version, R1/B.

    When change number is not used for every new version of routing, a new group counter is created.

    End of the note.

    You assign another material to the new version of the routing and save the record.

    For example,

    Routing/Version: R1/B

    Material/Version: M3/A

    Material Assignment:

    M3/A – R1/B

    SAP ME creates a new change number and transfers routing R1/B with material M3/A to SAP ERP.

    SAP ERP creates a new group with a group counter for the routing.

    For example,

    Group: 50003

    Group Counter: 01

    Change Number: 500000000103

    Material M3/A is assigned to group 50003 with group counter 01.

    SAP ME transfers routing R1/B with material M3/A to SAP ERP.

    SAP ERP creates a new group with the same group counter.

    For example,

    Group: 50003

    Group Counter: 01

    Material M3/A is assigned to group 50003 with group counter 01.

    End of the example.

    Note that for every unique combination of routing and material, a new group is created in SAP ERP.

  • You allocate a component to the routing in SAP ERP (see Allocating a Component to an Operation).

  • You create and release a production order in SAP ERP using the routing exported from SAP ME.

  • SAPMEINT creates the Production shop order based on the data received from SAP ERP and the routing created in SAP ME.

    • The routing and routing version that was exported from SAP ME will be updated as the planned routing for the shop order.

    • If a BOM is not available, it will be created and updated as the planned BOM for the shop order.