Junk characters using form MR_PRINT

Hi friends,
My user generated Invoices using MRRL and generated output using MR90.
Spool created for these invoices. But in the print, we are getting some lines with junk characters. It looks like chinese characters.
1. If I see the Spool print preview, still I see the junk characters. That means there is no problem with printer. And it should be a problem either with Output triggering or MR_PRINT form.
Another point is that, user facing this problem from yesterday only. Earlier to that everything was fine.
1. Did anyone face this problem?
2. How can I repeat output in MIR4 to test it again?
Thanks in advance.
Regards,
AK

Hello
Regarding SAPLPD it will only be supported for frontend printing in Releases < 4.6C. For all other Releases, please note the
following:
For frontend printing, customers should use access method 'G' instead of access method 'F'. See note 821519 for
more details.
For server-based printing via access method 'S' or 'U', customers should use SAPSprint instead of SAPLPD. Note
894444 has all the details. This is valid for ALL Releases.
For non-latin characters and Unicode use the details as per note 812821.
Best regards.

Similar Messages

  • Junk characters in etext report

    Hi all,
    I have 3 data tables in my etext .rdf template .This telmplate is for eft format report.
    The output report for the 1st and 3rd data table is ok in terms of display ,but I get '????????????????' in my through my 2nd data table in the report output .
    I lack experience in bi publisher
    could someone please suggest tips ?
    ta
    s

    What is your database characterset?
    Please see these docs.
    How to Setup Pasta Quickly and Effectively [ID 356501.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]
    Arabic Data Appears As Junk , Currently using Forms Patchset 16 & XML [ID 755786.1]
    Thanks,
    Hussein

  • Entering MultiByte characters using OA Extension JDev forms

    Hello
    We have certain custom OA extension JDev forms running on Oracle Applications 11.5.10/ 10g database. Recently we converted our db to be utf8 compliant. While I can querry chineses characters through the custom JDev forms, when I try to enter chinese characters using the custom forms, it stores it as Junk. In the preference I did set the Client Character Encoding to UTF-8, but that did not help. Any clues as to how to get this working would be appreciated.
    Thanks
    PHK

    When you say it stores junk, you see the junk characters from back end or on the OA page on further retrieval of the same value?
    --Shiv                                                                                                                                                                                                                                                                                   

  • Junk characters display while using multipart with html content in Javamail

    Hi All,
    I have used Java mail API to send mail with attachment. To enable to attachment in mail and to do content formatting i have used multipart and html content type together.
    My web application runs on apache tomcat 5.5 in MAC server. Java version is 1.5.
    The Function which i have used for sending mail with attachment is as follows:
    public void sendmailAttached(String to,String from,String host,boolean debug,String mailContent,String mailSubject,String cc,String attachFiles)
              String mailarray[]=to.split(";");
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              try {
                   Message msg = new MimeMessage(session);
                  msg.setFrom(new InternetAddress(from));
                 javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
                 for (int i=0;i<mailarray.length ;i++ )
                                            toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailSubject);
              try{
                        String ccaray =cc;                    
                        String mailarray1[]=ccaray.split(";");
                        javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[mailarray1.length];
         for (int i=0;i<mailarray1.length ;i++ )
         CCAddress[i]=new javax.mail.internet.InternetAddress(mailarray1[i]);
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              }catch(Exception ss)
                        System.out.println("CC mail exception is ====>"+ ss.getMessage());     
              msg.setSentDate(new java.util.Date());
              Multipart multipart = new MimeMultipart("related");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(mailContent, "text/html");
              multipart.addBodyPart(messageBodyPart);
                   String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
              msg.setContent(multipart);
              Transport.send( msg );
              catch(MessagingException mex)
                   Exception ex = mex;
                   if (ex instanceof SendFailedException)
                   SendFailedException sfex = (SendFailedException)ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null) {
    if (invalid != null) {
    for (int i = 0; i < invalid.length; i++)
    System.out.println("Invalid Addresss --------> " + invalid[i]);
    try
         Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              Multipart multipart = new MimeMultipart("related");
         BodyPart messageBodyPart = new MimeBodyPart();      
         messageBodyPart.setContent(mailContent, "text/html");
    multipart.addBodyPart(messageBodyPart);
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[validUnsent.length];                         
    if (validUnsent != null) {
    for (int i = 0; i < validUnsent.length; i++)
    System.out.println("Valid Address ------>"+validUnsent[i]);
    String test = validUnsent[i]+"";
    toAddress[i]=new javax.mail.internet.InternetAddress(test);
    msg.setRecipients(Message.RecipientType.TO, toAddress);
    msg.setSubject(mailSubject);
    String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    Transport.send( msg );
    catch(Exception e)
         System.out.println("Mail Not Send");
              else
                        System.out.println("Mail Server Not Connectd ");
    This code is working properly and i am able to send mail with attachment and html formatted content without any problem. But console of server is filled up with too much junk characters because of which the catalina.out file of tomcat server is becoming fully filled.
    Sample cosnole display with  junk characters are as follows:
    Subject: HBSP - DRUCKER - QC - CH16 - QC  R2 Completed
    MIME-Version: 1.0
    Content-Type: multipart/related;
         boundary="----=_Part_34_15681668.1247471518887"
    ------=_Part_34_15681668.1247471518887
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    <b>Hi,</b><br><br>     Chapter CH16 in the project DRUCKER is Completed . <br><br>     <b>Comments :</b> Qc Accepted.<br><br> <b><i>Thanks,<br>ANTONY.</i></b>
    ------=_Part_34_15681668.1247471518887
    Content-Type: application/octet-stream; name=9420317_CH06_p084-119.pdf.zip
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=9420317_CH06_p084-119.pdf.zip
    UEsDBBQAAAAIAMOz6TqHaQ4BUtXhAGzP8QAZAAAAOTQyMDMxN19DSDA2X3AwODQtMTE5LnBkZsQ7
    CTxUX9tCUpIWEomxpoWZuTN3FmvW7P9skaUajCXGiCHSYiuKFrIvlWStROSvaBEtiIpkK5WlUipa
    ZKl898wYRP/37fve7/e69TjnPuc5z3LOuc95zjP3ym7S1lXAKuL5ZTu7HjTyL8ATiCgMiu6wA6Wi
    gjZy86RSvN12U51QWLQRCguT8ESISED/hcITMWgdFJZIgPAwBm2CwhHQFqAdRySRcWg9lC2KBBNQ
    WAIRZ6+mxk/1dEI48qNYF7+/N9WZHwiCSPyY8QtLQDFLlCf/AhYGgiHyDBwBIs7EETEzcCR4Bg6H
    IZBn4LBE7AwcNBOHJ87EwWQ8aTqOgIWJM3C4mX2JMH6GLiQiHjMDR8bD03BYDBYizcDh8LjpOCyM
    xczAETH4mbgZOmNhmDCDHwE7Qz+IhMNO54eHCKTp/GAcboYuBBJMmi6DSIZxU+lYF7KSJnEMb4qb
    B9WbH1md5sjCROHJMHqTN9VvfPGRcGgzOp2BwhOQMUKZofU9nenIDYF1o22rgtXU1EWGRgsia2vp
    Like this display of junk characters are filling up multiple pages of console file.
    Can any one suggest me how to overcome this problem?
    Many thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    There is no "sendmail" method in the JavaMail API.
    The debug flag is set using the Session.setDebug method, or by setting the Session property "mail.debug".
    If you're using someone else's helper classes with JavaMail, they may provide another way to set it.

  • Export to Excel using DESTYPE=ENHANCEDSPREADSHEET gives junk characters

    Hi,
    We are using "DESTYPE=ENHANCEDSPREADSHEET" for exporting report data to excel in Reports 11.
    But it gives a weired output. There are too many junk characters seen. The exported excel worksheet cannot be used for anything other than just viewing.
    This is really waste.
    Any one please suggest an alternative for this.
    Kind Regards,
    Joe.

    Hi
    finally i get the excel but with question marks in columns with greek characters.This is a nls_lang problem
    Pls answer urself on these questions...
    1. did u change it to Greek in ur Windows Registery... ?
    2.Did - the most important - ur windows has Greek characters installed ?
    if the answer is no pls make sure u have installed it and test it in a note pad before re-trying.
    Hope this helps...
    Regards,
    Ammatu Allah.

  • Junk characters in output print. Is it related to User profile?

    Hi friends,
    My user generated Invoices using MRRL and generated output using MR90.
    Spool created for these invoices. But in the print, we are getting some lines with junk characters. It looks like chinese characters.
    1. If I see the Spool print preview, still I see the junk characters. That means there is no problem with printer. And it should be a problem either with Output triggering or MR_PRINT form.
    Important this is that, user facing this problem from yesterday only. Earlier to that everything was fine.
    Are there any chances of this problem due to User profile?
    In MIR4 transaction, in the Header output messages. I find in the Menu Edit -> Repeat output. But this is disabled for me. How to enable this?
    Thanks in advance.
    Regards,
    AK

    Lesson learned: Always go and check SPAD (devices) if you face any printer issues. My issue was because the Basis has changed some settings in SPAD for LOCL device

  • Junk characters coming in the PDF report for Lithuanian language

    hi all,
    I am facing a problem like some junk characters are coming while generating the report in PDF format in Reports 10g.
    Junk characters (i.e something like revere of ?(question mark)) coming only for the special characters in the report when my application language set it as LITHUANIAN_LITHUANIA.UTF8.
    Actually our application is supporting multi langauges; like English, German, French, Lithuania etc.
    And in the Forms the the characters are appearing correctly... but while generating reports only i am having this issue for LITHUANIAN language.
    I am using back end as Oracle 10g verision 2, and front as Reports 10g only.
    Is there any way to resolve it?
    thanks in advance
    renjish

    Hi,
    I updated the reports.sh which is in Oracle Home path initailly and tried the report. But its not coming properly, some other junk characters are appearing now for the special characters
    For e.g:
    Actual English word: Funct. Group Poultry Parts Fresh
    Correct Lithuanian Word: Funct. Grupė naminių paukščių dalių, šviežios
    In Report: Funct. Grupė naminių paukšĕių dalių, šviežios
    Steps i have done:
    1. Modified reports.sh with nls_lang as LITHUANIAN_LITHUANIA.UTF8
    2. Run the report, output was coming like above e.g.
    Is anything wrong what i did?.
    or Report engine(reports.sh) will support multi-languages by using the Environment ID only(as you explained before, putting ENVID in repserver.conf - reportserver.)
    thanks
    renjish

  • Chinese Characters in Spool converted to Junk characters in PDF

    Hi,
    I have spool generated from Script , the Spool shows me Chinese Characters.When I am trying to convert the Spool to PDF using Program RSTXPDFT4 , the PDF contains Junk Characters instead of Chinese Characters.Please let me know how to get the correct Chinese Characters in PDF.
    Regards,
    Swathi

    Hi,
    For the spool you try to convert to PDF, which device type was this spool created by. It must be created via a Chinese device type like e.g. CNSAPWIN. The form used to create the spool must have language key ZH. The fonts used in the form for the Chinese characters must be a Chinese font like CNSONG or CNHEI.
    Alternatively, if you create the spool via Unicode deviec type SWINCF, then the font and the form language are not important. It should work to convert the spool to PDF regardless of the language ley or font used in the form.
    Regards,
    Aidan

  • Junk characters in ldt file

    Hi Experts,
    Am a newbie to oracle apps.
    Iam using 'messages' to store and display arabic characters in xml report and it is working fine . While migrating the report form one instance to another instance by downloading ldt file, the arabic characters are displaying as junk characters in the ldt file.
    Any pointers to resolve this issue will be helpful.
    Thanks,
    Santhosh

    I am using Windows 7 and used notepad to view the ldt file.
    The arabic characters are converted to some other format like junk.
    I tried uploading the ldt file in the same instance.
    After uploading the ldt file in the same instance,the the arabic characters are displaying as junk characters in front end while checking.
    Are the arab characters are converted to some other format in ldt file?
    i didnt tried uploading the ldt file in someother different instance to check for the correctness of arab characters in front end.Set NLS_LANG as suggested in my previous reply before you download the data and it should be in Arabic (assuming your database/application characterset support Arabic language and your client can read Arabic characters) -- FNDLOAD problem with Arabic font
    Thanks,
    Hussein

  • Junk characters in fmt file after converting fmb to fmt

    Hi,
    I have a very big form (in forms 6i). I want to search for a specific table and that table has been used in many pl/sql scripts and triggers. I converted that fmb to fmt thru forms builder using Administration - convert.
    Now when I open that fmt in wordpad, I see all the scripts in junk characters.
    Any advise how I can get a good fmt file.
    Pls suggest soon.
    Thanks

    Hi ,
    What happens when you try to change the fonts in the wordpad...?????
    Try , as a second option , to convert your fmb file to .xml file using the frmf2xml [options] file1 [file2...] format....
    Regards,
    Simon

  • Junk characters in the purchase order fax received from the fax machine

    Dear Experts,
    I am facing the following issue.
    I am sending the PO form to a fax number from ME22N using the FAX medium. The PO form is designed by sapscript.
    I am getting the fax too from the fax machine. But it is not in the format designed by sapscript. I get junk characters printed line by line. For 1 page of PO form, I get around 7 pages printed with the junk characters.
    I checked the trace in SOST, it is taking the device type converts OTF to PDF.
    I checked the settings in the SCOT transaction. The device type is set as PDF1. I changed various device types but still the same.
    The printer I am using is Fuji Xerox - DocuCentre-III C4405
    Any idea how to get the form in the right format.
    <removed by moderator>
    Cheers,
    Edited by: Thomas Zloch on Oct 29, 2010 12:46 PM

    Dear Sruthi,,
    U can done through this by the BADI ME_PROCESS_PO_CUST. IN that there is a Method  PROCESS_ITEM.
    Just Implement ur Code inside this and u can change the Texts here.
    IF_PURCHASE_ORDER_ITEM_MM - IF_LONGTEXTS_MM~GET_TEXT
    By this u can get the texts and for setting
    IF_LONGTEXTS_MM~SET_TEXT
    Hope this can solve ur probs.
    With Regards,
    Sumodh.P

  • Attributes with junk data using ldapsearch utility

    Hi,
    We have Enterprise Directory 5.1 V2 installed on HP-UX.
    We have a issue when viewing data through ldapsearch utility.
    1. some attributes for employees have blank values(one space),this we can see from the console. This was added manually through a perl script as a part of a fix.
    But when it is viewed through a ldapsearch utility it shows as some junk characters for this blank valued attrributes.
    eg: email address ::==RHWA
    I have few questions
    1. Can we add a blank space value for the attributes
    2. how can i retrieve a meaningful data( even a blank data) from a ldapsearch utility without any junk characters.Since most users use this utility.
    This is a production issue. I would greatly appreciate for a good solution.
    Thanks a lot.

    Identify which attributes? Binary encoded attributes? You could do a regular ldapsearch, specifying a list of the attributes which might have space or binary values. These attributes will be in the form
    ^name::
    You could use a perl script to look for these, then use ldapmodify to delete those values or replace them.

  • Junk characters

    Dear all,
    I am generating XML file from Oracle table. I have some junk characters in table. It is not really junk. My system has been used in different countries. The data are entered in international key board. So the letters are showing as junk in few places. It may happen in future also.
    I want to filter those junks before i convert into xml. Since the XML is not understanding those characters.
    How can we do that ?. Thanks in advance.

    Hello,
    katheri wrote:
    its urgent.First of all there is nothing URGENT in the public forum. Everybody is waiting for the earliest reply and everybody has the same priority and importance. Don't use these type of words in future please.
    Secondly the problem you said. Search in the registry (in developer home's folder) for keyword NLS_LANG and replace the current value with AMERICAN_AMERICA.AR8MSWIN1256 then try to run the application again.
    Also check the below link...
    Re: how to display arabic in forms
    -Ammad
    Edited by: Ammad Ahmed on Aug 8, 2010 1:01 PM
    link added

  • Junk Characters in HTML Post

    The application has notes field where user can type a few hundred chars of data. Some times users do copy from Word and paste into these notes field - This is posting some junk characters. Is there any way to take care of these extra characters? Some of the caharcters are needed to be carried and can't be discarded. Should I treat this as multi-part data? Along with Notes field, there are other fields too which carry regular data? In that case, does the form data type become multipart/mixed ? Are there any classes readily available that can handle mixed data?

    Depending on the file system and platform in use it may be necessary to rename the files on the OS level separately from the Oracle rename operation. To do that you can ususally use double quotes around the file name. It may be necessary to also escape a character if one of the characters is an OS meta-character like '$' in UNIX.
    If you set your command line editing to vi then ctrl-v can be used to insert a non-printable character inside you double quoted file name.
    HTH -- Mark D Powell --

  • Junk characters like" � � "displayed in the jsp page please help.

    Hi,
    I am getting junk characters like � � displayed in the jsp page.
    In the JSP page i used javascript "& nbsp" for appending spaces to a string "CCR" to get "CCR " .
    Now the Resultant string "CCR " has three spaces appended to its right.
    This String is set in session in that JSP page.
    In the next JSP page i am getting that string from session.
    After getting the string the "substring" function is performed to get only the first 5 charcters of the string. Now the result is displayed as " CCR� � " with has last 2 characters as junk values � � insteed of displaying as "CCR ". Please help me in solving this issue.
    Please note that initially the sting "CCR" is got from the Oracle database in Solaris Machine.
    Regards,
    Vijay

    have you tried:
    strenuously inspecting the string that is coming from the db? do an actual loop over the string, character by character, dumping to System.out to make sure the characters are EXACT coming out of the db.
    note you have to append " " not just "& nbsp"
    post the code that is doing the output. the relevant bean code, the jsp, everything relevant - WITH COMMENTS discussing where things are happening.
    Also, is it "weird characters" in the browser only? have you done a view source on the actual html source that the browser is rendering (right click in IE and click view source). browsers can act odd if you don't feed then exactly what they want, and it looks like you're feeding it escaped characters that it is rendering as something else.

Maybe you are looking for

  • IDOC: How to create child segment with abap code.

    Hi, I'am trying to write an abap code to create segments for an Idoc which structure is the following: ZLE_00060_DLVY >  E1EDL20 > Z1DEL_CONS >Z1DEL_MAT_HEADER > Z1DEL_MAT > E1EDL20RET2 > E1EDL22 > E1EDL21 > E1EDL23 > E1EDL51 I receive a sintax error

  • Create SQL run by batch -certain record

    hi all , i have created one program , and i have execute more than 40000 record. the problem is, when i run this background job with 40000 record, i got DBIF_RSQL_INVALID_RSQL error. if i run 100 record it will display. how i want to modified my pgra

  • Why does my mouse keep losing connectivity

    My magic Mouse (came with the system) keeps losing connectivity.  It seems that whenever the mouse has a period of inactivity such as when I am using the key board, it loses connectivity and I have to double tap it (two fingers) to get it to reconnec

  • Printing we are unable to get barcode

    Dear All, In smartform we put barcode.In printer also we are getting but suppose in print prieview we are getting one type of barcode and in print paper we are getting another type output.. Please help me out . Thank u.

  • Running Job Scheduler in Restricted Session

    I want the database to be in Restricted Session while my ETL load is running via the Job Scheduler so that users will not be able to access tables during the load. When I put it in restricted session however all scheduled jobs cease to run. What user