cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe form character '#' display issue in PDF Output

Former Member
0 Kudos

SAP GUI Screen is showing the correct text ' FZG (Fe-B#1-W3) '  in the table entries output in SE11 .

but on the Adobe form output it is showing differently at ' B# ' . It is showing as like ' FZG (Fe-✢)1-W3) ' .

The text is not a manual entry text. It came from a migration program which we dont have access to see that.

Can you please let me know why there is a difference in SAP GUI output and Adobe Form output.

There is also a difference in Hexadecimal value for both the above texts when i saw in debug mode in the internal table field.

For FZG (Fe-✢)1-W3) ' below is the hexa decimal value

0046005A00470020002800460065002D004200810031002D0057003300290020002000200020002000200020

For ' FZG (Fe-B#1-W3) '  below is the hexa decimal value

0046005A00470020002800460065002D004200230031002D0057003300290020002000200020002000200020

Can you please give a solution to solve this issue.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anupama,

SAP GUI is a relatively stupid in comparison to other programs. SAP GUI (also in preview mode) displays many whitespaces or spacial characters(unknown or not printable) as "#". It doesn't means that the character is really the character "#"!

The Java-Stack for rendering the adobe form can recognize the character and could display it, but the character is actually not a readable character.

The solution is logically to wipe away all the special characters, --- actually it should be done before the texts were saved in SAP tables. If it is not the case, then you should convert the hex code to string and wipe away the special characters using ABAP, before the texts are transfered to the Adobe form.

In your string there are not only one but a lot of such special characters. However, many of them were displayed as space, but they are still there!

Goal is: if you use some the online converters such as:
http://www.string-functions.com/hex-string.aspx
after wiping away the special characters using ABAP, you should see only plain texts without some wired characters.

Cheers,

Tao

sandeep_katoch
Contributor
0 Kudos

Hi Anupama,

Checkl for the printer settings in transaction SPAD.

It seems that the printer configuration is havong problem with non unicode characters or special characters

Rgds,

Sandeep Katoch

Former Member
0 Kudos

Dear Sandeep,

Thanks for your reply. But in print preview also we are getting the same issue.

Regards,

Anupama.

sandeep_katoch
Contributor
0 Kudos

Hi Anupama,

While debugging check in the internal table which contains the value.

Download it in excel from internal table itself. Sometimes it happens that some special characters gets stored in the form of white spaces. So in these cases the value differs in SAP table and one which we download while debugging from internal table.

It seems to be a problem of special character which is in the form of whitespace

Rgds,

Sandeep katoch