cancel
Showing results for 
Search instead for 
Did you mean: 

WWI.INI / Some questions

christoph_bergemann
Active Contributor
0 Kudos

Dear all

now using WWI for quite along time sometimes new topics which are "strange" come up and there is the need to explain themTherefore:

referring to: Determining Fonts - Basic Data and Tools (EHS-BD) - SAP Library

The story is as:

We have a font used in report template and the report template e.,g was created using Windows/Winword condition in Microsoft Code page as shown here:

1160=Times New Roman,Arial,Courier New


Now in wwi.INni you must map language keys and code pages and the define fonts to be used. During raw report and final report generation the data is analyzed and the display should then happen with an pfoper Font. It is not clear what will happen if there is no font defined in wwi.in (no language Codepage Font Mapping)


Currently there was the need to install a new "language" in SAP. Let us assume:

non of the codepages as listed:


1504=Times New Roman Cyr,Arial Cyr,Courier New Cyr

1404=Times New Roman CE,Arial CE,Courier New CE

1614=Times New Roman Tur,Arial Tur,Courier New Tur

1904=Times New Roman Baltic,Arial Baltic,Courier New Baltic

8000=MS Gothic

8300=MingLiU

8400=MS Song

8500=GulimChe

8604=Tahoma

applies. But now which font is used?? Microsoft Arial Unicode (the "biggest font) one can think of?

Or more specific: is there the need to have a "full mapping" of any SAP language used to microsoft code page and then font in WWI.Ini?

As well I am not sure any more for the first part of the explanation:

"Fonts in the same font family must appear at the same position in the list."


What is exactly this meaning? If I establish now a template and use "numerous of several fonts": is there the need to have a "full" list of any font used in the template in wwi.ini


May be someone can provide input


C.B.


PS: I have execute a survey in SAP marketplace; there are lots of OSS for complex fonts, asian characters etc. existing; but i did not find yet any helpful on the top; only fact is: WWI SP41 is released now.. wow



View Entire Topic
Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christoph,

The replacement depends on the font you used. So if you create a certain section of your template using Times New Roman and this template is then used for a Russian (Cyrillic) report, the Times New Roman will be replaced with Times New Roman Cyr.

In your list above, the most important entry is missing (1160 = Times New Roman, Arial, Courier New) since you will used codepage 1160 when creating templates.

If you use in codepage 1160 a font that is not mentioned in the list I'm not sure what will happen to that section during a language convesion. A conversion into a codepage that is not mentioned in the list does not work.

Ralph

christoph_bergemann
Active Contributor
0 Kudos

Dear Ralph

more topics... more or less based on your feedback

In the example of online help it is mentioned as:

"You want to generate a label in Arial with Greek texts on a German PC."

and this is now the topci in correlation of your answer:

"In your list above, the most important entry is missing (1160 = Times New Roman, Arial, Courier New) since you will used codepage 1160 when creating templates."

Let us imagine this is not the case..let us assume taht different PC is used

In onlie example this is the sequence:

1160=Times New Roman,Arial,Courier New

1704=Times New Roman Greek,Arial Greek,Courier New Greek

Now assume that we talk about "greek" PC => if i understand the explanaion correct then the sequence is different as:

1704=Times New Roman Greek,Arial Greek,Courier New Greek

1160=Times New Roman,Arial,Courier New

Can you agree on this?

Let us now assume that the "old" configuration is valid.

FONTS]

1160=Times New Roman,Arial,Courier New

1704=Times New Roman Greek,Arial Greek,Courier New Greek

1504=Times New Roman Cyr,Arial Cyr,Courier New Cyr

1404=Times New Roman CE,Arial CE,Courier New CE

1614=Times New Roman Tur,Arial Tur,Courier New Tur

1904=Times New Roman Baltic,Arial Baltic,Courier New Baltic

What happend if in the report Template one has used font "TAHOMA"?

Therefore; is there the need to "extend" the section as:

1160=Times New Roman,Arial,Courier New, Tahoma


That means;: any font as used in report template must be mentioned in the frist line of FONT section; then based on explantion in online help:


FONTS]

1160=Times New Roman,Arial,Courier New, Tahoma

1704=Times New Roman Greek,Arial Greek,Courier New Greek


In this case for 1704: if report template contains font "Tahoma" in report Courier New Greek will be used


Can you confirm this as well?


Issue of discussion is coming up because "report from template" gives different result as "report management" view


Teh "best" guess is now: Using report from template the report is create in "one" run; for display in CG50/CG54 we need to runs. The first run is to create raw report and store it in database and second run is to retrieve parameter datato get final report


Based on the many OSS: we will now test SP41 in this context and check the result


But I hope that in your next answer you can remove my doubts for FONT selection. Thanks


C.B:


PS: If we use CG50 and display the report: you know that the fielis troed locally on client; If I use now WordPad to check content the starnge result is: teh font is now "perfect" selected; so I have strange feeling that the WWI does have here a "display" problem in context of Winword; quite interesting (but similar things seen in the past; but not on that "strange" level)



Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christoph,

I'm not a technical guy, but I assume that if you create a template on a Greek laptop, Word already knows that you are using codepage 1704. Based on this assumption. the order in which the codepages are listed in wwi.ini doesn't matter. The whole thing is basically only a translation table: If you use Arial in codepage 1160, but the report is to printed in greek, then use in the report the font Arial Greek. If you create the template in 1160 Tahoma and there is no entry for tahome Greek, the last font specified for codepage 1704 will be used (Courier New Greek in your example above), as you suggested.

The sentence "Fonts of the same family must appear at the same position" means that id you are on codepage 1160 using Arial, which is the second entry in your example above for this codepage, then durng the conversion, the second entry in the list for codepage 1704 will be used. If that is not Arial Greek but e.g. Tahome Greek, then your font will be switched from Arial to Tahoma during the conversion.

The difference in view between report from template and CG50 is probably due to different Word settings on your local laptop and the WWI server.

Ralph

Mark-Pfister
Active Contributor
0 Kudos

HI Christoph,

Just as a thought:
How about using the synchronous WWI Server company wide and get rid of these problems forever 😉  ?

Greets

Mark

christoph_bergemann
Active Contributor
0 Kudos

Dear Ralph

a.) Order of font in WWI.Ini (e.g.) Word already knows that you are using codepage 1704: your explanation seems to be straightforward (with a slight but; but this is then next question)

b.) in context of: "If you create the template in 1160 Tahoma" my doubt is little bit different.

Based on the online help: e.g. let us assume 1160 code page is used for "report template" setup; now my understanding is: you must ! enumerate any ! font used in report template in wwi.ini; therefore: if you have used in report template "Tahoma" in 1160 but you do not enumerate Tahoma in line 1160... what will happen then for other languages... (which font conversion ??)

c.:)

The difference in view between report from template and CG50 is probably due to different Word settings on your local laptop and the WWI server.

there seems to be more than one reason why the data is not shown properly; some reasons could be identified in the meantime; but I am pretty sure that there is still some difference with WWI/winword on server and local client (it is only the question: there is the difference...? as always. very close check needed)

So i hope that you can remove my last doubt

In the example of online helpit is assumed that codepage 1160 is used

Font in the Report Template

1160 (Western European)

Times New Roman

Arial

Courier New

If one has used font "Tahoma" in the report template but this font is not enumerated here: what will happpen in WWI process?

C.B

christoph_bergemann
Active Contributor
0 Kudos

Dear Mark

the topic of the use of a "central server" farm is discussed often.... There is only one topic there you might have better idea than myself:

a.) for SDS generation we use different WWI than for GLM

b.) now using EnhPack 3 you can use some "clever" WWI installation on server to avoid local WWI installation

Do you have experience there in set up? do we need a synchronous and an asynchronous server farm? and what are the results (e.g. performance; number of additional WWI servers based on numbers of enduser etc.)

This "central" thing is clearly better option (as you need not to take care regarding local WWI anymore)

C.B.

Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christoph,


I assume you are usng a laptop that is set up with settings for Germany, so Windows knows you are on codepage 1160. If you create a template in Tahoma and you wwi.ini settings for codepage 1160 do not include Tahoma, then the font of last entry in each codepage will be used. So, if your entries are:

1160=Times New Roman ,Arial, Courier New

1704=Times New Roman Greek,Arial Greek,Courier New Greek

and you create the template in 1160, for Greek the font Courier New Greek will be used (the last entry for 1704), for Western European languages the font stays at Tahoma.

Ralph

Mark-Pfister
Active Contributor
0 Kudos

HI Christoph,

In my current EH&S Roll-out project (complete new SAP-EH&S installation) we decided to use the Synchronous WWI Server for displaying reports  (CVD1, CG02->Report from Template, CG50 CG54 etc.).


So far - we have not gone life yet - it is working without issues.

We did set up the synchronous WWI-Servers/Services on the same Windows Server as the 'normal' WWI Services (Final Report Generation / Raw Report Generation).

Performance is a bit slower - as the documents needs to be send around a bit more:

  • SAP -> WWI Server -> SAP -> Local PC 

     versus

  • SAP -> Local PC

but in my opinion acceptable.

The other nice thing with the synchronous WWI Server is that you can display PDFs right away.

On our system the part of the WWI generation that takes place on the SAP System (value file generation etc.) takes anyhow 2/3 of the overall generation time.

As WWI can now run several MS Word instances at the same time I think you just might be able to add them to your already existing WWI Servers.

It all depends on how many people in you company are displaying reports simultaneously.

Give it a try on your test system - it is easy to set up with CGSADM. All you need is one RFC (for all synchrons WWI Server is needed).

Greets

Mark

christoph_bergemann
Active Contributor
0 Kudos

Dear Mark

I appreciate your explanation in context of your current EHS installation project and the blueprint explanation as provided. Quite interesting hints and very valuable

C.B.