SAP Knowledge Base Article - Public

2328859 - Manual Journal Entry Voucher Error Messages: "XYZ is not a Valid Value for this field. Enter a Valid Value." or "Entered Value is not Valid for this Context based code field"


 You want to post Manual Journal Entry Vouchers to certain G/L Accounts but are prevented to so and error messages are raised

Reproducing the Issue

  1. Open Work Centre General Ledger
  2. Navigate to View Journal Entries, then Journal Entry Vouchers
  3. Click on New button, select Journal Entry Voucher
  4. Maintain the relevant Data (marked with *) and check that the Set of Books is relevant
  5. Further down, click on Add row button
  6. In the G/L Account column, search for the relevant one: You notice that it is not available for selection
  7. Maintain the G/L Account ID manually
  8. An error message is raised immediately:
    "Entered value is not valid for this Context based code field" OR "XYZ is not a valid value for this field. Enter a valid value." (Where XYZ stands for a G/L account ID)


  1. Navigate to view General Ledger Accounts, click on Advanced
  2. Fill in the relevant Company and Set of books
  3. In the G/L Account list displayed, filter on the G/L Account you need
  4. In the Account Block column, "Only automatic postings allowed" is maintained.


A Manual Journal Entry Voucher cannot be posted for this G/L account as it will only accept automatic postings as per the Account Block set up for it. This is the expected system behaviour.


 You can temporarily or permanently disable this posting block in Business Configuration

  1. Open Work Centre Business Configuration
  2. Select the relevant Implementation Project
  3. Search and open the Activity "Charts of Accounts, Financial Reporting Structures, Account Determination"
  4. Click on "Edit Charts of Account", select the relevant one
  5. Search and select the G/L Account for which you need to remove the Block
  6. In the "G/L Account Posting Block" column, set the block to "All postings allowed"
  7. Save

Go back to the New Manual Journal Entry Voucher Screen, after clicking on "Add row" button, the desired G/L account should now be available for selection and posting of the manual JEV won't be hindered.

If removing the block is only temporary, you can put it back in Business Configuration again.


KBA , SRD-FIN-GL , General Ledger , How To


SAP Business ByDesign all versions