UCCheck Showing error with XSL statement

We are preparing to convert to Unicode and my XSL scripts are failing in UCCheck.  It appears my XSLT script (Z_EBPP_FINAL_OUTPUT_CSV) is fine, but the SAP created code behind it is failing (Z_EBPP_FINAL_OUTPUT_CSV=======XT) on the first line "<xsl:transform version="1.0"
with an error message = "Statement "<XSL" is not defined. Check your spelling."
Has anyone experienced this problem before?  If so, how did you fix it?
Thanks,
Ken Kammer
The Reynolds and Reynolds Co.

Here is the code that is causing the problem:  Unicode is saying the first line is in error in the SAP generated code from the XSLT.
<xsl:transform version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:sapxsl="http://www.sap.com/sapxsl"
  xmlns:asx="http://www.sap.com/abapxml"
>
<xsl:output encoding="iso-8859-1" method="text"/>
<xsl:strip-space elements="*"/>
<xsl:template match="asx:abap/asx:values">
<xsl:text>Bill To,</xsl:text>
<xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/PAYER"/>,<xsl:text/>
<xsl:apply-templates select="ADDINFO/PAYERNAME"/><xsl:text>
</xsl:text>
<xsl:text>Invoice No.,</xsl:text>
<xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/HEADNO_EXT"/><xsl:text>
</xsl:text>
<xsl:text>Date,</xsl:text>
<xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/BILL_DATE"/><xsl:text>
</xsl:text>
<xsl:apply-templates select="INVOICEITEMS"/>
</xsl:template>
<xsl:template match="INVOICEITEMS">
<xsl:text>Ship To,Name,Line #,Ref #,Order Number, Quantity,Description,Customer Price,Extended Price,Allowance Amount,Net Price
</xsl:text>
<xsl:apply-templates select="INVOICEITEM/SOURCE"/>
</xsl:template>
<xsl:template match="INVOICEITEM/SOURCE">
<xsl:apply-templates select="ZZSHIP_TO_CUST"/>,<xsl:text/>
<xsl:apply-templates select="ZZSHIP_TO_CUST_NAME"/>,<xsl:text/>
<xsl:apply-templates select="ITEMNO_EXT"/>,<xsl:text/>
<xsl:apply-templates select="ZZCONTRACT"/>,<xsl:text/>
<xsl:apply-templates select="ZZLEGACY_ORDER"/>,<xsl:text/>
<xsl:apply-templates select="ZZQTY_SHIPPED"/>,<xsl:text/>
<xsl:text>"</xsl:text>
<xsl:apply-templates select="ZZPROD_DESC"/>",<xsl:text/>
<xsl:apply-templates select="ZZUNIT_PRICE"/>,<xsl:text/>
<xsl:apply-templates select="ZZGROSS_PRICE"/>,<xsl:text/>
<xsl:apply-templates select="ZZDISC_AMOUNT"/>,<xsl:text/>
<xsl:apply-templates select="NET_VALUE"/><xsl:text>
</xsl:text>
</xsl:template>
<xsl:template match="ZZSHIP_TO_CUST|ZZSHIP_TO_CUST_NAME|ITEMNO_EXT|ZZCONTRACT|ZZLEGACY_ORDER|ZZPROD_DESC|PAYER|PAYERNAME|HEADNO_EXT|BILL_DATE">
<!-- this is for string value nodes -->
<xsl:value-of select="normalize-space(.)"/><xsl:text/>
</xsl:template>

Similar Messages

  • Syntax Error with EXPORT statement in ECC 6

    Hi All,
    I have one issue with EXPORT statement syntax.
    I have declared data like below:
    DATA: BEGIN OF mem_id,
              mandt LIKE sy-mandt,
              uname LIKE sy-uname,
              modno LIKE sy-modno,
            END OF mem_id.
    export the memory id
        EXPORT E_VBKOK XANZPK TEXTTAB XBOLNR TO MEMORY ID MEM_ID.
    When I am checking the syntax error i am getting like "MEM_ID" must be a character-type field (data type C, N, D or T). by "INTERFACE". by "INTERFACE". "INTERFACE". by "INTERFACE". by "INTERFACE".
    I know this statement would be like IMPORT ITAB TO JTAB FROM MEMORY ID 'table'. So I have written like below
    EXPORT E_VBKOK XANZPK TEXTTAB XBOLNR TO MEMORY ID 'MEM_ID'. But still it is throwing an error.
    Can you please let me know how can I resolve this?
    Regards,
    Jyothi CH.

    Hi Jyothi,
    data: l_var type string.
    concatenate '6' '8' into l_var separated by space.
    export l_var to memory id 'BB'.
    Here we have to declare the type(structure) for l_var not for BB
    and in another program
    data:l_var type string.
    import l_var from memory id 'BB'.
    write : l_var.

  • Getting SQL errors with prepared statement in JDeveloper 10.1.3.2

    I'm using oracle JDBC driver and I connect and update just fine from the SQL Worksheet in JDeveloper.
    1) When I have more than 1 placeholder in my SQL statement, the last one is dropped so I get "Invalid column index".
    2) When I add an extra one, it prepares OK but gets "ORA-01745: invalid host/bind variable name" on execution if the placeholder is inside the SQL closing paren (this situation is showed below).
    3) When an extra one is outside the SQL closing paren, I get "ORA-00933: SQL command not properly ended"
    I'm probably missing something obvious but here is the code I'm using:
    public void insertToDB(Comment inrecord) throws Exception {
    int idx = 0;
    try {
    this.initialize();
    pstmt = conn.prepareStatement(
    "INSERT INTO COMMENTS (COMMENT_ID, " +
    "LOG_BUS_PROC_CDE, TYPE_CDE, SUBTYPE_CDE, " +
    "REF_TYP_CDE, CREATE_USER, CREATE_DATE, " +
    "UPDATED_USER, UPDATED_DATE, COMMENT_TEXT) VALUES(" +
    "TO_TIMESTAMP('?','YYYY-MM-DD HH24:MI:SS.FF3'), ?, ?, " +
    "?, ?, ?, TO_DATE(?,'MM/DD/YYYY'), NULL, NULL, ? ?)");
    pstmt.setString(++idx,inrecord.getCommentID());
    pstmt.setString(++idx,inrecord.getLogBusProcCDE());
    pstmt.setString(++idx,inrecord.getTypeCDE());
    pstmt.setString(++idx,inrecord.getSubTypeCDE());
    pstmt.setString(++idx,inrecord.getRefTypCDE());
    pstmt.setString(++idx,inrecord.getCreateUser());
    pstmt.setString(++idx,inrecord.getCreateDate());
    pstmt.setString(++idx,inrecord.getCommentTXT());
    pstmt.executeUpdate();
    conn.commit();
    this.terminate();
    catch (Exception e) {
    conn.rollback();
    this.terminate();
    throw e;
    }

    Hi,
    actually you increment the index
    pstmt.setString(++idx,inrecord.getCommentID());
    which means you never have an index of 0 but always start with 1
    Frank

  • Error with select statement

    Hi All,
    I am getting the error 'Comma without preceding colon (after SELECT ?).' with the following select statement. Can someone help me with the error.          
            select single actdate_from actdate_to
            into ( lv_actdate_from, lv_actdate_to )
            from zsdcoop
            where kunnr = wa-kunnr and pfnum = wa-pfnum.
            if ( lv_actdate_from NE wa-actdate_from ) or ( lv_actdate_to NE wa-actdate_to ).
              wa-block = 'X'.
            Endif.
    Thanks,
    Veni.

    Typically, on statements like this, you want to use AND instead of OR.  Google "truth tables" for a detailed explanation of why.
    if ( lv_actdate_from NE wa-actdate_from ) or ( lv_actdate_to NE wa-actdate_to ).
    wa-block = 'X'.
    Should probably be:
    if ( lv_actdate_from NE wa-actdate_from ) AND ( lv_actdate_to NE wa-actdate_to ).
    wa-block = 'X'.

  • Code Error with Case Statement

    Hi everyone,
    I'm new to PL/SQL and APEX and I'm trying to get this code to work. It is supposed to insert an sysdate if the named fields are changed and then update the fields.
    This is the code:
    BEGIN
    SELECT ATS_CLS_NAME, ATS_CEL_NAME, ATS_END_DATE,
    CASE
    WHEN
    ATS_CLS_NAME <> :P6_ATS_CLS_NAME
    AND ATS_CLS_NAME <> :P6_ATS_CEL_NAME
    AND ATS_END_DATE is Null
    THEN
    UPDATE ATS_ALLOCATION
    SET
    ATS_ALLOCATION_ID = :P6_ATS_ALLOCATION_ID,
    ATS_START_DATE = :P6_ATS_START_DATE,
    ATS_END_DATE = SYSDATE,
    ATS_CLS_NAME = :P6_ATS_CLS_NAME,
    ATS_CEL_NAME = :P6_ATS_CEL_NAME,
    ATS_EMP_ID = :P6_EMP_EMP_ID
    ELSE
    UPDATE ATS_ALLOCATION
    SET
    ATS_ATS_ALLOCATION = :P6_ATS_ALLOCATION,
    ATS_START_DATE = :P6_ATS_START_DATE,
    ATS_END_DATE = :P6_ATS_END_DATE,
    ATS_CLS_NAME = :P6_ATS_CLS_NAME,
    ATS_CEL_NAME = :P6_ATS_CEL_NAME,
    ATS_EMP_ID = :P6_EMP_EMP_ID
    FROM ATS_ALLOCATION
    END CASE;
    END;
    And I get this error:
    1 error has occurred
    ORA-06550: line 12, column 7: PL/SQL: ORA-00936: missing expression ORA-06550: line 5, column 1: PL/SQL: SQL Statement ignored

    BEGIN
    UPDATE ATS_ALLOCATION
    SET
    ATS_ATS_ALLOCATION = :P6_ATS_ALLOCATION,
    ATS_START_DATE = :P6_ATS_START_DATE,
    ATS_END_DATE = CASE
         WHEN ATS_CLS_NAME <> :P6_ATS_CLS_NAME
         AND ATS_CLS_NAME <> :P6_ATS_CEL_NAME
         AND ATS_END_DATE is Null
         THEN SYSDATE
         ELSE :P6_ATS_END_DATE
    END,
    ATS_CLS_NAME = :P6_ATS_CLS_NAME,
    ATS_CEL_NAME = :P6_ATS_CEL_NAME,
    ATS_EMP_ID = :P6_EMP_EMP_ID
    END;
    1 error has occurred
    ORA-06550: line 18, column 3: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 4, column 1: PL/SQL: SQL Statement ignored ORA-06550: line 21, column 21: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with

  • Showing xml with xsl in a java webapplication

    Dear members,
    what are the possible ways to show an XML file in a web application written in java?
    The xml file has to be transformed by a corresponding xsl file.
    Regards,
    Katja

    bhupesh,
    Try my solution described here:
    /people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
    final String xml = <yorXmlStringFromRfc>;
    final IWDCachedWebResource resource = WDWebResource.getWebResource
        xml.getBytes("UTF-8"),
        WDWebResourceType.XML
    resource.setResourceName("XML_inline.xml");
    resource.setAttachement( false );
    resource.setReadOnce( false );
    wdComponentAPI.getWindowManager.createExternalWindow
      resource.getAbsoluteURL(), "XML Window Title", false
    ).open();
    VS
    Message was edited by: Valery Silaev

  • Getting error with SQL statement

    Hi I am getting these error java.sql.SQLException: Non supported SQL92 at the time time of executing the query.
    select distinct state from cities where country = ${COUNTRY}
    this query is using in my JasperReport tool. Why I am getting this error could any one tell me solution for this error.

    These two articles could also help you...
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/sql_parameters.html
    http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/queryeditor.html
    Regards,
    Sakthi

  • Error with XSL Transformation

    From my application log I see an exception where it tries to call the oracle.xml.parser.v2.XSLProcessor.
    The servlet for the login screen (XSL transformation) takes XML and returns HTML. Actually for the xml parsing
    we use xerces I don't understand why we would call the ORACLE parser? Do you have any idea? Is this a CLASSPATH
    or configuration problem? Is there a way to use the xml parser xerces instead the oracle one.
    <log4j:event logger="com.siemens.srvcmgmt.common.server.PresentationHandler" timestamp="1052834094464" level="DEBUG" thread="ApplicationServerThread-5">
    <log4j:message><![CDATA[Error: ]]></log4j:message>
    <log4j:NDC><![CDATA[1 Security doPost sendLoginScreen PresentationHandler transformIt]]></log4j:NDC>
    <log4j:throwable><![CDATA[java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:375)
    at oracle.xml.parser.v2.XSLProcessor.setParam(XSLProcessor.java:658)
    at oracle.xml.jaxp.JXTransformer.setParameter(JXTransformer.java:385)
    at com.siemens.srvcmgmt.common.server.PresentationHandler.transformIt(PresentationHandler.java:149)
    at com.siemens.srvcmgmt.smc.servlet.Security.sendLoginScreen(Security.java:596)
    at com.siemens.srvcmgmt.smc.servlet.Security.doPost(Security.java:105)
    at com.siemens.srvcmgmt.smc.servlet.Security.doGet(Security.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:479)
    ]]></log4j:throwable>

    From my application log I see an exception where it tries to call the oracle.xml.parser.v2.XSLProcessor.
    The servlet for the login screen (XSL transformation) takes XML and returns HTML. Actually for the xml parsing
    we use xerces I don't understand why we would call the ORACLE parser? Do you have any idea? Is this a CLASSPATH
    or configuration problem? Is there a way to use the xml parser xerces instead the oracle one.
    <log4j:event logger="com.siemens.srvcmgmt.common.server.PresentationHandler" timestamp="1052834094464" level="DEBUG" thread="ApplicationServerThread-5">
    <log4j:message><![CDATA[Error: ]]></log4j:message>
    <log4j:NDC><![CDATA[1 Security doPost sendLoginScreen PresentationHandler transformIt]]></log4j:NDC>
    <log4j:throwable><![CDATA[java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:375)
    at oracle.xml.parser.v2.XSLProcessor.setParam(XSLProcessor.java:658)
    at oracle.xml.jaxp.JXTransformer.setParameter(JXTransformer.java:385)
    at com.siemens.srvcmgmt.common.server.PresentationHandler.transformIt(PresentationHandler.java:149)
    at com.siemens.srvcmgmt.smc.servlet.Security.sendLoginScreen(Security.java:596)
    at com.siemens.srvcmgmt.smc.servlet.Security.doPost(Security.java:105)
    at com.siemens.srvcmgmt.smc.servlet.Security.doGet(Security.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:479)
    ]]></log4j:throwable>

  • Connection error with FIN_WAIT_2 state

    Hi,
    I am using a Java server app with multiple clients.
    I start the server app and at times during development, shut it down and the socket goes into FIN_WAIT_2 state.
    I'm assuming this is because my clients haven't closed their ends.
    What's puzzling me is that occassionally after I restart the server I initiate new connections from one client and I get socket exceptions as though the server isn't there. In fact, I can't connect from any client!
    Doing a netstat reveals that there are some sockets still in FIN_WAIT_2.
    What has happened? There is a setSoTimeout() set on the server and I know it's repeatedly calling accept() without failure. If it has started properly, why can't I connect from the clients? It may take several attempts of restarting the server until it binds properly and then I can make new stable client connections without problem.

    I should mention that the systems I'm using are Windows 2000.
    Can anyone help me?

  • When backup the imac with time capsule, the time machine will show error with volumes/data/imac/sparsebundle could not be created??

    Can anyone help with the above situation??

    There are a number of things that cause the problem.
    http://pondini.org/TM/C17.html
    Usually if you go to disk page in manual setup of the airport utility (5.6 of course as 6 is a toy), disconnect all users and it will then work ok again.
    The issue is Lion (maybe contributed to by the 7.6 and later firmware).

  • Analytics error with video stats

    Wondering if anyone else has been experiencing this issue: a folio is missing from the dropdown menu in the Video reports. It is the most recently published folio, but it seems that it is only missing in the video section. Could it be because the folio in question was built in v25?

    Hi,
    Any update on this problem. We have a client that is facing the same exact situation. The video option doesn't show any info (empty folio dropdown list), but numbers of video viewed appears in "All Overlays" and "Individual Overlays".
    Thanks..

  • Why do I keep getting an error with this statement

    var Incentive = this.getField("Incentive").value;
    var ETPC = this.getField("ETPC").value;
    if (Incentive =< ETPC)event.value = Incentive;
    else if (Incentive => ETPC)event.value = ETPC;

    That simple. works like a charm now. I can't thank you enough.

  • Error 01006 with prepared statement

    I have the 1006 error with the statement:
    prepstmt = conn.prepareStatement
    select col from table where col = '?'
    The parameter is set with setString().
    I tried with the oracle 815 and 817 drivers.

    where i've to put STATEMENT.RETURN_GENERATED_KEYS?
    I need to use executeUpdate()...I didn't put it anywhere. I just called the getGeneratedKeys() method without using that constant anywhere and it just worked.

  • 2.1PROD/EA2: Show Errors problems

    With 2.1EA2 (JDK 1.6.0_16), the "show errors" command still doesn't ever seem to report errors (long time problem for me - see 1.5PROD/EA3/EA2/EA1 - BUG: Show Errors for View says no errors when errors). As well as that, when trying to run a show errors statement, nothing appears in the statement output window (which it does open if it is not there already) and I get the following text to the logging page:
    The following was not written to the Script Runner Result Window as the outputStream was closed:No Errors.
    theFurryOne

    At least 2.1 production has improved the display of the "No errors" message - this always appears in the statement output window. However, this functionality is still not working properly (at least compared to the SQL Plus command that it is meant to be an equivalent of).
    In SQL Plus, the "show errors" (on it's own) displays the errors (if any) from the last PL/SQL object created in the current connection. However, additional parameters can also be used to display errors for any other objects. The first way appears to be the only way that SQL Developer treats any show errors command - even if using those additional parameters which should change which object the errors should be reported for.
    As an example, the following code:
    create or replace force view xxx_dummy_v
    as
    select d.fred
    from   dual d
    show errors view xxx_dummy_vIn SQL Plus, this reports the error in the xxx_dummy_v view (d.fred is an invalid identifer).
    In SQL Developer, this same code reports "No errors", unless I have created PL/SQL objects in the same connection and the last one had errors, in which case it reports the errors from that last created PL/SQL object.
    Is it possible to improve the functionality of the "show errors" in SQL Developer to match the same command in SQL Plus? If not, it would be better to have an error displayed in the statement output if you attempt to run show errors with any parameters, as they are ignored. Getting errors for package A when requesting errors for view B is just wrong.
    theFurryOne

  • Problem with DECODE statement while migrating forms to 6i

    Hi,
    I'm migrating a form from 5 to 6i. When I compiled the form, I got this error witha decode statement.
    The error is
    Error 307 at line 15 column 7
    too many declarations of "DECODE" match this call
    The trigger has this code:
    IF :PRUN_RECS_INSERTED = 'Y' THEN
          RETURN ;
       END IF ;
       INSERT INTO GJBPRUN
        ( GJBPRUN_JOB,
          GJBPRUN_ONE_UP_NO,
          GJBPRUN_NUMBER,
          GJBPRUN_ACTIVITY_DATE,
          GJBPRUN_VALUE )
       SELECT :KEYBLCK_JOB,
              :ONE_UP_NO,
               GJBPDFT_NUMBER,
               SYSDATE,
          DECODE(GJBPDFT_VALUE, 'SYSDATE',
                          DECODE(GJBPDEF_LENGTH,'11',TO_CHAR(SYSDATE,'DD-MON-YYYY'), SYSDATE),
                          GJBPDFT_VALUE)
       FROM   GJBPDFT G, GJBPDEFEdited by: Charan on Mar 16, 2011 9:15 AM

    Hi Charan
    i think it's all about using both CHARACTER and DATE values at the same time in a DECODE statment u should either use char or date datatype.
    DECODE compares expr to each search value one by one. If expr is equal to a search, then Oracle Database returns the corresponding result. If no match is found, then Oracle returns default. If default is omitted, then Oracle returns null.
    e.g.
    If expr and search are character data, then Oracle compares them using nonpadded comparison semantics.
    expr, search, and result can be any of the datatypes CHAR, VARCHAR2, NCHAR, or NVARCHAR2.
    The string returned is of VARCHAR2 datatype and is in the same character set as the first result parameter.
    for more pls have a look here
    Hope this helps,
    Regards,
    Abdetu...

Maybe you are looking for

  • Error while creating OCA application in NWDS 7.1

    Dear Experts, I am creating mobile application for Handhelds (OCA) using mobile 7.1. I created the service component, ui component and application component. Added the dependencies, build the application, uploaded the 3 components to the server, assi

  • Undeline text in Smart forms character/paragraph format

    hi!!! i have a problem in printing a Undelined text in Smart forms bec. when i print it, only the words is underlined and the spaces between the words dont have underline. can anybody help me? thanks in advance!!! james

  • Disconnect to wireless when computer sleeps

    When I get on the computer for internet after the HD/screen are asleep the wifi connection is lost. Sometimes it finds it and reconnects which takes 30-90 secs, but sometimes it will net find it and I have to sign on to the network. I have an older i

  • Unable in install ACR 5.5?

    I have a Windows Vista 64 Bit system.  I have now downloaded the ACR 5.5 Beta Zip file at least a dozen times.  Each and every time I unzip it, when it gets to the end of the unzip, I get a window telling me that there are 4 files that could not be o

  • Aperture 2 - Nikon D300S RAW

    I really love using Aperture 2 over Lightroom for a while... Just until I just bought a Nikon D300S. Apple doesn't support the Nikon D300S RAW format (yet). The people at Adobe responded far more quickly and already have a free update. Does anybody h