Symptom
When you enter a G/L account in the account assignment screens of a purchase order, error message EME038 is issued: 'No direct postings can be made to G/L acct. & in CCode &'.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
1. Flag the "Automatic posting only" in the G/L Master Data
2. During the creation of a Purchase Order insert the G/L account created
3. The error "No direct postings can be made to G/L acct. & in CCode &" is issued
2. During the creation of a Purchase Order insert the G/L account created
3. The error "No direct postings can be made to G/L acct. & in CCode &" is issued
Cause
The G/L account is maintained incorrectly.
Resolution
Set the field 'Automatic posting only' in the G/L account master record to ' '.
1. Access the APP "Manage G/L Account Master Data";
2. Search for the G/L account;
3. Enter the "Company Code Data" and set the field 'Automatic Posting Only' to 'NO'.
See Also
2483544 - How to avoid ME 038 error (No direct postings can be made to G/L acct. & in CoCode &) ?
Keywords
G/L Account; Purchase Order; ME038; Automatic Posting Only; , KBA , MM-PUR-PO , Purchase Orders , Problem
Product
SAP S/4HANA Cloud all versions