Junk Character in French Smartform
I have to type the text 'nos vu0153ux de prompt' in a French language smartform. The output comes as 'nos v#ux de prompt' instead of the one above. How do I make sure the 'u0153' character comes?
Hi,
First you check the device type assigned to the printer to which the document is being printed.
Normally the special character set of a language may not be supported by the device types.
You need to contact the Basis colleagues to make sure that the special characters sets of a language is supported by a specific device type.
To enter the text in a standard text go to SO10 and create a standard text and use it in smartforms by 'Include Text'.
It is always better to embed a text in a standard text and use it in smartforms.
Hope this information is sufficient.
Regards,
Ram
Similar Messages
-
Logo in Smartform output to pdf format is coming as Junk Character
Hi All,
I have a requirement to generate the Smartform output in PDF file. But when i am doing that i am getting the LOGO as Junk character in the PDF file. Can any one help me to resolve this issue?.
Thanks,
Muruganand.KYes check the spool and the output displayed correctly in the spool it means there is a problem when you convert OTF to PDF. Check that part of the code and try different options.
-
ECC6.0 - PDF issue - Junk Character output after Upgrade from 4.7c
Hi All,
I am working in Uprgade project(from 4.7c Non-unicode system to ECC6.0 unicode system).
We are facing PDF output issue in ECC6.0 that means we are getting junk character output(screenshot is attached for your reference).
In 4.7c , we have stroed the OTF data in table after generated from smartform as we should not get different output in future. Whenever we need output of the same then we are getting the OTF data from that table and we will generate pdf through "Convert_otf" function module.This logic is working fine in 4.7c.
In ECC6.0 ,the same logic is not working as system is unicode sytem and we are getting junk character output.
As per my old upgrade project experience , i have used the below piece of code for solve this junk character issue but still I am facing the same issue.
Kindly note that in my old upgrade project i have regenerated the OTF data in ECC6.0 and used the below piece of code then I got correct output but here I have to use the old OTF data (from table) which was generated in 4.7c.
Please any one can give solution for this issue.
Regards
Anandakumar.K
+91 9486963561.
REPORT z_display_notification_tst.
Local Vairable Declaration
TYPES: lt_pdf_table(1000) TYPE x.
Local Vairable Declaration
DATA :
lv_otf_data TYPE STRING, " OTD data in string format
lv_length TYPE i, " OTF Length
lv_lines TYPE i, " No of lines
lv_no_of_recs TYPE int4, " No of OTF Lines
lv_offset TYPE int4, " Offset
pdf_fsize TYPE i,
lv_binfile TYPE xstring,
gv_reportsize TYPE i,
l_url(80) TYPE c,
l_pdf_data TYPE STANDARD TABLE OF lt_pdf_table ,
l_pdf_line TYPE lt_pdf_table,
l_offset TYPE i,
l_len TYPE i,
lt_pdf_table TYPE rcl_bag_tline,
lt_otfdata TYPE tsfotf,
ls_otfdata TYPE itcoo. " Line type of OTF data
DATA:
g_html_container TYPE REF TO cl_gui_custom_container,
g_html_control TYPE REF TO cl_gui_html_viewer.
******************GET OTF data from Table ******************************
Primary Keys used for selection : BUSKEY,
NTFTYP,
TRNTYP,
SELECT SINGLE otf_data FROM znotif_otf
INTO lv_otf_data
WHERE buskey EQ 'LS_000000000010001470'
AND ntftyp EQ '0037'
AND trntyp EQ 'ACT'.
Get the length of the OTF data stored as stream of string************
l_len = STRLEN( lv_otf_data ).
Compute the OTF lines
lv_lines = l_len / 72.
lv_no_of_recs = lv_lines + 1.
Set the offset to initial
lv_offset = 0.
*Reconstruct the OTF data from the string
DO lv_no_of_recs TIMES.
IF sy-index NE lv_no_of_recs .
Get OFT format: command ID
ls_otfdata-tdprintcom = lv_otf_data+lv_offset(2).
lv_offset = lv_offset + 2.
Get OTF format: command parameters
ls_otfdata-tdprintpar = lv_otf_data+lv_offset(70).
lv_offset = lv_offset + 70.
ELSE.
Last line contains only the OFT format: command ID "//" (End of file)
ls_otfdata-tdprintcom = lv_otf_data+lv_offset(2).
lv_offset = lv_offset + 2.
ENDIF.
Append the OTF data to Export OTF table
APPEND ls_otfdata TO lt_otfdata.
CLEAR ls_otfdata.
ENDDO.
*************************Convert OTF to PDF**************************
IF lt_otfdata IS NOT INITIAL.
clear: lv_binfile,
pdf_fsize.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = pdf_fsize
bin_file = lv_binfile
TABLES
OTF = lt_otfdata
lines = lt_pdf_table
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
Call screen***********************************
Call screen
CALL SCREEN 100.
RETURN.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS '100'.
SET TITLEBAR '100'.
Convert bin file
clear :l_len,
l_offset.
free l_pdf_data[].
l_len = XSTRLEN( lv_binfile ).
WHILE l_len >= 1000.
l_pdf_line = lv_binfile+l_offset(1000).
APPEND l_pdf_line TO l_pdf_data.
ADD 1000 TO l_offset.
SUBTRACT 1000 FROM l_len.
ENDWHILE.
IF l_len > 0.
l_pdf_line = lv_binfile+l_offset(l_len).
APPEND l_pdf_line TO l_pdf_data.
ENDIF.
Initialise and create the HTML container
IF NOT g_html_container IS INITIAL.
CALL METHOD g_html_container->free
EXCEPTIONS
OTHERS = 0.
CLEAR g_html_container.
ENDIF.
CREATE OBJECT g_html_container
EXPORTING
container_name = 'HTML_CONTAINER'.
Initialise and create the HTML control that will display the
PDF output as URL
IF NOT g_html_control IS INITIAL.
CALL METHOD g_html_control->free
EXCEPTIONS
OTHERS = 0.
CLEAR g_html_control.
ENDIF.
CREATE OBJECT g_html_control
EXPORTING
parent = g_html_container
saphtmlp = 'X'.
Load the pdf data and obtain the URL
CALL METHOD g_html_control->load_data
EXPORTING
size = pdf_fsize
type = 'application'
subtype = 'pdf'
IMPORTING
assigned_url = l_url
CHANGING
data_table = l_pdf_data
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
raise cntl_error.
ENDIF.
CALL METHOD cl_gui_cfw=>flush.
Show the URL
CALL METHOD g_html_control->show_url
EXPORTING
url = l_url.
ENDMODULE. " STATUS_0100 OUTPUT
Edited by: Anandakumar.K on Oct 25, 2011 12:47 PM
Edited by: Anandakumar.K on Oct 25, 2011 12:54 PMHi,
as you can see in SAP notes 842767 and 1349413, spool data cannot be converted properly for all types in a Unicode conversion.
This might be possible if you have English (US7ASCII) characters only, but with Chinese characters I do not think that a small piece of code can do it ...
Hence I think you need to recreate the data on the Unicode system ...
Best regards,
Nils Buerckel
Edited by: Nils Buerckel on Nov 3, 2011 1:51 PM -
DateNavigator in Safari Brower shows junk character
Dear All,
In Safari browers (all versions), DateNavigator UI element is shows junk character. To reproduce this error, please follow the below steps.
1. Click on the date picker.
2. Try to change the month from u201CJuly to Augustu201D or u201CJuly to Juneu201D and try to choose a date either from June or August.
3. Some junk characters u201CNaN.NaN.NaNu201D are displayed.
Please advice,
Regards,
Ramki.Ramakrishnan Subramaniam wrote:
We are in NW 7.01....Thanks for info.
>
> I got confirmation from SAP that, it will support NW 7.02 or NW 7.01 SP4 onwards.
>
> Rgds,
> Ramki.
Who did you receive that information from? The Safari path in the renderer was only added in 7.02. You can confirm with the Platform Availability Matrix on the Service Marketplace the offically supported browser/release combinations. http://service.sap.com/pam
According to the July 2011 version of the PAM Safari 4 on MacOS 10.5/6 is supported as of 7.02 SP4 and Safari 5 on MacOS 10.5/6 is supported as of 7.02 SP5. There are no additional listings for Safari on any other releases or operating systems. -
E-Mails preview shows junk character
Hello All,
I could successfully install 10.3.1.-1565 on my Z3 handset and it is working fine except that it shows junk character in mail if it has PDF, DOC or any attachment.
Can anybody advise take this issue at right level of BB official support.
Thanks,I have done following steps but no changes have the same issue.
1. Navigate to OAM->Workflow Manager->Notification Mailer->View details in this page
2. Look for parameter called RESET_NLS change this value from 'YES' to 'NO'.
3. Bounce Notification Mailer.
Regards
Musaddak. -
Arabic letters are displayed as junk character in PDF preview
When we try to view (HFR Financial reports in PDF preview Arabic letters are displayed as junk character. While the same is shown correctly in HTML view.
Oracle EPMA version we are using 11.1.1.3, please provide some solution on this issueThis could help if you are connecting to essbase or planning:
1.Set the ESSLANG environment variable on the Essbase server to
ESSLANG= Arabic - Saudi Arabia (ISO)@Binary
2. In Financial Reporting, you must use the Essbase APS ADM driver rather then the Essbase Native ADM driver. Set the driver in \Hyperion\products\biplus\lib\fr_global.properties by setting the parameter
UseEssbaseEDS=1
3. In \Hyperion\products\biplus\lib\fr.env, set the ESSLANG environment variable as follows:
ESSLANG= Arabic - Saudi Arabia (ISO)@Binary
4. Re-start the Essbase and Financial Reporting services. -
Problem with SQL Convert Function Junk Character
Hi All,
We have a database field that has a value of “2.020 OPERATOE’S CAB – GLASSES” on the front end of Oracle E-Business Suite. When we are spooling that column(in PLSQL) with the SQL covert function , one of the characters(’) in the string is not getting converted properly. It is displayed as a junk character in the spooled file.
We used CONVERT(p_column,'WE8ISO8859P1','UTF8') for converting the string and utl_file api for spooling the output file. Please note that converted string is passed to utl_file.fopen directly.
Following are the nls_parameters values.
NLS_CHARACTERSET ~~ UTF8
NLS_NCHAR_CHARACTERSET ~~ AL16UTF16
Any inputs are welcome.
Thanks
gt1942Hello All,
Sorry, If I am opening the blog in the wrong place as this is the first time.
my out looks as follows.
"02920Â "
but when i see in the application there is nuthing in the end.
so I used regexp_replace(p_vendor_dtl,'[^[!-~]]*',''), But this is removing spaces also. I don't want to remove space. I want to remove this character only.
Please help
Thanks. -
Character field in excel output exist some junk character's
PlatForm :IBM630,PC
Operation System:windows xp,windows 2003,AIX 5.3
IAS version :10.1.2
Language :Chinese
When set desformat parameter equal to spreadsheet, character field in excel output exist some junk character's,
and as excel output data gather volume,junk character's will more and more.
But when I only get the record include junk character's,then the excel output will be ok.
How can I do to solve the problem?
Thanks in advance!
lind
Message was edited by:
user565112PDF,RTF DESFORMAT is right,but users need spreadsheet desformat too.
the characterset is unicode,and end signal of junk character is ?/SPAN>.
When I get excel output include junk character,the same time get the junk character's record,and then get excel output only include the junk character's record,the excel output will be showed correctly,no junk characters.
How to sovle the problem?
thanks.
Message was edited by:
user565112 -
Dear all,
I am using oracle9i. I got the export from one place and tried to import in my database. Both the source and destination database character set is WE8IS08859PI. After importing the data, i tried to pull the data in the excel. One of the field is varchar2(2000) and it contains new line character. When i open the data in TOAD, it shows correctly. But when i pull in excel or any other front end, it is showing as a junk character(square box) for new line chatacter. New line character is suppressed and displaying new line character as square box(junk character). How do we resolve the issue?try a search and replace within Excel on the junk character to replace it with ''.
cheers,
R -
Junk Character like "#" comes in the Project & WBS desc.....
Dear all,
When we transfer and release the project from C-projects module to PS,
then sometime, a junk character like "#" gets appended to the Project &
WBS description, when we retrive the Project in CJ20N. This junk
character creates a lot of problems in the reports, specially, when it
is exported to excel. due to this, all columns gets shifted in the
excel. After a lot of simulation, we found that if we unintentionally
give some spaces in the c-project description, then the junk character
gets appended to the PS description. What is the remedy ?? what should
be done to avoid this ???
Can any of you advise on this?
Thanks,
KumarCan you let us know exactly what is stored in the database?
What is the data type? Will you be able to paste the content of the cell that you are referring to?
What front end you are using?
Pradeep
www.lokahitam.com -
Junk character '#' comes in Project description and WBS description...
Dear all,
When we transfer and release the project from C-projects module to PS,
then sometime, a junk character like "#" gets appended to the Project &
WBS description, when we retrive the Project in CJ20N. This junk
character creates a lot of problems in the reports, specially, when it
is exported to excel. due to this, all columns gets shifted in the
excel. After a lot of simulation, we found that if we unintentionally
give some spaces in the c-project description, then the junk character
gets appended to the PS description. What is the remedy ?? what should
be done to avoid this ???
Can any of you advise on this?
Thanks,
KumarDear Kumar;
This was also happening to me while uploading Project and WBS from Excel file.
Remedy: for Description Column, copy and paste it on a sperate excel sheet, and apply Trim fromula to erase extra spaces in the begining and end of field.
Now save that 2nd sheet with only description column as text TAB format from excel. and close the file.
Now open that text tab file in excel and copy and p[aste this description column to original Upload file.
This will resolve your issue. -
Dynamic character format in SMARTFORMS
Dear Gurus,
I want to make a dynamic character format in smartforms. I did it in SAPscript and success.
what I did in program before passing to smartform :
d_note = '<XX> dynamic text </>'
and pass it to SAPscript and smartforms :
&d_note&
in SAPscript I made new character format XX as BOLD and UNDERLINED. it works for SAPscript. the output become = dynamic txt
unfortunately when I do this in smartforms, it is a fail although I have set new character format XX as bold and underline in smartstyles. the output become = <XX> dynamic text </>
any guru has a solution for this smartform?Hi Sendy,
You cant use tags (eg- <XX>) in smartfomrs like you did in sap scripts. Use your style in the smartform( form attributes) with all character formats and paragraph formats which you need. When you create a new text module in the smartform you will get two drop down lists for the paragraph formats and character formats in the top of the editor. Type your text there and highlight then choose 'XX'(or any other character format) character format from the drop down list.
Hope this would help.
Cheers,
Jeewana -
XML file has some extra junk character
Hi Experts,
When i store file in application server,some extra junk character at last in xml file.So it gives error like below.
An invalid character was found in text content.
The last row of XML internal table has some extra special characters. How to avoid these extra spacial characters?
Please suggest?
Thanks.if possible, Do the following in side the loop.
data lv_string type string VALUE '1111111######'.
REPLACE ALL OCCURRENCES OF '#' IN lv_string WITH ''.
or
OPEN DATASET <path> FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
Kanagaraja L -
Junk Character displayed when language is Japanese
Hi,
I have one PG1where there is a a textbox for additional information input.Now after putting the Additional text there and when user click OK then it comes to PG2 and that information is populated in certain text area.
This is for your information that the text is coming from PG1 to PG2 through hashmap. Now here the issue is when we are putting text n PG1 with some different language other than english like Japanese then the text in PG2 coming as '?????'.(junk character).
Can you please let me know how to handle this ?
Thanks
DebashreeThese might help
For NLS Customers, if after submitting a page you get garbage characters then you need to install OJSP1.1.2.
Please check release notes accompanying your OA Framework patchset, and Metalink Note 132604.1 for more details.
or try adding unicode char set
Add the following line to apps.conf.
<IfModule mod_mime.c>
AddType "text/html; charset=us7ascii" html
</IfModule>
Thanks
Tapash -
Hi
we recently migrated from oracle 8i to oracle 10g.
now i am getting junk character  instead of space.
it goes like this.
when i enter my first name from application and put one space in front.
it gets saved al rite in application but in database it gets saved as.. for example, GeorgeÂ
entered name : George
Database Save : GeorgeÂ
Please sugegst why it is coming like this? is this DB server issue or oracle DB issue.Try the following code to remove the junk code
ascii values 32 to 126 are key board values. I have considered the remaining are junks
CREATE OR REPLACE procedure oracle_junk_remove
As
Len Number;
v_ascii_value number;
Begin
For i in
( select column1 from test1 )
Loop
len := Length(i.column1);
For j in 1..len
Loop
select ascii(substr(i.column1,j,1)) into v_ascii_value from dual;
If v_ascii_value < 32 OR v_ascii_value > 126 then
dbms_output.put_line('The junk value is ' || substr(i.column1,j,1));
update test1 set column1 = replace(column1,substr(i.column1,j,1),'');
commit;
End if;
End Loop;
End Loop;
End;
/
Maybe you are looking for
-
Error starting managed server weblogic 10.3.5
hi my jdeveloper is 11.1.2.0 and my weblogic is 10.3.5 am having error when trying to start my managed server the error am geting is or at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(X AConnectionEnvFactory.java:494)
-
Planned overhead is calculating wrongly in CK11N run, it is just more than double
Hi Gurus 1) While running CK11N overhead cost is calculating wrongly on base (material price). In my case I have maintained 1% Overhead on raw material for Duty in cost sheet. In my case no routing, and my FG is getting produced by process order. My
-
How to upload pics from photo gallery to post on facebook
I camouflage like to know how to post pictures on Facebook from my iPad?
-
WORKING example of BlazeDS with Flex 3 and FlexBuilder
Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse? The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point. What I'd like to see is the following: 1. How to cr
-
Is Mobi server needed for using SBO Explorer on iPhone/iPad
Hello,all. We started BOE XI R3.1, SBO explorer 3.2, SBO Mobile 3.1 all of it at win2003 server. SBO Explorer Works via browser at PC, but does't work at iPhone/iPad SBO Exporer app. SBO Mobile seems to be stated. Which server should set to get it? N