Error in encoded data in 2D barcode

Hi, I have been met with a strange problem.
I have a form with a 2D barcode. The barcode is a pdf417 barcode and the character encoding is ISO-8859-1.
Often the field data include special characters as Æ – Ø – Å – Ü
Most of the time everyting is fine. But now and then (I guess one in a thousand) it seams that the encodeding of the special characters get wrong. e.i in the form field the data is ”Ørskov” but the barcode data says ”Ãrskov”. I have not been able to reproduce the error in house but I have seen a few on incomming forms in the last 6 month.
Where should I start troubleshooting? Has it anything to do with the client’s version or settings of Adobe Reader?
Is there anything I can do to prevent this error?
Regards,
Kirstine

I have now been able to reproduce the error.  The data get encoded wrong when the form is filled out in Adobe Reader 8. (Or at least in Reader 8.2 which is the version I have for testing).
The easy way out for me would be to ask all the clients to upgrade Adobe Reader but that is not practically posible, as we have thousand of clients using this form.
Would it be posible to script my way out of this?
Kirstine

Similar Messages

  • Illegal character in Base64 encoded data

    Hi,
    I'm trying to get a print out the public key as a String, which I am getting it in as a base64 encoded, but I get error:
    Exception in thread "main" java.lang.IllegalArgumentException: Illegal character in Base64 encoded data.
    Code below:
    public static void main(String[] args) {
              File pubKeyFile = new File("C:\\usercert.pem");
              StringBuffer buffer = new StringBuffer();
                   try {
                        FileInputStream fis = new FileInputStream(pubKeyFile);
                        try {
                             InputStreamReader isr = new InputStreamReader(fis, "UTF8");
                             Reader in = new BufferedReader(isr);
                             int ch;
                             while((ch = in.read()) > -1) {
                                  buffer.append((char)ch);
                             in.close();
                             String key = buffer.toString();
                             System.out.println("key is: " + key);
                                          //This is where the code fails:
                             String keyDecode = Base64.decodeString(key);
                             System.out.println("key ecode is: " + keyDecode);
                        } catch (UnsupportedEncodingException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        }

    Hi ejp,
    It's a rsa public, the usercert.pem looks like below,
    so since it's not an x509 certificate not sure if I
    can read it using a
    java.security.cert.CertificateFactory?
    Basically I just want to print the public and private
    key out as a String. Any help is appreciated.
    -----BEGIN PUBLIC KEY-----
    MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfV
    R37HgF4bWq
    oG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZte
    BwD91Nf6P/
    E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2s
    lbEKZCJtaP
    vVuGCAqfaps8J0FjOQIDAQAB
    -----END PUBLIC KEY-----
    import java.security.KeyFactory;
    import java.security.interfaces.RSAPublicKey;
    import java.security.spec.X509EncodedKeySpec;
    import sun.misc.BASE64Decoder;
    public class MakeRSAPublicKeyFromPEM
        public static void main(String[] args) throws Exception
            final String publickeyAsString =
                    "-----BEGIN PUBLIC KEY-----\n"+
                    "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfVR37HgF4bWq\n"+
                    "oG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZteBwD91Nf6P/\n"+
                    "E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2slbEKZCJtaP\n"+
                    "vVuGCAqfaps8J0FjOQIDAQAB\n"+
                    "-----END PUBLIC KEY-----\n";
            final BASE64Decoder decoder = new BASE64Decoder();
            final byte[] publicKeyAsBytes = decoder.decodeBuffer(publickeyAsString.replaceAll("-+.*?-+",""));
            final X509EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(publicKeyAsBytes);
            final KeyFactory keyFactory = KeyFactory.getInstance("RSA");
            final RSAPublicKey publicKey = (RSAPublicKey)keyFactory.generatePublic(publicKeySpec);
            System.out.println("Modulus ........... " + publicKey.getModulus());
            System.out.println("Public exponent ... " + publicKey.getPublicExponent());
    }

  • How we can populate the form data from 2D barcode

    Hi All,
    Can anyone tell me how we can populate the form data from 2D barcode, will this can be done through script(javascript)?.
    Thanks & Regards,
    Faisal Afzal

    I was hoping someone could put me in the right direction here. I am basically doing the same . I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.
    The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)
    <?xml version="1.0" encoding="UTF-8"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:datasets>
    <xfa:data>
    <form1>
    The XML structure that is expected by the PDF template is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.
    Thanks

  • Maxon EPOS P + WinXP + Labview2013 = error reading USB data 0x23000002

    Hi, 
    I have a DC servo with 3-channel encoder and Maxon Epos P 24/5 controller, connected via RS232 to a Windows XP machine with Labview 2013.
    Epos Studio 2.0 works fine, PIDs are tuned and all functions work 100%. When I try any of the Maxon example VI's, however, it gives me this "error reading USB data. (0x23000002)"
    I can communicate with EPOS in Labview using NI VISA. I have recorded the sequence that Epos Studio sends when scanning COM interfaces (something with hex 07 00 00 00 ). I have sent this sequence via "write to COM port" VI, and received a response from EPOS P.
    If I put my COM Tx and Rx lines on the oscilloscope and run the example VI, I see that at the execution of "VCS Set Operation Mode" VI the computer sends one byte to EPOS, but EPOS does not respond with anything. I guess the read times out and triggers the error. Other EPOS VI's which query the controller for information produce the same error, as EPOS does not talk back to them either...
    I urgently need assistance on this matter. Thank you in advance for your prompt response!

    I need to apologize for confusion. I wrote "error reading USB", while of course I mean "error reading RS232" everywhere in the text. Sorry for that, but the question remains - why do the Maxon LabView VIs give this error when communicating via COM port to EPOS P?

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error while updating data from PSA to ODS

    Hi Sap Gurus,
    I am facing the error while updating data from PSA to ODS in BI 7.0
    The exact error message is:
    The argument 'TBD' cannot be interpreted as a number
    The error was triggered at the following point in the program:
    GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
    Please suggest how to proceed on this issue.
    Points will be awarded.

    Hi ,
    Try to simulate the process.That can give you exact error location.
    It seems like while updating few records may be no in the format of the field in which it is updated.
    Regards
    Rahul Bindroo

  • 'Error while signing data-Private key or certificate of signer not availabl

    Hello All,
    In my message mapping I need to call a web service to which I need to send a field value consist of SIGNED DATA.
    I am using SAP SSF API to read the certificate stored in NWA and Signing the Data as explained in
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm,
    when I have tested using Test tab of message mapping  it is working fine and I am able to access the certificate Keystore of NWA(we have created a keystore view and keystore entry to store the certificate) and generate the signed data ,but when I test end to end scenario from ECC system,it is getting failed in mapping with the error
    ' Error while signing data - Private key or certificate of signer not availableu2019.
    Appreciate your expert help to resolve this issue urgently please.
    Regards,
    Shivkumar

    Hi Shivkuar,
    Could you please let me know how you were trying to achieve the XML signature.
    We have a requirement where we have to sign the XML document and need to generate the target document as following structure.
    <Signature>
         <SignedInfo>
             <CanonicalizationMethod />
             <SignatureMethod />
             <Reference>
                     <Transforms>
                     <DigestMethod>
                     <DigestValue>
             </Reference>
        <Reference /> etc.
      </SignedInfo>
      <SignatureValue />
      <KeyInfo />
      <Object>ACTUAL PAYLOAD</Object>
    </Signature>
    I am analyzing the possibility of using the approach that is given in the help sap link that you have posted above. Any inputs will be apprecited.
    Thanks and Regards,
    Sami.

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • Error while generating Data provider

    We are facing a weird issue while using Design Studio 1.2. Locally the tool works fine but when we use it from BI-Launchpad or through BI Enterprise it gives intermittent error "Error while generating Data Provider"
    Same setup works fine in our Validation Environment.
    We have tried running repair for Design Studio, redeploy the war files, creating new view but issue still exist.
    We have BI 4.0 SP7 installed on Windows 2008 R2 system.
    4 CMS running in cluster, Design Studio 1.2 is installed on 3 Nodes out of 4.
    For now we are using 1 tomcat to access the system to narrow down the issue.
    Experts please help us to resolve this issue.
    Attach is the error message we are receiving

    I am not clear what your data source is, but I recommend checking the PAM https://websmp102.sap-ag.de/~sapidb/011000358700001013822013E because there are some limitations with Design Studio and BI4.0

  • Error while selecting date from external table

    Hello all,
    I am getting the follwing error while selecting data from external table. Any idea why?
    SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
      2        SE_CUST_ID NUMBER(38),
      3        SE_TRAN_AMT_LCY FLOAT(126),
      4        SE_REVERSAL_MARKER VARCHAR2(255))
      5  ORGANIZATION EXTERNAL (
      6    TYPE ORACLE_LOADER
      7    DEFAULT DIRECTORY ext_tables
      8    ACCESS PARAMETERS (
      9      RECORDS DELIMITED BY NEWLINE
    10      FIELDS TERMINATED BY ','
    11      MISSING FIELD VALUES ARE NULL
    12      (
    13        country_code      CHAR(5),
    14        country_name      CHAR(50),
    15        country_language  CHAR(50)
    16      )
    17    )
    18    LOCATION ('SE2.csv')
    19  )
    20  PARALLEL 5
    21  REJECT LIMIT UNLIMITED;
    Table created.
    SQL> select * from se2_ext;
    SQL> select count(*) from se2_ext;
    select count(*) from se2_ext
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04043: table column not found in external source: SE_REF_NO
    ORA-06512: at "SYS.ORACLE_LOADER", line 19

    It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
    HTH -- Mark D Powell --

  • Error when opening Data Form

    Hi All,
    Also I have tried by removing access for that user and opened the Dta Form but still it throwing me the same error:
    You are trying to open the data form, but cannot because all of the required dimensions are not present. Possible causes may be that you do not have access to at least one member of a required dimension, or the member selection resulted in no members present. Contact your administrator
    Kindly guide me.
    Thanks and Regards
    ChiDam

    duplicate post - Error while opening Data form
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Error while activating data in DSO

    Hi Gurus, While activating I am getting these 2 messages "Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER" and the other message is "Fiscal year variant K4 not expected" and in some other Data Packages I am getting "Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER"
    Kindly help in this matter.

    Hi,
    Try these threads.
    Error when activating data in 0FI_GL_04 ODS (SIDS)
    Unable to activate data in DSO
    Error when assigning SID : Action VAL_SID _CONVERT table
    Can'T Activate ODS Data
    FI error in rspc chain
    Same issue as yours.
    Hope this helps.
    Thanks,
    JituK

  • Error While entering data in VA01

    Hi,
    I get the following error while entering data for "Plant" in Sales order creation (VA01). Can anyone please tell me how to solve this problem.
    Runtime Errors SAPSQL_INVALID_TABLENAME
    Except. CX_SY_DYNAMIC_OSQL_SEMANTICS
    Date and Time 27.04.2009 12:57:13
    Short dump has not been completely stored (too big)
    Short text
    A table name, specified in an SQL command, is unknown.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLV61Z" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
    not caught in
    procedure "SEL_KONDTAB" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    An invalid table name "A996" was specified in an Open SQL command:
    Due to one of the following reasons, the error occurs only at runtime:
    - the table name was specified dynamically, or
    - the SELECT clause, WHERE clause, GROUP-BY clause, HAVING clause, or
    ORDER-BY clause was specified dynamically.
    Missing RAISING Clause in Interface
    Program SAPLV61Z
    Include LV61ZU01
    Row 260
    Module type (FORM)
    Module Name SEL_KONDTAB
    Trigger Location of Exception
    Program SAPLV61Z
    Include LV61ZU01
    Row 724
    Module type (FORM)
    Module Name SEL_KONDTAB
    Source Code Extract
    Line SourceCde
    694 and kschl = se_kschl
    695 and datbi >= se_date
    696 and datab <= se_date
    697 and (coding_tab).
    698 endif.
    699 endif.
    700 else.
    701 if t681-ksdat is initial.
    702 if not <entrytab> is assigned.
    703 select * from (t681-kotab) appending table <cond_tab>
    704 where kappl = se_kappl
    705 and kschl = se_kschl
    706 and (coding_tab).
    707 else.
    708 select * from (t681-kotab) appending table <cond_tab>
    709 for all entries in <entrytab>
    710 where kappl = se_kappl
    711 and kschl = se_kschl
    712 and (coding_tab).
    713 endif.
    714 h_subrc = sy-subrc.
    715 if select_split ne 0.
    716 modify coding_tab from coding_alter index select_split.
    717 select * from (t681-kotab) appending table <cond_tab>
    718 where kappl = se_kappl
    719 and kschl = se_kschl
    720 and (coding_tab).
    721 endif.
    722 else.
    723 if not <entrytab> is assigned.
    >>>>> select * from (t681-kotab) appending table <cond_tab>
    725 where kappl = se_kappl
    726 and kschl = se_kschl
    727 and datbi >= se_date
    728 and datab <= se_date
    729 and (coding_tab).
    730 else.
    731 select * from (t681-kotab) appending table <cond_tab>
    732 for all entries in <entrytab>
    733 where kappl = se_kappl
    734 and kschl = se_kschl
    735 and datbi >= se_date
    736 and datab <= se_date
    737 and (coding_tab).
    738 endif.
    739 h_subrc = sy-subrc.
    740 if select_split ne 0.
    741 modify coding_tab from coding_alter index select_split.
    742 select * from (t681-kotab) appending table <cond_tab>
    743 where kappl = se_kappl
    Thank you in advance....
    Regards,
    Sriram.

    An invalid table name "A996" was specified
       in an Open SQL command
    Find out the transport request pertaining to Table A996 and ensure that both that request and the configuration request pertaining to that table are moved simultaneously.
    thanks
    G. Lakshmipathi

  • Excel 2007 = Refresh All = Error Message "Initialization Data Source Failed"

    Excel 2007 => Data Tab - Refresh All => Error Message "Initialization Data Source Failed
    2nd Error message:
    The following data ranged failed to refresh:  ExternalData1 - Continue to refresh all
    How do I resolve this? Trying to connect to Oracle DB environment 12C

    What will happen if you rebuild the PivotTable/Table ?
    Make sure the external database is available and the Oracle Provider for OLE DB is installed correctly.
    Wind Zhang
    TechNet Community Support

Maybe you are looking for

  • Difference Between  S_ALR_87012326  S_ALR_87012328

    Hi guys I am using these two reports with same selection criteria. S_ALR_87012326 S_ALR_87012328 But report S_ALR_87012326 is showing Less G/L Account whilr report S_ALR_87012328 show many G/L Accounts for a same company. Can anyone tell me whats the

  • Problem with Acrobat Hyperlinks to packaged PDF's not working when moved to PC platform

    Hello, I'm having a little issue with the new Acrobat CC. I have a master PDF presentation that includes Hyperlinks (set up in Acrobat) that link to external pdf files (packaged in a sub-folder from the source PDF file). On a number of macs they work

  • Is it possible to update ipad 1 to ios7?

    I'm gonna update my iPad (1st release) to iOS7. is it possible? Tnx

  • Handling external text files

    Hi experts! Would you give me some advice to find the best way for handling the situation below? Suppose I have a measuring system with 100 sensors. The measuring system can provide the measured values (with timestamp) through a simple text file (lar

  • Cant boot with memory in duel mode!!!!

    For some reason my computer will now longer boot up with memory in the duel mode and OCing the system. I keep getting a timing error. Tried several different timings all giving me the same thing or it locks once windows opens. Runs fine OC'd in singl