How To Fix /PRA/ACCOUNTING129 - Cost center is mandatory for income or expense accounts


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /PRA/ACCOUNTING -

  • Message number: 129

  • Message text: Cost center is mandatory for income or expense accounts

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message /PRA/ACCOUNTING129 - Cost center is mandatory for income or expense accounts ?

    The SAP error message /PRA/ACCOUNTING129 indicates that a cost center is mandatory for income or expense accounts in the context of financial postings. This error typically arises when you attempt to post a transaction that involves an income or expense account without specifying a cost center, which is required for proper accounting and reporting.

    Cause:

    1. Missing Cost Center: The most common cause of this error is that the transaction being posted does not include a cost center, which is required for income and expense accounts.
    2. Configuration Settings: The system may be configured to require cost centers for certain types of accounts, and if the account being used falls under this category, the error will occur.
    3. Account Type: The account type being used in the transaction is classified as an income or expense account, which mandates the assignment of a cost center.

    Solution:

    1. Specify a Cost Center: When posting the transaction, ensure that you include a valid cost center in the relevant field. This can usually be done in the line item details of the transaction.
    2. Check Account Configuration: Review the configuration of the account in question to confirm whether it is set up to require a cost center. This can be done in the SAP configuration settings (transaction code SPRO).
    3. Review Posting Logic: If you are using a custom program or transaction, ensure that the logic includes the assignment of a cost center for income and expense accounts.
    4. Consult Documentation: If you are unsure about the required cost center or how to assign it, refer to your organization's internal documentation or consult with your finance team.

    Related Information:

    • Transaction Codes: You may need to use transaction codes such as FB50 (General Ledger Account Document Entry) or F-02 (General Posting) to enter your transactions.
    • Cost Center Master Data: Ensure that the cost center you are trying to use is active and properly set up in the system (transaction code KS01 to create or KS02 to change).
    • Account Group Settings: Check the account group settings for the income or expense account to see if there are specific requirements for cost centers.
    • SAP Notes: Look for relevant SAP Notes that may provide additional insights or solutions related to this error message.

    By addressing the missing cost center and ensuring that your account configurations align with your posting requirements, you should be able to resolve the error and proceed with your transaction.

    • 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