SAP Knowledge Base Article - Public

3157729 - General Journal Entries Negative postings SAP S/4HANA Cloud Public Edition

Symptom

  • Configuration to allow negative postings for a specific company code

  • General Postings and Reversal (Negative Posting flag set for Reversal Reason)
    General Postings with Negative Posting
    General Postings and Reversal (Negative Posting flag not set for Reversal Reason)

  • API Principles in relation to General Postings and Negative Postings

  • Error Messages 
    Negative postings for company code & and document type & not allowed. Message Number FDC_POSTING_001029 
    Negative postings for company code &1 and document type &2 not allowed. Message Number FINS_FI_POSTING_IF056



"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

SAP S/4HANA Cloud Public Edition

Resolution

How to configure the system to allow negative postings for a specific company code?

Where negative posting is required in accordance with Negative Postings


Allow negative posting for Company code

  1. Manage Your Solution App or CBC system
  2. Configuration activity "Company Code General Ledger View" (SSCUI 106039)
  3. Select the Company Code and Allow Negative Postings for.
  4. Edit
  5. Select the Flag "Negative Postings Permitted"

    Company Code General Ledger View (ID 106039)

Allow negative posting for document type:

  1. Manage Your Solution App or CBC system
  2. Configuration activity "Define Document Types" (SSCUI 101522)
  3. Select the Document Type and Allow Negative Postings for.
  4. Edit
  5. Select the Flag "Negative Postings Permitted"

  • Define Document Types  ID(101522)




                        <Item>

 

 



General Ledger Journal Entry Posting without Negative Posting 

  • Create Journal Entry with app Post General Journal Entries (App ID F0718)




  • View Results in app Manage Journal Entries (app id F0717A)





  •  Reversal (Negative Posting flag set for Reversal Reason)

     Reverse Journal Entry Using App Manage Journal Entries 

    The setting of the document type is not considered in a reversal for FI with regard to Negative Postings 
        
    In relations to reversals, see configuration activity Define Reasons for Reversal  ID 101039  
    Reversal reason ( T041C-XNEGP) can be configured for negative posting. This means a reversal with this reason tiggers a negative posting, If a company code does not generally use any negative postings, the indicator set here is ignored. 





    In app Manage Journal Entries choose Reversal Reason when reversing journal entry 



 
  •     View Results in app Manage Journal Entries  

 


  • Display Journal Entries in T-Account View (App ID F3664)





General Ledger Journal Entry Postings with Negative Posting 


For example, if a document item in a document has been posted to an incorrect account, you can enter an adjustment document by crediting the incorrect account with a negative posting and debiting the correct account with a regular posting.

  • Create Journal Entry with app Post General Journal Entries - Regular Posting 

Document item in a document has been posted to an incorrect account 10090000 for amount of 100 debit






Journal Entry 100001134 1010 2025 created (results like 100001130 1010 2025 in Manage Journal Entries)

  • Enter an adjustment document by crediting the incorrect account 10090000 with a negative posting and debiting the correct account 10090002 with a regular posting.
    Create Journal Entry with app Post General Journal Entries

  • When you create a negative posting, enter a minus sign before the transaction amount

     

  • View Results in app Manage Journal Entries








    App Display Journal Entries in T-Account View 



  • App Display Line Items In General Ledger View  (App ID F2217)  Comparison between regular posting with reversed posting and regular posting and negative Posting for Account 10090000





General Ledger Journal Entry Posting and Reversal without Negative Posting 

Configuration activity Define Reasons for Reversal  ID 101039  

Reversal Reason Z2 - Negative Posting flag not set 




Manage Journal Entries choose Reversal Reason when reversing journal entry 




App Display Journal Entries in T-Account View 




App Display Line Items In General Ledger View  (App ID F2217)  

API Principles in relation to Debit Credit Indicators and Negative Posting: 

Case 1: Normal Posting: no negative posting,  S (Debit) + plus sign amount (100) ;  H (Credit) + minus sign amount (-100)

  Payload:

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">100</AmountInTransactionCurrency>

                        <DebitCreditCode>S</DebitCreditCode>

                    </Item>

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">-100</AmountInTransactionCurrency>

                        <DebitCreditCode>H</DebitCreditCode>

                    </Item>

  • Payload (example reference to Items)


 


View Posting Via app Manage Journal Entries

 Line 1: S,100, Negative posting is false

Line 2: H, 100, Negative Posting is false



To Reverse Journal Entry Journal Entry – Reverse can be used. See principles in relation to ReversalReason referenced above 

If API negative posting required See Example  Negative Posting with API 


  • Case 2: Negative Posting with API

Real Negative Posting,  S (Debit) + minus sign amount (-100) ;  S (Debit) + plus sign amount (100); negative posting config as allowed 

   Payload:

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">-100</AmountInTransactionCurrency>

                        <DebitCreditCode>S</DebitCreditCode>

                    </Item>

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">100</AmountInTransactionCurrency>

                        <DebitCreditCode>S</DebitCreditCode>

                    </Item>


Payload (example reference to Items)



View Posting Via app Manage Journal Entries

            Line 1: S, -100, Negative posting is true 

            Line 2: S, 100, Negative posting is false




 

Error Messages 
Negative postings for company code & and document type & not allowed. Message Number FDC_POSTING_001029 
Negative postings for company code &1 and document type &2 not allowed. Message Number FINS_FI_POSTING_IF056



  • Configuration activity: Company Code General Ledger View (ID 106039)
    Negative Postings Permitted is not selected 






  • Post General Journal Entries with Negative posting 




API In correct understanding: Negative posting ,S (Debit) + minus sign amount (-100) ;  H (Credit) + plus sign amount (100); negative posting config as not allowed



Case 3 Wrongly understand Negative posting ,S (Debit) + minus sign amount (-100) ;  H (Credit) + plus sign amount (100); negative posting config as not allowed

   Payload:

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">-100</AmountInTransactionCurrency>

                        <DebitCreditCode>S</DebitCreditCode>

                    </Item>

                        <Item>

                         ….

                        <AmountInTransactionCurrency currencyCode="EUR">100</AmountInTransactionCurrency>

                        <DebitCreditCode>H</DebitCreditCode>

                    </Item>

the journal entry can be posted Entry View:

            Line 1: H ,100, Negative Posting is false

            Line 2: S, 100, Negative Posting is false

Example Case 3 will be blocked in future. Please consider payload to be posted in conjunction with format of Case 1 or 2 payload. The blocking of this case 3 in future release will ensure Debit/Credit Code is consistent between payload and table/journal entry

See attachment for further examples of how postings are made using app Post General Journal Entries and API and View Results in app Manage Journal Entries, Ledger View

See Also

Negative Postings


Post General Journal Entries


Journal Entry - Post (Asynchronous)

Keywords

XNEGP, V_001_B, T001, Cannot, Unable, Minus, Negative posting, Journal entries, Not allowed , KBA , FI-FIO-GL-TRA , Transaction Apps , FI-FIO-GL-TRA-2CL , Transaction Apps (Public Cloud) , FI-FIO-GL-CA , Cross Application Configuration in General Ledger , AC-INT-2CL , Accounting Interface (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions

Attachments

Test Examples (6).docx
Pasted image.png