Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix VY012 - Company codes are different: Delievery &1/&2 shipment &3/&4


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VY - Messages for freight processing

  • Message number: 012

  • Message text: Company codes are different: Delievery &1/&2 shipment &3/&4

  • Show details Hide details
  • What causes this issue?

    A delivery is assigned to a different company code than the shipment to
    be calculated.
    This is not allowed if the costs are to be distributed at the level of
    delivery or delivery item.

    System Response

    Account assignment and settlement is not possible for this shipment cost
    item.

    How to fix this error?

    If you want to carry out settlement for this shipment, then the costs
    can only be carried out at the shipment cost item level.
    Delete the shipment cost item.
    Create a new shipment cost item for this shipment or shipment stage with
    another shipment cost item category.
    Im Customizing, cost apportionment 'A' should be entered for this
    category.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VY012 - Company codes are different: Delievery &1/&2 shipment &3/&4 ?

    The SAP error message VY012 indicates that there is a mismatch between the company codes of the delivery and the shipment in a logistics process. This typically occurs when you are trying to process a delivery that is associated with a shipment, but the two are linked to different company codes.

    Cause:

    1. Different Company Codes: The delivery document and the shipment document are created under different company codes. This can happen if the delivery is created in one company code and the shipment is created in another.
    2. Incorrect Configuration: There may be configuration issues in the system that allow for the creation of deliveries and shipments across different company codes.
    3. Data Entry Errors: Manual entry errors during the creation of deliveries or shipments can lead to this mismatch.

    Solution:

    1. Check Company Codes: Verify the company codes associated with both the delivery and the shipment. You can do this by checking the document details in the SAP system.
    2. Correct the Mismatch: If the company codes are indeed different and should not be, you will need to correct the documents. This may involve:
      • Deleting the incorrect delivery or shipment and recreating it under the correct company code.
      • Adjusting the configuration if necessary to ensure that deliveries and shipments are created under the same company code.
    3. Consult with Configuration Team: If you suspect that this is a configuration issue, consult with your SAP configuration team to ensure that the settings for deliveries and shipments are correctly aligned with your business processes.
    4. Use Transaction Codes: You can use transaction codes like VL03N (Display Delivery) and VT03N (Display Shipment) to view the details of the documents and confirm the company codes.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional guidance.
    • Documentation: Review SAP documentation related to logistics and transportation management for best practices on handling deliveries and shipments.
    • User Training: Ensure that users involved in creating deliveries and shipments are trained on the importance of maintaining consistent company codes.

    By following these steps, you should be able to resolve the VY012 error and ensure that your logistics processes run smoothly.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author