No valid XSLT program supplied in XSLT Tester (Transaction code: STRANS)

Hi
I a trying to execute the Simple Transformation through STRANS (XMLABAP)
I am supplying Transformation, Source File Path as input.
Problem
When I am trying to execute it is giving the following error
XSLT Tester                                                                               
Runtime Errors                                                                               
Reason          : No valid XSLT program supplied
Please let me know if Ii need to extend the Selection.
Early answers will be rewarded
Thanks
Nikhil.B

thx Anup but still no success.
I am thinking whether we should do any repositories consitency check after upgrade? any manual adjustments? this is a standard component crmcmp_hdr.
the error seems to be caused by implementing note 0001358764 before upgrade in CRM 7.
Best Regards

Similar Messages

  • Program/FM to load test transaction data

    Friends,
    I remember using a program or a function module to load test data to SNP.
    It has a simple interface of specifying Product, Location, ATP category and quantity.
    Can anyone of you help me recall this program/fm? I am in middle of testing a scenario and stuck with create test data.
    -BP

    Are you referring to /SAPAPO/SJKTST04
    Look into SAP Note 886075 for SAP's disclaimer.
    Somnath

  • How to assign transaction code to a ABAP program?

    Hi,
    Need help in assigning transaction code to a ABAP program. Any method that will do the job?

    >
    sainath raj wrote:
    > hi
    > within my knowledge
    > Any ABAP program can have its own transaction code if and only if it is of type 'MODULE POOL' .
    > An EXECUTABLE program  cannot have a transaction code.
    >
    > So try with this .
    >  1) Go to the attributes of the program and change the program as type module pool
    >   2) then execute transaction SE93.
    >  3) give the appropriate program name and assign a transaction code as ur wish.
    Well Sainath,
    What u said is not correct, an executable report can have a transaction code, difference between module pool and executable program is that u neccesarily need to have a tcode for module pool but that doesn't mean that only module pool can have tcode.
    And secondly u should not answer these kind of simple questions, as people then continue posting simple questions without making an effort to serach for themselves.
    кu03B1ятu03B9к.

  • Program name for Transaction code

    Hi All,
    Is there an other table for program name for a given transaction code other than TSTC? I am asking this question beacuse for TCODE MM01, program name in TSTC is given as SAPMMG01, where as if you goto MM01->System->Status->Program it is giving as SAPLMGMM.
    Regards,
    Prashant.

    Hi All,
    I want the table name for TCODE other than TSTC.
    Regards,
    Prashant.

  • Problem converting XML back to ABAP Structure using XSLT program

    Hi Experts,
    I am currently trying to convert this xml file back to my ABAP structure but i have been unsuccessful so far. In XML file contain more than 1 reocrd. But my XSLT program is retriving only only first record. Try to help to get all the records.
    Sample XML File:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <soapenv:Header/>
    <soapenv:Body>
    <m:matchResponse xmlns:m="http://www.openuri.org/">
    <matchResult soapenc:arrayType="xs:string[1]">
    <enc:String xmlns:enc="http://www.openuri.org/encodedTypes">
    23417|finc|20060427        |BELMETALNERGO||||||X
    X|ALL||||20060427|20880808
    </enc:String>
    </matchResult>
    </m:matchResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    My XSLT Program:
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sapxsl="http://www.sap.com/sapxsl" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hp="http://www.openuri.org/" version="1.0">
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
          <asx:values>
            <OUTTAB>
              <xsl:for-each select="soapenv:Envelope/soapenv:Header/soapenv:Body/m:matchResponse/matchResult/enc:String">
                <ZA2_RPL_DETAILS_S>
                  <FINAL_RESULTS>
                    <xsl:value-of select="."/>
                  </FINAL_RESULTS>
                </ZA2_RPL_DETAILS_S>
              </xsl:for-each>
            </OUTTAB>
          </asx:values>
        </asx:abap>
      </xsl:template>
    </xsl:transform>
    My Structure is : Structure Name is ZA2_RPL_DETAILS_S.
    filed is: FINAL_RESULT CHAR553
    My requirement is to store the complete value between <String> and </String>.
    Currently it is giving the blank records
    Thanks for your help in advance.
    Regards,
    Rao

    Hi,
    post here
    expert forums -> sapnetweaver -> exchange infrastructure
    Regards

  • Creating a XSLT program to delete some part of text in XML file

    Hi All,
    I have a DMEE which generates an XML file . This file conatins the text "  #<?xml version="1.0" encoding="utf-16"?> " in the output file. My requirement is to  create XLT program to remove this text before output.
    Please help me out in creating an XSLT program as I am completely unaware of  this programming technique.

    Hi
    You have to import source and target structure in stylus studio and u have to map according to requirement....
    refer thsi links its use ful to u
    1./people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
      the above one is for xslt mapping.
    2.http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31  122e10000000a11466f/frameset.htm
      The obove one is for communication channel scheduling
    if any need
    thanq

  • Problem in Call transformation - xslt program

    Hi Experts,
    For the below XML file i have declared the XSLT Program  as described.
    i am not able to get the data into Internal table.
    Could you pls help me in where am i going wrong?
    Is it XSLT declaration or what?
    Data declarations
    TYPES: BEGIN OF TY_BH,
            RECORDTYPE(02), " Record Type
            DOCTYPE(02),      " Document type
            REFERENCE(16),      " Reference Document Number
            DOCUMENTDATE(08),      " Document Date in Document
            POSTINGDATE(08),      " Posting Date in the Document
            COMPANYCODE(04),      " Company Code
            CURRENCY(03),      " Currency Key
            EXCHANGERATE(08),      " Exchange rate
            PARK(01),  " Park document
            ITEMNUMBER(03), " Number of line item
           END OF TY_BH,
           BEGIN OF TY_HH,
             RECORDTYPE(02), " Record Type
             SOURCE(04),
             DESTINATION(04),
             TIMESTAMP(14),
           END OF TY_HH,
           BEGIN OF TY_TT,
             RECORDTYPE(02),
             TOTALRECORDS(10) TYPE N,
             TOTALVALUE(16),
           END OF TY_TT.
    TYPES: BEGIN OF TY_BL,
             RECORDTYPE(02),
             REFERENCE(16),
             REFLINEITEM(03),
             ACCTTYPE(01),
             DRCRINDICATOR(01),
             ACCOUNT(10),
             AMOUNT(13),
             VENDORNAME1(40),
             VENDORNAME2(40),
             VENDORNAME3(40),
             VENDORNAME4(40),
             STREET(40),
             CITY(40),
             POSTALCODE(10),
             COUNTRY(02),
             CONTACTPERSON(10),
             ALTERNATEPAYEECODE(10),
             ALTERNATEPAYEENAME1(40),
             ALTERNATEPAYEENAME2(40),
             ALTERNATEPAYEENAME3(40),
             PAYMENTTERMS(04),
             BASELINEDATE(08),
             PAYMENTMETHODS(01),
             ALLOCATION(18),
             LINEITEMTEXT(50),
             TAXCODE(02),
             TAXAMOUNT(13),
             WHTAXCODE(02),
             WHTAXBASE(13),
             FUND(10),
             FUNDCENTER(16),
             COSTCENTER(10),
             INTERNALORDER(12),
             TAXAUTOMATICALLY(01),
             SPECIALGLINDICATOR(01),
           END OF TY_BL.
    DATA: GT_BH     TYPE STANDARD TABLE OF TY_BH,
          GS_BH     TYPE TY_BH,
          GT_BL     TYPE STANDARD TABLE OF TY_BL,
          GS_BL     TYPE TY_BL,
          GT_HH     TYPE STANDARD TABLE OF TY_HH,
          GS_HH     TYPE TY_HH,
          GT_TT     TYPE STANDARD TABLE OF TY_TT,
          GS_TT     TYPE TY_TT.
    DATA: GT_RESULT_XML5 TYPE ABAP_TRANS_RESBIND_TAB,
          GS_RESULT_XML5 TYPE ABAP_TRANS_RESBIND.
    DATA: GS_RIF_EX     TYPE REF TO CX_ROOT,
          GS_VAR_TEXT   TYPE STRING.
    DATA: BEGIN OF GT_XML,
             HH TYPE TY_HH,
             BH LIKE TABLE OF GT_BH,
             BL LIKE TABLE OF GT_BL,
             TT TYPE TY_TT,
           END OF GT_XML.
    DATA: GT_ITAB       TYPE STANDARD TABLE OF CHAR2048,
          GS_ITAB TYPE CHAR2048.
    I have the below file read into internal table GT_ITAB.
    XML File
    <?xml version="1.0" encoding="utf-8"?>
    <ABCInbound xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\XYZSchema\ABCInbound.xsd">
    <HH>
    <RecordType>HH</RecordType>
    <Source>ABC</Source>
    <Destination>XYZ</Destination>
    <TimeStamp>20050909220546</TimeStamp>
    </HH>
    <BH>
    <RecordType>BH</RecordType>
    <DocType>AB</DocType>
    <Reference>2205516125</Reference>
    <DocumentDate>20080909</DocumentDate>
    <PostingDate></PostingDate>
    <CompanyCode>ABC</CompanyCode>
    <Currency>INR</Currency>
    <ExchangeRate>1.0000</ExchangeRate>
    <Park></Park>
    <ItemNumber>2</ItemNumber>
    </BH>
    <BL>
    <RecordType>BL</RecordType>
    <Reference>2205516125</Reference>
    <RefLineItem>1</RefLineItem>
    <AcctType>K</AcctType>
    <DrCrIndicator>H</DrCrIndicator>
    <Account>01000003</Account>
    <Amount>364.00</Amount>
    <VendorName-1>TOM &amp; JERRY IS MY</VendorName-1>
    <VendorName-2> NAME TO BE PAID</VendorName-2>
    <VendorName-3>1987566Z</VendorName-3>
    <VendorName-4>22</VendorName-4>
    <Street>UCX STREET</Street>
    <City>ROAD 4</City>
    <PostalCode>515004</PostalCode>
    <Country>IND</Country>
    <ContactPerson></ContactPerson>
    <AlternatePayeeCode></AlternatePayeeCode>
    <AlternatePayeeName-1></AlternatePayeeName-1>
    <AlternatePayeeName-2></AlternatePayeeName-2>
    <AlternatePayeeName-3></AlternatePayeeName-3>
    <PaymentTerms></PaymentTerms>
    <BaselineDate></BaselineDate>
    <PaymentMethods></PaymentMethods>
    <Allocation></Allocation>
    <LineItemText>item text</LineItemText>
    <TaxCode></TaxCode>
    <TaxAmount>0.00</TaxAmount>
    <WHTaxCode></WHTaxCode>
    <WHTaxbase>0.00</WHTaxbase>
    <Fund></Fund>
    <FundCenter></FundCenter>
    <CostCenter></CostCenter>
    <InternalOrder></InternalOrder>
    <TaxAutomatically></TaxAutomatically>
    <SpecialGLIndicator></SpecialGLIndicator>
    </BL>
    <TT>
    <RecordType>TT</RecordType>
    <TotalRecords>1</TotalRecords>
    <TotalValue>222</TotalValue>
    </TT>
    </ABCInbound>
    Call transformation as below
    GET REFERENCE OF GT_XML INTO GS_RESULT_XML5-VALUE.
    GS_RESULT_XML5-NAME = 'IABC'.
    APPEND GS_RESULT_XML5 TO GT_RESULT_XML5.
    TRY.
        CALL TRANSFORMATION Z_XML_TO_ABAP5
        SOURCE XML GT_ITAB
        RESULT (GT_RESULT_XML5).
      CATCH CX_ROOT INTO GS_RIF_EX.
        GS_VAR_TEXT = GS_RIF_EX->GET_TEXT( ).
        MESSAGE GS_VAR_TEXT TYPE 'E'.
    ENDTRY.
    WHEN I CHECK GT_XML its initial.
    XSLT Program Z_XML_TO_ABAP5 is like below.
    Pls let me know if my xslt declaration is wrong.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output encoding="iso-8859-1" indent="yes" method="xml" version="1.0"/>
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
          <asx:values>
            <IABC>
              <xsl:apply-templates select="//ABCInbound"/>
            </IABC>
          </asx:values>
        </asx:abap>
      </xsl:template>
      <xsl:template match="ABCINBOUND">
        <item>
          <RECORDTYPE>
            <xsl:value-of select="RecordType"/>
          </RECORDTYPE>
          <SOURCE>
            <xsl:value-of select="Source"/>
          </SOURCE>
          <DESTINATION>
            <xsl:value-of select="Destination"/>
          </DESTINATION>
          <TIMESTAMP>
            <xsl:value-of select="TimeStamp"/>
          </TIMESTAMP>
          <RECORDTYPE>
            <xsl:value-of select="RecordType"/>
          </RECORDTYPE>
          <DOCTYPE>
            <xsl:value-of select="DocType"/>
          </DOCTYPE>
          <REFERENCE>
            <xsl:value-of select="Reference"/>
          </REFERENCE>
          <DOCUMENTDATE>
            <xsl:value-of select="DocumentDate"/>
          </DOCUMENTDATE>
          <POSTINGDATE>
            <xsl:value-of select="PostingDate"/>
          </POSTINGDATE>
          <COMPANYCODE>
            <xsl:value-of select="CompanyCode"/>
          </COMPANYCODE>
          <CURRENCY>
            <xsl:value-of select="Currency"/>
          </CURRENCY>
          <EXCHANGERATE>
            <xsl:value-of select="ExchangeRate"/>
          </EXCHANGERATE>
          <PARK>
            <xsl:value-of select="Park"/>
          </PARK>
          <ITEMNUMBER>
            <xsl:value-of select="ItemNumber"/>
          </ITEMNUMBER>
          <RECORDTYPE>
            <xsl:value-of select="RecordType"/>
          </RECORDTYPE>
          <REFERENCE>
            <xsl:value-of select="Reference"/>
          </REFERENCE>
          <REFLINEITEM>
            <xsl:value-of select="RefLineItem"/>
          </REFLINEITEM>
          <ACCTTYPE>
            <xsl:value-of select="AcctType"/>
          </ACCTTYPE>
          <DRCRINDICATOR>
            <xsl:value-of select="DrCrIndicator"/>
          </DRCRINDICATOR>
          <ACCOUNT>
            <xsl:value-of select="Account"/>
          </ACCOUNT>
          <AMOUNT>
            <xsl:value-of select="Amount"/>
          </AMOUNT>
          <VENDORNAME1>
            <xsl:value-of select="VendorName-1"/>
          </VENDORNAME1>
          <VENDORNAME2>
            <xsl:value-of select="VendorName-2"/>
          </VENDORNAME2>
          <VENDORNAME3>
            <xsl:value-of select="VendorName-3"/>
          </VENDORNAME3>
          <VENDORNAME4>
            <xsl:value-of select="VendorName-4"/>
          </VENDORNAME4>
          <STREET>
            <xsl:value-of select="Street"/>
          </STREET>
          <CITY>
            <xsl:value-of select="City"/>
          </CITY>
          <POSTALCODE>
            <xsl:value-of select="PostalCode"/>
          </POSTALCODE>
          <COUNTRY>
            <xsl:value-of select="Country"/>
          </COUNTRY>
          <CONTACTPERSON>
            <xsl:value-of select="ContactPerson"/>
          </CONTACTPERSON>
          <ALTERNATEPAYEECODE>
            <xsl:value-of select="AlternatePayeeCode"/>
          </ALTERNATEPAYEECODE>
          <ALTERNATEPAYEENAME1>
            <xsl:value-of select="AlternatePayeeName1"/>
          </ALTERNATEPAYEENAME1>
          <ALTERNATEPAYEENAME2>
            <xsl:value-of select="AlternatePayeeName2"/>
          </ALTERNATEPAYEENAME2>
          <ALTERNATEPAYEENAME3>
            <xsl:value-of select="AlternatePayeeName3"/>
          </ALTERNATEPAYEENAME3>
          <PAYMENTTERMS>
            <xsl:value-of select="PaymentTerms"/>
          </PAYMENTTERMS>
          <BASELINEDATE>
            <xsl:value-of select="BaselineDate"/>
          </BASELINEDATE>
          <PAYMENTMETHODS>
            <xsl:value-of select="PaymentMethods"/>
          </PAYMENTMETHODS>
          <ALLOCATION>
            <xsl:value-of select="Allocation"/>
          </ALLOCATION>
          <LINEITEMTEXT>
            <xsl:value-of select="LineItemText"/>
          </LINEITEMTEXT>
          <TAXCODE>
            <xsl:value-of select="TaxCode"/>
          </TAXCODE>
          <TAXAMOUNT>
            <xsl:value-of select="TaxAmount"/>
          </TAXAMOUNT>
          <WHTAXCODE>
            <xsl:value-of select="WHTaxCode"/>
          </WHTAXCODE>
          <WHTAXBASE>
            <xsl:value-of select="WHTaxbase"/>
          </WHTAXBASE>
          <FUND>
            <xsl:value-of select="Fund"/>
          </FUND>
          <FUNDCENTER>
            <xsl:value-of select="FundCenter"/>
          </FUNDCENTER>
          <COSTCENTER>
            <xsl:value-of select="CostCenter"/>
          </COSTCENTER>
          <INTERNALORDER>
            <xsl:value-of select="InternalOrder"/>
          </INTERNALORDER>
          <TAXAUTOMATICALLY>
            <xsl:value-of select="TaxAutomatically"/>
          </TAXAUTOMATICALLY>
          <SPECIALGLINDICATOR>
            <xsl:value-of select="SpecialGLIndicator"/>
          </SPECIALGLINDICATOR>
          <RECORDTYPE>
            <xsl:value-of select="RecordType"/>
          </RECORDTYPE>
          <TOTALRECORDS>
            <xsl:value-of select="TotalRecords"/>
          </TOTALRECORDS>
          <TOTALVALUE>
            <xsl:value-of select="TotalValue"/>
          </TOTALVALUE>
        </item>
      </xsl:template>
    </xsl:transform>
    I able to get if declare only for BL and BH in separate xslt transformations.
    Regards,
    Simha

    Hello Mithun,
    when you use the call transformation statement you have to specifiy the xslt transformation used. As a first step you usually use the transformation with the name ID. This is a special transformation for making the asXML representation of abap data. Unfortunately if you look into this transformation you find the following:
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    >
    <xsl:strip-space elements="*"/>
    <xsl:template match="/">
      <xsl:copy-of select="."/>
    </xsl:template>
    </xsl:transform>
    If I remember correctly when you use another transformation this will first call the ID transformation and after this the specified one. So it should not be possible to just copy ID transformation and remove the line. I'll have to think again how to avoid the behaviour.
    Best Regards
    Roman

  • Modification in interaction center Customer Fact Sheet of XSLT program

    Hi All,
    There is a requirement to do a small modification in CRM winclient Interaction Center Customer Fact Sheet.
    A new data need to be displayed in the fact sheet according to certain condition.
    The fact sheet is displayed upon the code written in XSLT program. Need to understand how the code is fetching the data values from the RFC client. The part of the code is as below (unable to post the code). Can some one tell me what the attributes in the XSLT code are and where are they defined.
    Condition need to be written to display the meter type based on the serial number of the meter. Can this be done in XSLT program or else where.
    I have also looked at the class for the environment ZCL_CFS_GET_ENVIROMENT. I do not see any custom method created here. Also looked that there were no BADI available.
    Kindly let me know where the condition need to be written.
    Thanks to All
    Regards
    P Raj

    The info object of the environment is assinged with class ZCL_CFS_GET_ENVIRONMENT, this class has method GET_REPORT, this method calls function module ZCRM_CFS_READ_ENVIR.
    The code of condition is to be written in this function module.
    The attributes of the code is to be called in the specific area in the XSLT program of the environment.

  • Xslt program in the abap workbench

    Hi,
    could you please give me the navigation steps to create xslt program in the abap workbench ??
    Thanks in advance
    Regards
    ravindra

    Babu,
    Check this weblogs for some help on this:
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
    /people/dirk.roeckmann/blog/2006/07/26/grouping-xml-with-xslt--from-muenchian-method-to-xslt-20
    /people/achim.bangert/blog/2005/07/17/code-generation-using-xsl-transformations
    /people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
    ---Satish

  • XSLT Program Interpretation

    Dear Developers,
    I am having trouble understanding this XSLT code. Could someone help me to locate ZW_CS/ACCTCLASS and ZW_IC_ADD_ONS/ACCTCLASS. My task is to add another field in the CIC0 screen which is refereing to ZW_CS and ZW_IC_ADD_ONS.
    <td><b><xsl:value-of select="sap:otr-text('ZW_CS/ACCTCLASS')"/> </b>
    <xsl:variable name="acctclass">ZW_IC_ADD_ONS/ACCTCLASS<xsl:value-of select="attributes/KTOKL"/>
    </xsl:variable>
    <xsl:value-of select="attributes/KTOKL"/>
    </td>
    This XSLT program resides in CRM system. There were HTML profile created in R/3 system.
    Thanks you and best regards.

    Dear Developers,
    I am having trouble understanding this XSLT code. Could someone help me to locate ZW_CS/ACCTCLASS and ZW_IC_ADD_ONS/ACCTCLASS. My task is to add another field in the CIC0 screen which is refereing to ZW_CS and ZW_IC_ADD_ONS.
    <td><xsl:value-of select="sap:otr-text('ZW_CS/ACCTCLASS')"/> <xsl:variable name="acctclass">ZW_IC_ADD_ONS/ACCTCLASS<xsl:value-of select="attributes/KTOKL"/> </xsl:variable> <xsl:value-of select="attributes/KTOKL"/> </td>
    This XSLT program resides in CRM system. There were HTML profile created in R/3 system. Thanks you and best regards

  • Creating XSLT program in BI 7.0

    HI,
    Can anybody explain step by step aproach to create a XSLT program in BI 7.0.
    Thanks in adv.
    Jai

    hi,
    Pl chk the link
    http://help.sap.com/saphelp_nw04s/helpdata/en/25/87273c3f2b3c7ce10000000a11402f/frameset.htm
    Ramesh

  • Proble With XSLT Program

    I have created a XSLT Program for an abap internal table.by using  the foolowing code
      CALL TRANSFORMATION z_mm__xls
        SOURCE root = gt_po_data
        RESULT XML gv_xml_result.
    after this when i tried to download to presentation server using FM *cl_gui_frontend_services=>gui_download*  i am unable to get the contents in excel.
    Please find my XSLT code below
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="ROOT"/>
      <tt:template>
        <?mso-application progid="Excel.Sheet"?>
        <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=
    "uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
          <STYLES>
            <STYLE ss:ID="Default" ss:Name="Normal">
              <Alignment ss:Vertical="Bottom"/>
              <Borders/>
              <Font/>
              <Interior/>
              <NumberFormat/>
              <Protection/>
            </STYLE>
            <STYLE ss:ID="s21">
              <NumberFormat ss:Format="Short Date"/>
            </STYLE>
            <STYLE ss:ID="s22">
              <NumberFormat ss:Format="Standard"/>
            </STYLE>
          </STYLES>
          <Worksheet ss:Name="spend_catalogen">
            <NAMES>
              <NamedRange ss:Hidden="1" ss:Name="_FilterDatabase" ss:RefersTo="=spend_catalogen!R1C1:R65536C15"/>
            </NAMES>
            <TABLE>
              <COLUMN ss:Width="157.75"/>
              <COLUMN ss:Index="20" ss:Width="150.25"/>
              <COLUMN ss:Index="7" ss:Width="150.75"/>
              <ROW>
                <CELL>
                  <DATA ss:Type="String">sold-tor</DATA>
                  <NAMEDCELL ss:Name="_FilterDatabase"/>
                </CELL>
                <Cell>
                  <Data ss:Type="String">ship-to</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Special stock</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">End user</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Sched.Agr.</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Cust.material</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">MRP Material</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Plant</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Finishing line</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                  <Cell>
                  <Data ss:Type="String">Zero date</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Alignment date</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Last run MRP</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Week</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Date</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Ordered Quantity</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Cml.released qty</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Quantity to be Delivered</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Quantity to be Produced</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Base Unit</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Last Material Ref.Millr</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Cons. Stock</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Stock on wheels</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Reshipper stock</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Plant Stock</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Thickness</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Width</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
                <Cell>
                  <Data ss:Type="String">Length</Data>
                  <NamedCell ss:Name="_FilterDatabase"/>
                </Cell>
              </ROW>
              <tt:loop name="line" ref=".ROOT">
                <Row>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.soldto"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.shipto"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.specil"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.endusr"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.vbeln"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell ss:StyleID="s21">
                    <Data ss:Type="String">
                      <tt:value ref="$line.kdmat"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.matnr"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.werks"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.zzpp16"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.cydat"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.aldate"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.lrdate"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="Number">
                      <tt:value ref="$line.week"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.date"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.ordqty"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.cumqty"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.delqty"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.proqty"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.meins"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.lmatnr"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.consi"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.stock"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.reshi"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.pstock"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.zzdi03"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.zzdi06"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                  <Cell>
                    <Data ss:Type="String">
                      <tt:value ref="$line.zzdi09"/>
                    </Data>
                    <NamedCell ss:Name="_FilterDatabase"/>
                  </Cell>
                </Row>
              </tt:loop>
            </TABLE>
            <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
              <Selected/>
              <Panes>
                <Pane>
                  <Number>3</Number>
                  <ActiveRow>25</ActiveRow>
                  <ActiveCol>26</ActiveCol>
                </Pane>
              </Panes>
              <ProtectObjects>False</ProtectObjects>
              <ProtectScenarios>False</ProtectScenarios>
            </WorksheetOptions>
            <AutoFilter xmlns="urn:schemas-microsoft-com:office:excel" x:Range="R1C1:R65536C15"/>
          </Worksheet>
        </Workbook>
      </tt:template>
    </tt:transform>
    Kindly help me to solve my problem..

    1) What type is gv_xml_result
    2) use this fm
    call function 'DISPLAY_XML_STRING'
          exporting
            xml_string      = gv_xml_result
          exceptions
            no_xml_document = 1
            others          = 2.
    to display your xml an the ABAP side. Is it correct?

  • CALL TRANSFORMATION on Unicode WebAS 6.20: No valid source context supplied

    Hello,
    in the last day's I was stuck into a strange problem. I had to develop a Web Service Client on our Web AS 6.20 Unicode system. I followed the Blog <a href="/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap">Consuming Web Service from ABAP</a>. The problem was that my CALL TRANSFORMATION always throwed an exception "No valid source context supplied". I've tested the transformation with a local copy of the XML the Web Service returned and it works quite well. I had a look into the Documentaion of CALL TRANSFORMATION and it says:
    == Documentation Quote Begin ==
    Addition 3a
    ... SOURCE  XML sxml
    Effect
    Specification of the transformation source
    Transfer the XML document sxml using addition 3a. The following three possibilities exist for specifiying sxml:
    The XML document can be in an ABAP variable sxml of the type STRING or XSTRING or in an internal standard table sxml of the elementary line type C.
    == Documentation Quote End ==
    So there should be no difference between STRING and XSTRING. But there is a difference! Here is my testcase which I've derived from my Blog <a href="/people/gregor.wolf3/blog/2006/06/27/geocode-business-partner-with-google-maps">Geocode Business Partner with Google Maps</a>:
    <b>XSLT Transformation - ZGOOGLE_GEOCODE_TO_ABAP</b>
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:asx="http://www.sap.com/abapxml" xmlns:kml="http://earth.google.com/kml/2.0" version="1.0">
      <xsl:template match="/">
        <asx:abap version="1.0">
          <asx:values>
            <GEOCODE>
              <LON>
                <xsl:value-of select="substring-before(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,',')"/>
              </LON>
              <LAT>
                <xsl:value-of select="substring-before(substring-after(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,','),',')"/>
              </LAT>
              <ALT>
                <xsl:value-of select="substring-after(substring-after(kml:kml/kml:Response/kml:Placemark/kml:Point/kml:coordinates,','),',')"/>
              </ALT>
            </GEOCODE>
          </asx:values>
        </asx:abap>
      </xsl:template>
    </xsl:transform>
    <b>ABAP Report</b>
    REPORT  z_gw_test_geocode.
    DATA:
    BEGIN OF geocode,
      lon TYPE string,
      lat TYPE string,
      alt TYPE string,
    END OF geocode.
    DATA: client TYPE REF TO if_http_client,
           url TYPE string,
           c_xml TYPE string,
           x_xml type xstring.
    * Build URL to call Googe Maps Geocoding
    CONCATENATE 'http://maps.google.com/maps/geo?'
      'q=Tacherting,+DE'
      '&output=xml'
      '&key=ABQIAAAA2WL-mG7HpdSjlxystL3uBhRvBuAcdiWwcJAQgt9kNvfse-yNqBQuxwHkHo31WjTJ_RzVPIhXNludVg'
      INTO url.
    ****Create the HTTP client
    CALL METHOD cl_http_client=>create_by_url
      EXPORTING
        url    = url
      IMPORTING
        client = client
      EXCEPTIONS
        OTHERS = 1.
    client->send( ).
    client->receive( ).
    ****Get the response content in Character format
    c_xml = client->response->get_cdata( ).
    ****Get the response content as Binary
    x_xml = client->response->get_data( ).
    ****Transform XML as String to ABAP Values
    DATA: xslt_err TYPE REF TO cx_xslt_exception,
          error_text TYPE string.
    WRITE: / 'Transformation with STRING'.
    TRY.
        CALL TRANSFORMATION zgoogle_geocode_to_abap
        SOURCE XML c_xml
        RESULT geocode = geocode.
      CATCH cx_xslt_exception INTO xslt_err.
        error_text = xslt_err->get_text( ).
        WRITE: / error_text.
    ENDTRY.
    WRITE: / 'LON: ', geocode-lon.
    WRITE: / 'LAT: ', geocode-lat.
    WRITE: / 'ALT: ', geocode-alt.
    ****Transform XML as XString to ABAP Values
    WRITE: / 'Transformation with XSTRING'.
    TRY.
        CALL TRANSFORMATION zgoogle_geocode_to_abap
        SOURCE XML x_xml
        RESULT geocode = geocode.
      CATCH cx_xslt_exception INTO xslt_err.
        error_text = xslt_err->get_text( ).
        WRITE: / error_text.
    ENDTRY.
    WRITE: / 'LON: ', geocode-lon.
    WRITE: / 'LAT: ', geocode-lat.
    WRITE: / 'ALT: ', geocode-alt.
    <b>Result</b>
    This is the result on our 6.20 Unicode System:
    Transformation with STRING
    No valid source context supplied
    LON:
    LAT:
    ALT:
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    I've tried it on our 6.20 and 6.40 NON-Unicode systems and the result was:
    Transformation with STRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Finaly I've tried it on our Solutin Manager 4.0 which runs on Web AS 7.00 and is also a Unicode installation. Here the result is correct:
    Transformation with STRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    Transformation with XSTRING
    LON:  12.570504
    LAT:  48.078269
    ALT:  0
    So now what to do? I've found nothing in OSS regarding this behaviour. Any tips? I also try a OSS Message.
    Regards
    Gregor

    Hi,
    Can you tell me about your project on short notes. For information.
    Regards
    R.Rajendran

  • Error message "No valid source context supplied"

    Hii,
    I will add buttons to my html page. So far, I inserted the following code to my bsp page:
    <% DATA: ls_button type CRMT_THTMLB_BUTTON,
                      lt_button type CRMT_THTMLB_BUTTON_t.
                      CLEAR ls_button.
                      ls_button-type = cl_thtmlb_util=>gc_icon_edit.
                      ls_button-on_click = ''.
                      ls_button-enabled = 'X'.
                      ls_button-text = 'Cancel'.
                      append ls_button to lt_button'.
    %>
    <thtmlb:areaFrameSetter toolbarButtons = "<%= lt_button %>"
                                            maxButtonNumber = "1" />      
    When I remove the buttons, that I inserted before with the configuration tool (button Coniguration) and test my page, I get the following error message:
    Cannot display view Z_SHOW/Upload of UI Component Z_SHOW
    An exception has occured
    Exception Class  CX_BSP_ELEMENT_EXCEPTION-:No valid source context supplied
    Methode              CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR
    Source Test Row: 3
    Can anyone explain me, how to fix the error message?
    Thanks and regards,
    Harris

    I have the same error,could you tell me how to solve it .thanks !
    无法显示视图 ZGSWIDET/DetailsEF
    已出现异常 例外分类  CX_BSP_ELEMENT_EXCEPTION - : No valid source context supplied 
    方法:  CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR 
    源文本行:  3

  • "No valid source context supplied" in technical bar after upgrade to EhP1

    Dears,
    After upgrade from 7 to 7 EhP1 we have error displayed in technical bar (bar on the top, with Log off and Personalization buttons) in all business roles that we log in. There is BSP error displayed:
    "No valid source context supplied"
    Exception Class CX_XSLT_RUNTIME_ERROR
    Error Name CX_XSLT_RUNTIME_ERROR
    Program CL_BSP_WD_REPOSITORY==========CP
    Include CL_BSP_WD_REPOSITORY==========CM003
    ABAP Class CL_BSP_WD_REPOSITORY
    Method CREATE_INSTANCE_FROM_XML
    Line 10 
    Long text -
    Do you have any ideas?
    We have component webcuif in 701 version (SP 4).
    Best Regards

    thx Anup but still no success.
    I am thinking whether we should do any repositories consitency check after upgrade? any manual adjustments? this is a standard component crmcmp_hdr.
    the error seems to be caused by implementing note 0001358764 before upgrade in CRM 7.
    Best Regards

Maybe you are looking for

  • IPhone 4S not connecting to Windows XP Pro

    My iPhone 4S is not connecting to Windows XP Pro. I've already tried restarting my Apple USB Driver but it still will not connect. Any suggestions?

  • Podcast episode description not showing up in iTunes

    Hi I've got just an audio version of my podcast and as I wanted a bit more flexibility and statistics I started using Feedburner for the audio version. The only bad thing that I've found is that the individual episode description is just the descript

  • Connecting iPOD to XP and networking will be disconnecting

    everytime i connected my iPOD to my XP desktop, it will disconnect my network adaptor, when I reboot with the iPOD connected, my networking adaptor is still disconnected, therefore I cannot connect to the internet while iPOD is connected to the deskt

  • Can XI 3.0 connect to R/3 3.1i?

    Hi, In help.sap.com it is given as "To connect RFCs, BAPIs, and IDocs originating from systems Release 3.1I or higher to SAP Exchange Infrastructure, you require either the RFC adapter or the IDoc adapter. You can import RFCs, BAPIs, and IDocs to the

  • How to create a emulator

    i want to create a program which can emulate the A86 assembler (its for my school project) i am new to java ,this was my yesterdays question : http://forums.sun.com/thread.jspa?threadID=5441557&tstart=0 i want my program to parse through a given asse