How to handle Invalid characters in BI 7.0

Hi ,
Due to lower case letters in ODS ,DTP got failed ,we have replaced with Upper case letters in PSA,but how to load failed request from PSA to data target thru DTP as here we don't get option to reconstruct the failed request from PSA.we have deletd failed request from ODs and again done DTP but it is again failing .
Thanks in Advance ,
Rashmi

Hi Rashmi,
Create Error DTP, the all error records will be in error Stack and correct records will be update to data target.
you can modify all bad records in error stack and upload to data target.
you can create  Error DTP, at the present DTP, (2nd tab, Update).
Regards
Daya Sagar

Similar Messages

  • How to handle Invalid characters(Square Box) in BI

    Hi All,
    Daily I am  getting Invalid character(Square Box) issue with 0Material description and material manufacture part number when the it is being loaded to targets.
    This data is being loaded to many data targets and daily they are being failed .
    I have checked the text in MARA Table and found that there also the square box is appearing in the description.But when i copy the text and past it in word document in the place of box it is appearing as space/Tab.
    Can you please help me how to handle this type of issue in BI .
    Thanks in advance

    Hi Binbi1,
       This eror is due to carriage returns which turns into a square box when transferring data, this can not be corrected through the RSKC, this is solved through an ABAP routine in the transformation rules, use this code:
    DATA i_text type c length 60.
    i_text = SOURCE_FIELDS-/BIC/ZMBS_FT1. "this is your material description field
    REPLACE ALL OCCURRENCES OF '#'
              IN i_text WITH ' '.
    REPLACE ALL OCCURRENCES OF '□'
              IN i_text WITH ' '.
    RESULT = i_text.
    I hope this help you....

  • How to handle special characters in NWDI

    Dear All
    I am trying to update the Description from JSP form. Through JCO we are calling the RFC of ABAP. We are passing these description from Java to RFC of ABAP and this RFC update the text in Database.
    We have noticed that if there is some special character in description like as : š or ž, complete description is not getting updated in to the SAP database.
    Can anyone help me how to handle these special characters in Java. There may be N number of special characters. We want to generalize it. We want to replace these characters by s and z respectively.
    For example : We want to update this description.
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 riješen je cleaning procedurom, te je i kroz CSR odgovoreno da trap korekcija N01TCADG-0052 u bloku UPDC više nije potrebna, te se može izbaciti (AP143).
    Uspješno su završene HR17/CN-A3 FOA-e na tranzitnom nivou, te slijedi roll-out u dva termina 12/13.04 i 19/20.04. ETK je na sastanku isporučio SW, te ALEX i mini PLEX za sve objekte.
    AP147. Poslati finalnu dokumentaciju za uvođenje paketa (implementacijsku instrukciju i sve popratne datoteke).
    WHile updated text is as follows :
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 rije
    N01TCADG-0052 u bloku UPDC vi
    Uspje
    sastanku isporu
    AP147. Poslati finalnu dokumentaciju za uvo
    Regards
    Bhavishya

    Hi Bhavishya,
    Apparently your SAP database isn't configured to support Unicode. That would be the first solution to your problem, but I can imagine it's a bit drastic to convert your DB.
    A second solution would be to encode the input description to ASCII before storing it in the database. When reading from the database, decode again to Unicode. This way, no information is lost. A suitable encoding would be Base64. e.g.
    String description = "šunday žebra";
    String descriptionBase64 = new sun.misc.BASE64Encoder().encode(
      description.getBytes("UTF-8")); // ""
    // store descriptionBase64 in the DB
    // later, when reading descriptionBase64 from the DB
    String description2 = new String(
      new sun.misc.BASE64Decoder().decodeBuffer(descriptionBase64), "UTF-8");
    Instead of using Sun's implementation, a better alternative is to use the open source implementation
    org.apache.commons.codec.binary.Base64 from Commons Codec . 
    The 3rd approach is indeed to normalize the description by replacing all special characters with their ASCII equivalent. A rather easy solution is as follows:
    String description = "šunday žebra";
    String descriptionNormalized = sun.text.Normalizer.normalize(
      description, sun.text.Normalizer.DECOMP, 0).replaceAll(
      "[^p{ASCII}]", "");
    sun.text.Normalizer decomposes the string, e.g. "éàî" becomes "e´a`i^", after which non-ASCII characters are being removed using a regular expression.Again, note that it's usually a bad idea to use sun.* packages, see note about sun.* packages. The above code only works with J2SE 1.4 and J2SE 5.0, but it breaks in J2SE 6.0 (where
    java.text.Normalizer became part of the public API ;-). A good open source implementation can be found here: ICU4J (com.ibm.icu.text.Normalizer). 
    Kind regards,
    /Sigiswald

  • How to handle invalid URLs in the requests

    Currently JSF ignores invalid characters in the request URLs like "|" or "<script>". These characters can be a security issue and can lead to "Cross site scripting" issue.
    I am trying to parse the request URLs and then redirect the user to the error page if the URL contains such invalid characters.
    Is there a better way of handling such characters in the URL?
    One way that i have thought of is to implement the PhaseListener and handle the URLs in the "Restore view" phase but the drawback in this
    implementation is that the controll will come to this listener during all the phases of the JSF life cycle. I just want the request to be handled only once and not during all the phases of JSF.

    Our application has too many customizations around the JSF framework and we have our own limitations extending the base "FacesServlet". It would be better if i can extend the listeners in the JSF framework.

  • How to handle special characters in Apex

    Hi ,
    In my application I have two regions - one is Report Region (Interactive Report) and other one is HTML region with two text items - Empno and name
    My Report has two columns Empno(varchar2) and Ename(varchar2).
    When I click the edit link in the report column, the empno should have a read only EMPNO value and ename is a text field with ENAME value.
    When I run my application I have encountered the following problems :
    1. if my empno has special characters like ' # ', the characters after that is not getting displayed
    2. if my empno has special characters like ',' - the characters after comma is treated as a next texitem value
    Here is my credential ,
    Workspace CTSAN_ORACLE_DB
    Username [email protected]
    Password lakshmi321
    URL : http://apex.oracle.com/pls/apex/f?p=9444:19:4292839314890159:::::
    Plz. suggest me how to rectify the above problems.
    Thanks,
    Anoo..
    Edited by: Anoo on Aug 13, 2010 3:05 AM

    Don't pass data values in URLs. Whilst it is possible to escape values to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Create a surrogate primary key on the table that is an immutable discrete numeric identifier and only use this as a URL parameter. In target pages/regions, use this PK value to retrieve the required data from the table.

  • How to Handle Special Characters in PI7.1

    Hi Team,
    I need to handle some special characters like <,>,& etc.. from WS Adapter to CRM in PI 7.1.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken]
    By using the above blog i had implemented the Java Code as
    public void execute(InputStream in, OutputStream out){
    try{
    int read_data;
    while((read_data = in.read()) != -1){
    if (read_data == '&'){
    out.write("&amp;".getBytes());
    }else if (read_data == '>'){
    out.write("&gt;".getBytes());
    }else if (read_data == '<'){
    out.write("&lt;".getBytes());
    }else if (read_data == '/'){
    out.write("&frasl;".getBytes());
    }else if (read_data == '\''){
    out.write("&apos;".getBytes());
    else { out.write(read_data);
    out.flush();
    } catch (Exception e){}
    I had added this class file in Operational Mapping.
    It is working  if we have only one IF condition for & in while
    Any suggestion
    Thanks
    Sriram

    Hi Ramesh,
    Thanks for your inputs, I have tried your code but it is not working. The error message stays the same.
    Dear Stephane,
    To describe the error more, the requirement is the payload coming from source through WS Adapter consists of the special characters <, > , & which are basic sematics of XML syntax. I need PI to process this payload with special characters and successfully transfer it to target CRM system. I have created the Java class with code (ref: Blog 9420) as stated earlier and added this class to my existing Operation Mapping. I am expecting the java mapping to replace the special characters in payload like  < with "&gt;" . So as the case with the other characters >,&,'
    After activaton of my operation mapping, I triggered the test message with Soap UI client and I could able to get a successful mapping only When I put the logic for &ampersand symbol only. However when I am trying to add the logic for > or < or ' the mapping is failing . I am using UTF-8 encoding across the source and PI enviroments.
    Sample SOAP message :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:abcabca.com">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:MT_ABCDEFG_Req>
         <activity>
              <id/>
              <type>ZEMA</type>
              <actionType>C</actionType>
              <firewall>10000003</firewall>
              <subject>small &gt; &lt; attachment test</subject>
              <location/>
              <startDate>2010-07-08T10:53:31.000Z</startDate>
              <endDate>2010-07-08T10:53:31.000Z</endDate>
              <mainClient>1000319</mainClient>
              <mainContact>1000003</mainContact>
              <isConfidential>false</isConfidential>
              <summary/>
              <fullText>test body  - small.txt</fullText>
              <owner>1000021</owner>
              <from>ABCDEDF</from>
              <sendTo>emailaddress</sendTo>
              <copyTo/>
              <keywords/>
              <referenceId/>
              <createdBy>1000021</createdBy>
              <additionalContacts/>
              <additionalClients/>
              <additionalParticipants/>
              <status>A0008</status>
              <attachments>
                   <fileUrl>20100708110053-XXXXXXXXX</fileUrl>
                   <fileName>small.txt</fileName>
              </attachments>
              <attachments>
                   <fileUrl>20100708110053-XXXXXXXXX</fileUrl>
                   <fileName>EMail 2010-07-08.pdf</fileName>
              </attachments>
         </activity>
          </urn:MT_ABCDEFG_Req>
       </soapenv:Body>
    </soapenv:Envelope>
    Output on the SOAP UI  client for the above request:
    <!--see the documentation-->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIServer:NO_MAPPINGPROGRAM_FOUND:
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1160)
         at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(
    What do you think where I am doing the wrong?
    Sriram

  • How to handle special characters in SQL statements

    How do you handle special charactes in a SQL statement? Here is an example:
    update table
    set notefield = 'This is Waldo's note'
    where keyfield = 7;
    Because the database connectivity vi accepts a string datatype wire, the ' in Waldo's note is seen as the end of string and an error is generated.
    Is there a way to tell labview that the ' is part of the string and not the string delimiter?
    Waldo

    If two single quotes don't work, try backslash single quote, like \'
    The backslash is often used as an escape character, meaning to treat the next character literally.
    - tbob
    Inventor of the WORM Global

  • How to handle special characters in Stage web view with Load URL method?

    Hi,
      I have Latin special characters in my text. My HTML content contains the text as well as the image. If I use stage webview LoadString,  images will not be displayed. But my latin characters are displayed correctly.
    If I use LoadURL method, the images are displayed correctly but I have problem in displaying the latin special characters. How to solve this issue?

    Don't pass data values in URLs. Whilst it is possible to escape values to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Create a surrogate primary key on the table that is an immutable discrete numeric identifier and only use this as a URL parameter. In target pages/regions, use this PK value to retrieve the required data from the table.

  • How to handle invalid images in "Image" report item?

    I have a report that displays images in Image item (MIMEType image/jpeg) in the table. Images are stored in the database.
    Some of the images are, however, not a valid jpeg files (not sure what they are but I saved them as files and they cannot be opened by any graphics editor). When report server tries to display such an image in the report whole report fails.
    Similarly, web application that tries to display them on the web page throws an exception. In web application we can catch that exception and show static "IMAGE IS INVALID" bitmap instead.
    Is there a way to handle/catch such errors in SSRS? The way it is now is not good because error message doesn't tell you anything specific about error.

    Enabling SSRS Remote errors
    http://technet.microsoft.com/en-us/library/aa337165.aspx
    http://www.sharepointjohn.com/sql-reporting-services-2008-r2-enable-remote-errors/
    Displaying custom error message
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/2b891541-836f-4d9d-89f3-d2340319f453/
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to handle german characters in case of Outbound JMS interface

    HI all,
           I am doing an interface which is an outbound JMS interface where the message from MQ and uploading it to a file server. The message contains german characters, JMS adapter while converting the message from binary format to XI message format is not able to handle that. So where can we have the option to change the encoding type.

    Hi RamaKiran,
    chk out his link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/405a83e3-0132-2a10-d3ad-a94a604a0469
    /people/thomas.jung3/blog/2004/07/13/bsp-150-a-developer146s-journal-part-vii--dealing-with-multiple-languages-english-german-spanish-thai-and-polish
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/49ae0771924cf4a1fc7e2af7b2e18c/frameset.htm
    Regards
    Sampath

  • How to handle special characters such as apostrophe, ampersant

    Hello All,
    Tools:
    JSP, JSDK 2
    Oracle 8
    Issue:
    If the user supplies a String value inside a text box which has special characters such as apostrophe, while we try to compare that string with some value in the database, the sql error comes up as the sql string will be broken.
    Example:
    input string--> ABC D'OLL
    sql --> "select * from verndor where vendor_name ='ABC D'OLL' "
    Present solution:
    I am reading each input string & look for such special characters. if so, replaces that character with escape character + that character.
    This solution works.
    Problem:
    If there any more efficient way to handle such character??
    At java level or Database level
    Thanks In advance :)

    Use PreparedStatements

  • How to handle Universal characters ??

    Hi,
    I was using the VARCHAR2 datatype in some of the columns for all my tables in my backend. This would work perfectly as long as we enter English chars from the front end(JSP).
    But if i try to change my language settings thru Control panel, then i could type non-english chars as well. But this would throw the exception something like incovertible types,since VARCHAR2 wont be allowing non-english chars!! So, i changed VARCHAR2 to NVARCHAR..
    Will this change be impact on my front end, if i enter non-english chars??
    Please suggest me, how do i handle this situation in the front end??
    Thanks in advance

    Maybe you should ask in an Oracle forum (if your DB is Oracle).

  • How to handle Spanish characters correctly

    I have some Spanish characters in rtf file, such as ó, when viewing from browser, it shows up as garbage font.
    Where do I set correct encoding to fix this?
    Thanks

    I had also problems with special characters.
    Re: How can I set language in PDF
    I solved it for mine. Maybe you have the same issue?

  • How to handle special characters in metadata?

    I have an implementation in C# to call ACS webservices for a long time. Last week we realized that some special characters in metadata fields are making the package request to not work. Example characters: éë. The response from ACS contains E_ADEPT_DISTRIBUTOR_AUTH. If we remove the special character, the request works as expected.
    I know that characters are working in the jar application but we can't manage to make them work from our C# application.
    Any help is welcome.

    Doing a SHA1-HMAC is relatively simple and there are only two inputs, the key and the message.
    Since you say this works correctly with lower ascii characters, but not with Unicode characters then I would assume you have the key correct and the only thing that is different is the message.  Also since it works correctly with lower ascii characters then you have the  XML infoset serialization correct, so assuming a similiarly sized message (ie take one character and replace with a unicode character), then your problem is going to be in the character encoding.
    I would suggest some healthy paranoia about this, by verifying that the byte stream being hashed is indeed correctly UTF8 encoded by looking at the hex values  (breakpoint in the SHA1-HMAC code) and comparing to a UTF8 table such as  http://www.utf8-chartable.de.

  • How to Handle Junk Characters in BI Publisher Report?

    Hi Team,
    I have Created a column in obiee analytics report which has logic as '1/0'. After creating this column I am not getting result for this column(blank).
    When Extracted the report into XML file,I am not able to see value for that column as well. This is what I need too.
    But issue is, For my layout(below is sample example of my layout) It is not displaying the value as is in Analytics report in BIP Report. In Anlytics report I am getting Blank.In BIP it is giving the Junk Characters. Ex: SG&A row.
    I need to replace this Junk characters with space.This is my requirement.
    (p) Fuel
    0
    0
    0
    0
    0
    0
    0
    0
    0
    (q) Other Variable
    1,543
    1,325
    218
    4,123
    3,976
    147
    4,123
    3,976
    147
    Total Cost Of Goods Sold (Excl. S/L)
    28,944
    30,239
    -1,295
    87,252
    89,408
    -2,156
    87,252
    89,408
    -2,156
    (r) Straightline Expense
    1,679
    1,976
    -297
    4,501
    5,929
    -1,428
    4,501
    5,929
    -1,428
    Total Cost Of Goods Sold
    30,622
    32,215
    -1,593
    91,753
    95,337
    -3,584
    91,753
    95,337
    -3,584
    Gross Profit (Excl. S/L)
    -133,526
    -130,796
    -2,730
    -397,999
    -392,800
    -5,991
    -397,999
    -392,800
    -5,199
    SG&A









    (s) Payroll & Related
    4,515
    6,158
    -1,643
    14,910
    18,521
    -3,611
    14,910
    18,521
    -3,611
    here is the XML code for SG&A record:
    - <G_1> 
    <COLUMN0>MAR-2013</COLUMN0> 
    <COLUMN12>SG&A</COLUMN12> 
    </G_1>
      Can you please help me in achieving this.
      Thank You in Advance,
      KK.

    Hi,
    there's no direct support for the format triggers out of Oracle Reports. Therefore they are mentioned in the log file and in the created layout after conversion the objects with format triggers are colored red to show, that there you had to do some additional work.
    Currently you had to built the logic of format triggers in BI Publisher new. Hve a look in the User Guide, there are some examples for if or choose statements.
    regards
    Rainer

Maybe you are looking for