cancel
Showing results for 
Search instead for 
Did you mean: 

Cyrillic PDF works with one invoice, the other not

michael_fallenbchel
Active Participant
0 Kudos

Hi experts,

very strange problem:

When I try to print an Bulgarian invoice with our Unicode device type (PDFUC), the first one is working, the other not.

Both are the same form, both are printed the same way...first one contains the  Cyrillic letters, the other one only the #

I'm a little bit confused and don't know what can cause the problem...

Any ideas?

Thanks

Michael

Accepted Solutions (0)

Answers (3)

Answers (3)

arindam_m
Active Contributor
0 Kudos

Hi,,

Please check what are the 'exact' characters that is having problems. If it is unicode there should be no error on SAP end could be that the printer font support is missing.

Cheers,

Arindam

michael_fallenbchel
Active Participant
0 Kudos

Good morning together,

I just debugged both forms. The printer is correct!

See attached a screenshot of the invoices - as you can see, one time everything's fine, the other time all cyrillic letters are replaced.

So the fonts are there

I use SAPscript, both are the same form!

arindam_m
Active Contributor
0 Kudos

Hi,

Sap scripts often have language based version like the same form in two languages say 'EN' and 'DE' .

Also are the clients same? Sap scripts are client specific.

If they are same client see if the same Language of the script selected during processing is same in both cases.

Cheers,

Arindam

michael_fallenbchel
Active Participant
0 Kudos

Morning Arindam,

form 1:

LVF_DEVICE PRINTER

TDDEST ZUCP

TDPROGRAM ZRVADIN1

TNAPR-FONAM ZINVOICE-XXX

NAST-SPRAS W

form 2

LVF_DEVICE MAIL

TDDEST ZUCP

TDPROGRAM ZRVADIN1

TNAPR-FONAM ZINVOICE-XXX

NAST-SPRAS W

Okay, now I can see a difference - device is printer or mail. Printer is working fine, Mail is not working...what I have to check then?

SCOT - Settings - Device types for Format Conversion

Target Format is PDF, language Bulgarion, Output Format SAPscript - SAPWIN5

arindam_m
Active Contributor
0 Kudos

Hi,

Check the device configuration in SPAD.

Cheers,

Arindam

michael_fallenbchel
Active Participant
0 Kudos

What should I check?

Both are the same device...

arindam_m
Active Contributor
0 Kudos

Hi,

What are these LVF_DEVICE PRINTER, LVF_DEVICE MAIL?

Cheers,

Arindam

michael_fallenbchel
Active Participant
0 Kudos

Easy to explain 🙂

function "OPEN_FORM"

parameter device

One form is MAIL, the other PRINTER

I checked again a little bit more in detail...The one is printed as "5 External sending", the other as "1 printout"

arindam_m
Active Contributor
0 Kudos

Hi,

Yes so check them in SPAD you might get to know if the mail device supports the font is it that the mail device converts and attaches to the mail the smart form as PDF then check the convertion FM if any language is taken into consideration when its converting

Cheers,

Arindam

michael_fallenbchel
Active Participant
0 Kudos

I think I found the solution:

SCOT - Settings - Device types for Format Conversion

Target Format is PDF, language Bulgarion, Output Format SAPscript - SAPWIN5

--> SAPWIN5 is not Unicode! When I change this to PDFUC everythings fine

arindam_m
Active Contributor
0 Kudos

Great

Cheers,

Arindam

aidan_black
Active Contributor
0 Kudos

p.s. For the Smart Forms the parameter USER_SETTINGS must also be empty or the default output device of the user is the one that is used.

aidan_black
Active Contributor
0 Kudos

Hello Michael,

The # character indicates that the character set of the device type does not support the Cyrillic characters. Are you sure it is really PDFUC in both cases?

I am not sure if this is a SAPscript or Smart Form. If is it SApscript, check th parameter OPTIONS-TDDEST in the ABAP debugger when the application calls the function module OPEN_FORM. For Smart Form, check the parameter OUTPUT_OPTIONS-TDDEST when the application calls the Smart Form function module. Are they filled the same in both cases?

Regards,
Aidan