Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems editing program

Former Member
0 Likes
830

Hi all,

I'm trying to change an existing program but everytime I try it displays the following error:

AFM file required for the printer font SCREEN Arial 010

I've already checked se73 to see what I could do, but nothing very impressive.

Any idea on the solution?

6 REPLIES 6
Read only

Former Member
0 Likes
787

Hi

Can u give the class and the number of the error message?

Max

Read only

0 Likes
787

AFM file required for the printer font SCREEN ARIAL 010

Message no. TD338

Diagnosis

The specified printer font is incorrectly defined in the SAPscript font maintenance: There is no fontmetrics data (AFM file) for the proportional printer font.

SAPscript uses run-time objects, the so-called SAPscript load which contains data about fonts, character sets, layout sets, and styles. These run-time objects (stored according to client) are automatically regenerated if the data base tables on which they are based have changed, or the run-time objects do not yet exist. The run-time objects are accessed when texts are formatted for output to the printer or screen.

System Response

The generation of font data for SAPscript had to be terminated.

Procedure

In order to calculate the fontmetrics for proportional printer fonts, SAPscript requires fontmetrics data (AFM file). This is managed in the SAPscript font maintenance.

Read only

0 Likes
787

Hi

Try to see the SAP not 2399:

Symptom

Key word: AFM file

When printing from within word processing or during output to the

screen (including F1 help text), a program termination occurs with

message TD338: AFM file required for the printer font ...

Additional key words

AFM, TD338, font, metrics

Cause and prerequisites

The error message specifies a font to which the message refers,

for example, "COURIER 120 X". For each font family (in this example,

"COURIER"), SAPscript defines whether this is a proportional or

non-proportional font family (i.e., whether the width of the letters

differs or not). If a font family is INCORRECTLY marked as

proportional, the program is terminated because for proportional

font families metric data (the so-called AFM files) must be defined

for each printer font of the family in question.

Non-proportional font families in the R/3 System, for example:

COURIER, LNPRINT.

Solution

Use the transaction "SAPscript font maintenance" to check the

font families table for whether the "Prop" field for the font

family is blank for non-proportional font families (e.g., COURIER).

If required, delete the entry in this field.

If the font family is correctly described as proportional (e.g.

HELVE, TIMES), you must check the list of printer fonts for the

respective output device to see whether incorrect font metrics have

been stored. If so, perform the actions for maintaining the metrics

described above.

Max

Read only

Former Member
0 Likes
787

And where can I find the AFM file?

Read only

0 Likes
787

U should ask this question to a basis

But I can suppose the AFM file is the file to be used to upload a font to SAP

Max

Read only

Former Member
0 Likes
787

It was hard (and already solved for some time), but the solution was to change the fonts