How To Fix ARUN_MAIN042 - Item &1 is assigned; cannot change &2 in sch. line &3 (see long text &4)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ARUN_MAIN -

  • Message number: 042

  • Message text: Item &1 is assigned; cannot change &2 in sch. line &3 (see long text &4)

  • Show details Hide details
  • What causes this issue?

    The material is relevant to Supply Assignment (ARun) and an assignment
    exists for this document item.
    You cannot change the document item for one of the following reasons:
    The unassign rule field check is set to <ZK>Error </>in Customizing
    under <LS>Cross-Application Components > Advanced Available-to-Promise
    (aATP) > Supply Assignment (ARun) > Cross-Applications</>.
    The item is already assigned; therefore, the material cannot be changed.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    You can set the field check from Error to one of the following options.
    N = No Action
    W = Warnings Before an Order is Unassigned
    For application types (purchase orders, inline confirmations, and
    inbound deliveries), you can set the Customizing under <LS>Cross-
    Application Components > Advanced Available-to-Promise (aATP) > Supply
    Assignment (ARun) > Cross-Applications > > Purchase Order Handling</>.
    For application types (stock transport orders), you can set the
    Customizing under <LS>Cross-Application Components > Advanced
    Available-to-Promise (aATP) > Supply Assignment (ARun) >
    Cross-Applications > Stock Transport Order Handling</>.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ARUN_MAIN042 - Item &1 is assigned; cannot change &2 in sch. line &3 (see long text &4) ?

    The SAP error message ARUN_MAIN042 indicates that there is an issue with changing a scheduled line in a sales order or a similar document because the item in question is already assigned to a specific schedule line. This typically occurs in the context of sales and distribution (SD) or materials management (MM) modules.

    Cause:

    The error arises when you attempt to change a characteristic of a scheduled line (like quantity, delivery date, etc.) for an item that is already assigned to a schedule line. This can happen due to:

    1. Existing Assignments: The item is already linked to a specific schedule line, and the system does not allow changes to certain fields while the assignment exists.
    2. Data Integrity Rules: SAP enforces data integrity rules to prevent inconsistencies in the scheduling and delivery processes.
    3. Locked Records: The item or schedule line may be locked by another transaction or user, preventing changes.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Assignments: Review the current assignments for the item in question. You can do this by navigating to the relevant sales order or delivery document and checking the schedule lines.

    2. Remove Assignment: If you need to change the schedule line, you may need to first remove the assignment of the item from the current schedule line. This can typically be done by:

      • Going to the schedule line overview in the sales order.
      • Deleting or adjusting the assignment as necessary.
    3. Adjust the Schedule Line: After removing the assignment, you can then make the necessary changes to the schedule line.

    4. Consult Long Text: The error message references a long text (see long text &4). This long text may provide additional context or specific instructions related to the error. Make sure to review it for more detailed guidance.

    5. Check for Locks: Ensure that there are no locks on the document that might be preventing changes. You can check transaction codes like SM12 to see if there are any locks on the relevant records.

    6. User Permissions: Ensure that you have the necessary permissions to make changes to the schedule lines.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as VA02 (Change Sales Order), VA03 (Display Sales Order), and VL02N (Change Outbound Delivery) to navigate and manage sales documents effectively.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Refer to SAP Help documentation for detailed information on handling schedule lines and sales order management.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in the relevant module.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker