How To Fix MG258 - Transaction &: accounting in prev. period or prev. year skipped


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MG - Batch input: material master

  • Message number: 258

  • Message text: Transaction &: accounting in prev. period or prev. year skipped

  • Show details Hide details
  • What causes this issue?

    The accounting view is not active. The reasons for this may be:
    You have not selected the accounting view.
    You are not authorized to access accounting data.

    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?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MG258 - Transaction &: accounting in prev. period or prev. year skipped ?

    The SAP error message MG258 indicates that a transaction is being attempted in a previous period or previous year, which is not allowed due to the system settings or configuration. This error typically arises in the context of inventory management or financial accounting when trying to post transactions that affect periods that have already been closed.

    Cause:

    1. Closed Periods: The accounting period you are trying to post to has been closed. In SAP, once a period is closed, no further postings can be made to that period.
    2. Year-End Closing: If the fiscal year has been closed, transactions cannot be posted to that year.
    3. Configuration Settings: The system may be configured to prevent postings to previous periods or years as a control measure.
    4. Document Type Restrictions: Certain document types may have restrictions on posting to previous periods.

    Solution:

    1. Open the Period: If you have the necessary authorization, you can open the closed period in the configuration settings. This is done through the transaction code OB52 (for opening and closing periods).

      • Navigate to Financial Accounting > General Ledger > Master Records > Open and Close Posting Periods.
      • Adjust the settings to allow postings for the required period.
    2. Use a New Period: If the period cannot be opened, consider posting the transaction in the current period or the next available period.

    3. Adjust Configuration: If the restriction is due to configuration settings, consult with your SAP administrator or finance team to review and adjust the settings as necessary.

    4. Consult Documentation: Review SAP documentation or consult with your SAP support team for specific guidelines related to your organization's configuration and policies.

    Related Information:

    • Transaction Codes:

      • OB52: To open or close posting periods.
      • MB1A, MB1B, MB1C: Common transaction codes for inventory postings.
    • User Authorizations: Ensure that you have the necessary authorizations to make changes to posting periods or to post transactions.

    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or solutions related to this error message.

    • Fiscal Year Variant: Understand the fiscal year variant settings in your organization, as they dictate how periods are managed.

    • Consulting with Finance Team: It may be beneficial to discuss with your finance team to understand the implications of opening a closed period and to ensure compliance with accounting policies.

    By following these steps, you should be able to resolve the MG258 error and successfully post your transactions.

    • 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