Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: TD - SAPscript: Text editor, composer, forms, styles and fonts
Message number: 318
Message text: AFM file for font & is new
There was no fontmetrics file for the printer font specified.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
TD318
- AFM file for font & is new ?The SAP error message TD318 typically relates to issues with the font configuration in the SAP system, particularly when dealing with the AFM (Adobe Font Metrics) files. This error can occur when the system is unable to find or access the required AFM file for a specific font, which can lead to problems in document generation, printing, or rendering.
Cause:
- Missing AFM File: The AFM file for the specified font is not present in the expected directory.
- Incorrect Path: The path to the AFM file may be incorrectly configured in the SAP system.
- Font Not Installed: The font that the system is trying to use may not be installed on the server or client machine.
- Permissions Issue: There may be insufficient permissions to access the directory where the AFM files are stored.
- Corrupted AFM File: The AFM file may be corrupted or improperly formatted.
Solution:
Check AFM File Location:
- Verify that the AFM file for the required font is present in the correct directory. The typical path for AFM files in SAP is usually under the
fonts
directory of the SAP installation.Install Missing Fonts:
- If the font is not installed, you may need to install it on the server or client machine. Ensure that the font is compatible with SAP.
Update Font Configuration:
- Check the SAP font configuration settings. You can do this in transaction code
SPAD
(Spool Administration). Ensure that the font is correctly defined and that the path to the AFM file is accurate.Permissions Check:
- Ensure that the user account running the SAP application has the necessary permissions to access the directory containing the AFM files.
Replace or Repair AFM File:
- If the AFM file is corrupted, try replacing it with a known good version of the file.
SAP Notes:
- Check the SAP Support Portal for any relevant SAP Notes that may address this specific error. There may be patches or updates available that resolve the issue.
Related Information:
Transaction Codes:
SPAD
: Spool Administration, where you can manage fonts and spool settings.SE78
: SAP ArchiveLink, where you can manage the upload of fonts and other documents.Documentation:
SAP Community:
If the problem persists after trying the above solutions, consider reaching out to your SAP Basis team or SAP support for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
TD317
AFM file is incomplete, end of file reached
What causes this issue? When parsing the fontmetrics file, the end of the file was reached although the fontmetrics data was not complete.System Resp...
TD316
Unknown PostScript character name &
What causes this issue? A PostScript character name was used in the fontmetrics file which is not recognized by the SAP System.System Response The s...
TD319
Changes to the AFM file have not yet been saved
What causes this issue? You want to exit the editor of the fontmetrics file without saving the changes made.System Response You do not exit the edit...
TD320
Print control must be empty or begin with "&"
What causes this issue? A name was specified for a print control which does not begin with the defined character combination.System Response The nam...
Click on this link to search all SAP messages.