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:
user565112

PDF,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

Similar Messages

  • Hash is printed in date field in excel output.

    Hello,
    I am developing a report in abap. Report output is exported to excel by using OLE code technique.
    The one date field 'posting date '  is  in the system has value i.e 27.12.2009    and i want it to be as 27/12/2009.
    i have concatenated the internal table date field into another field ' text ' of type c seperated by '/'.
    as follows :
    concatenate itab-budat6(2) itab-budat4(2) itab-budat(4) into itab-text separated by '/'.
    all dates values  are coming right,
    except dates which starts with 01.12.2009 to 09/12/2009 are showing hash(###) character and when excel column is extended then it shows
    date but in the format 12/01/2009.
    how to solve this.

    that is because 1 tab = 8 char..
    add a single quote ' to the beginning... it will be displayed as u wish....

  • When I send any mail , recipient received my mail with some junk character or if supported endif added in matter

    PROBLEM NO. 1
    Rahul/Pankaj/Jayesh Dave � at Bavla Plant
    Kishor/Kunjal/Aalok at HO
    �
    Mr. Kunjal and Aalok are for II floor so might have computers � kindly check.
    �
    regards,
    �
    Suman
    �
    PROBLEM NO. 2
    <!--[if !supportLists]-->7. <!--[endif]-->CHIRAG
    <!--[if !supportLists]-->8. <!--[endif]-->SARASWATI
    <!--[if !supportLists]-->9. <!--[endif]-->SAUBHAGYA
    <!--[if !supportLists]-->10. <!--[endif]-->HARDIK
    <!--[if !supportLists]-->11. <!--[endif]-->VISHAL
    <!--[if !supportLists]-->12. <!--[endif]-->HEMAL
    <!--[if !supportLists]-->13. <!--[endif]-->DHRUV PATEL
    <!--[if !supportLists]-->14. <!--[endif]-->PRAKASH
    <!--[if !supportLists]-->15. <!--[endif]-

    PROBLEM NO. 1
    Rahul/Pankaj/Jayesh Dave � at Bavla Plant
    Kishor/Kunjal/Aalok at HO
    �
    Mr. Kunjal and Aalok are for II floor so might have computers � kindly check.
    �
    regards,
    �
    Suman
    �
    PROBLEM NO. 2
    <!--[if !supportLists]-->7. <!--[endif]-->CHIRAG
    <!--[if !supportLists]-->8. <!--[endif]-->SARASWATI
    <!--[if !supportLists]-->9. <!--[endif]-->SAUBHAGYA
    <!--[if !supportLists]-->10. <!--[endif]-->HARDIK
    <!--[if !supportLists]-->11. <!--[endif]-->VISHAL
    <!--[if !supportLists]-->12. <!--[endif]-->HEMAL
    <!--[if !supportLists]-->13. <!--[endif]-->DHRUV PATEL
    <!--[if !supportLists]-->14. <!--[endif]-->PRAKASH
    <!--[if !supportLists]-->15. <!--[endif]-

  • Junk character being sent by Jdbc Receiver adapter

    Hi all,
    I am using jdbc receiver adapter it s working fine .However for costumer name it is sending some junk character in last like " SMAN-Abdulrahman Osman¿ " the thing is that all other field is getting populated properly. when I am viewing the data in sxmb_monni .I am finding the data is prpoer but when it is getting posted to staging table then junk character is coming .I am coused whether it is mistake of JDBC adapter or something wrong in the staging table.
    Regards,
    Saurabh

    Hi Vijay
    But for JDBC adapter where I will use the encoding...It is IDoc to Jdbc scenario.So I haave already used the encoding option in RFC destination.Now where to define the encoding in jdbc adapter I am not sure.
    One more thing I had used the encoding in RFC to read arabic charachter now its reading arabic charchter currectly but when the name is coming in english then it is getting appended by ¿. for example SMAN Saleh Ahmed Mustafa¿
    surprisengly in other column if value is coming in english also it is coming properly. could it be a problem in staging table itself. i am pitting one row below.
    Nural.L.L.C¿                        Yerevan-Armenia                     99999                           Yerevan Community

  • 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

  • Special character (Space) coming in excel output

    Hi,
    I am using rtf to develop a XML report. The output type is excel so I am using force Ltr property to allign few fields. But I am getting special character when I copy and paste a value of the O/P in the notepad. When I don use Force LTR the problem is not there but the allignment goes for a toss. So is there any way by whcih the issue can be resolved keeping the force LTR.?

    This seems to be a BUG, please share if there is any workaround for the above issue.
    I have tried below approach in order to retain leading zeros.
    Excel Output From BI Publisher or XML Publisher is Trimming Leading Zeros [ID 417811.1]
    Thanks in advance.

  • XML Report Excel Output Numeric & Character value left aligned

    Hi,
    I want the XML Report Excel ouput both numberic and character values to be left aligned in the report ouput. Currently my report excel ouput prints the number value right aligned and character value left aligned.
    I have tried to concat a space to the value to make that as a character value, but this gives a extra space in the report output, which shld not happen..
    Please could anyone help me with a solution.
    Thanks

    Hi Uday,
    You are making number as a string, by adding a character :) , so it will be displayed as string with space and not as number.

  • 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 PM

    Hi,
    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

  • 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.K

    Yes 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.

  • Unbale to get complete output as some field are missing in z t-code.

    Respected Guru's,
    i am tring to get output from a customized t-code.
    While executing the report in background,  i mention customized format as the exsisting format does not match.
    But i  am the unbale to get complete output as some field are missing.
    Please help me, i have tried change the no of rows and coloums, but no effect.
    Regards,
    Daya

    Hi,
    Please try with printer settings and used different printer formats.
    Actully this problem because of printers configration which is used for backgound reports.
    Regards,
    Ravi

  • Download specific output fields to excel

    Hi All,
    We have a report program that downloads an excel file having about 60 output fields. The program has no ALV output.
    Everytime we do not require these 60 fields to be shown in output excel. we need specific output fields in excel and those specific fields could be dynamic.
    Is there any way to download specific output fields in excel as we do in ALV variant.
    In alv,  we can achieve this through a layout variant in selection screen and download the alv output in excel. But we dont require alv to download excel from there.
    Thanks,
    Srilakshmi.

    Hi
    Something like this:
    DATA: BEGIN OF t_layout OCCURS 0,
            mark      TYPE c,
            fieldname LIKE dd03l-fieldname,
          END  OF t_layout.
    TYPE-POOLS slis.
    DATA: gt_fieldcat TYPE  slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: lt_report TYPE sy-repid.
    DO 60 TIMES.
      t_layout-fieldname = 'Field'.
      MOVE sy-index TO t_layout-fieldname+6.
      APPEND t_layout.
    ENDDO.
    lt_report = sy-repid.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        i_program_name     = lt_report
        i_internal_tabname = 'T_LAYOUT'
        i_inclname         = lt_report
      CHANGING
        ct_fieldcat        = gt_fieldcat[].
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
      EXPORTING
        i_title              = 'Field List'
        i_zebra              = 'X'
        i_checkbox_fieldname = 'MARK'
        i_tabname            = 'T_LAYOUT'
        it_fieldcat          = gt_fieldcat[]
      TABLES
        t_outtab             = t_layout.
    LOOP AT t_layout WHERE mark = 'X'.
      WRITE: / t_layout-fieldname.
    ENDLOOP.
    Max

  • Character is converting as Number in XML EXCEL Output

    Hi Every One
    I created the RDF Report and i registered as concurrent program Output Type is "XML" when i ran XML Report in PDF output Part number is coming as it is in Data base for Example "0998893745"
    But When i ran Same Report with Output of EXCEL Part number is Automatically changing to Number it's Truncating the First "ZERO" Means that it giving "998893745" Instead of "0998893745"
    Kindly Help Me to Get the Part number as it is there in Data Base "09988937450" In XML EXCEL output
    Regards
    Sandeep.Y

    concatenate with double space to report columns
    Example
    ' '||msi.segment1 like that

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • 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,
    Kumar

    Dear 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.

  • XML Publisher report not printing excel output due to special characters

    Hello,
    I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in text content. Error processing resource " and i think these errors are due to the special characters(eg: city/province - A Coruña, Cáceres). If i give rownum < 10 in my query, where there are no such characters it works fine and i am getting an excel output.
    Tried changing the XML encoding and it doesn't help (both mentioned below)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml version="1.0" encoding="UTF-8"?>
    Do anyone have a solution for this
    Thanks in advance
    Edited by: user10317098 on Jan 16, 2012 10:58 AM

    Hi,
    Check this links that might help you..
    https://forums.oracle.com/thread/1018488
    http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
    Here the Exact solution from Oracle
    In the XML PUBLISHER ADMINISTRATOR Resp..
    Click the administration..
    then Click HTML Output
    Then in the Base Image URI Give the url of your application for example
    http://Test.Test.com:8000/OA_MEDIA/
    And then
    Image File Directory give this as per your application setup
    /u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
    Thanks & Regards
    Srikkanth.M

Maybe you are looking for

  • Load some flat files from ftp location

    HI, I have requirement, i want to load the some flat files from ftp location. but problem is in that ftp location i have multiple files.i want to load flat files starts with file name with numeric. otherwise i have apart from these start with numeric

  • Max Cursors Exceeded even with XSU 1.2

    In one of the messages on this forum I read Steven Muench's comments stating that the max cursors exceeded problem for big result sets in XSQL has been addressed in XSU1.2 I have downloaded this software released in April 2000 but this version still

  • How to open Applications using Plugins

    How do I select a plugin to open an Application in the Applications options menu? For example I want MPEG movies to open with a plugin such as Quicktime Plugin or Windows Media Plugin or DivX WebPlayer Plugin instead of using an external media player

  • Bridge in CS5 Mac - newbie trying to keyword my 4000+ photos

    I'm an old PC - PS7 user now into Mac and CS5.  I thought I would use Bridge to re-organize and keyword some old photos.  But I am having difficulties.  The keywords I add keep disappearing from the keyword list when I go to a new folder.  I need sug

  • 4 bars no internet conection???

    Hello, First off this is my first mac and its awesome and I have some experience with networking on windows. Last night I put in a Dlink Range extender on my network to expand my wireless and it was working fine no problems anywere, then when I went