Calling DB from XSL style sheet is possible?Please let me know gurus

Hi
ANy one has done DB calls from XSL style sheet for oracle POs?
is it possible
kp

Hi srini
In PO xsl style sheet there is a field caled Manufacturer's Part no and also another filed called Buying Department.
Some said customizing po_headers_xml and other relevant standard views..But client dont want to touch standard views.
So my client asking me if I can use DB calls ...PLease advise me with examples
thanks
prasanna

Similar Messages

  • Generate report from database using .xsl style sheet

    I am trying to view test result histories for specific uut serial numbers.
    We are logging all test data to the default access database template that was provided with Teststand.
    Is there a method of generating reports from the database that match the format of those generated at runtime?
    I was surprised to find that the default access database did not contain any gui or pre-made reports matching the xsl style sheets chosen in the report options dialog.
    My database skills are weak, I am able to browse the raw data and I see the relationships between some of the tables, but the prospect of recreating one of the xml report formats in access seems daunting. Am I missing something? what is the best way to print a uut report from test data stored in access?

    Hello msears,
    Thank you for posting on the NI Discussion Forums.  Unfortunately there are no tools available in TestStand for directly converting an Access database to a formatted .xsl report.  It is possible to have a step in a sequence that reads the information from the database, and create the .xsl report as if it had been generated at sequence run-time, by writing those values directly to Locals.ResultList.  Admittedly, this would require some knowledge of Microsoft Access, and the ability to write a program that will extract information from the database, in order to include it as a step in the sequence.
    Is there anything stopping you from creating a formatted .xsl report when the sequence is run (instead of trying to create it from previous data stored in an Access database)?
    Chris_G
    Sr Test Engineer
    Medtronic, Inc.

  • Xml file with xsl style sheet reference

    I am trying to learn this from a book, I copied the code like
    it shows, but the page on the server keeps coming back with an
    error starting on line 54 involving the four "End If" quotes. I
    have tried everything I can think of and can't get it to work. Any
    help would be greatly appreciated.
    Here's the code:
    <%@Language=VBScript%>
    <%option explicit%>
    <%
    dim domDoc
    dim aFilename
    Dim node
    Dim nodes
    dim mainNodes
    dim mainnode
    dim attr
    dim root
    Set domDoc = Server.CreateObject("MSXML.DOMDocument")
    afilename =server.MapPath("ch19i1.xml")
    if not domDoc.load(afilename) then
    Response.Write "Could not load the file " & aFilename
    & "<br>"
    Response.End
    end if
    %>
    <html>
    <head></head>
    <body>
    <%
    ' display the root node
    set root = domDoc.documentElement
    Response.Write "<h1>" & root.nodename & ": "
    & root.nodevalue & "</h1>"
    Set mainNodes = root.childNodes
    For Each mainNode in mainNodes
    If mainNode.hasChildNodes = False Then
    Response.Write "<h2>" & mainNode.nodeName & ":
    " & mainNode.text & "</h2><br>"
    Else
    Response.Write "<h3>" & mainNode.nodeName & ":
    " & mainNode.text & "</h3>"
    Set nodes = mainNode.childNodes
    If nodes.lenght > 0 Then
    Set node = nodes(0)
    If Not node.Attributes Is Nothing Then
    If node.Attributes.lenght > 0 Then
    Response.Write "<table border='1'>"
    Response.Write "<thead>"
    For Each attr In node.Attributes
    Response.Write "<th>" & attr.nodeName &
    "</th>"
    Next
    Response.Write "</tr>"
    For Each node In nodes
    Response.Write "<tr>"
    For Each attr In node.Attributes
    If attr.nodeValue = "" Then
    Response.Write "<td>" & " " &
    "</td>"
    Else
    Response.Write "<td>" & attr.nodeValue &
    "</td>"
    End If
    Next
    Response.Write "</table>"
    End If
    End If
    End IF
    End If
    Next
    %>
    </body>
    </html>

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • Cannot view XML input using XSL style sheet. Please correct the error and..

    Hi All,
    Scenario XML to IDOC.
    The interface determination decides whether to create IDOC X or IDOC Y based on a xml segment value.
    I have an error in the SXMB_MONI:
    <!--  Interface Determination
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160).</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the inbound interface: Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: CL_SWF_RLS_COMPARISON=========CP, include: CL_SWF_RLS_COMPARISON=========CM002, line: 63). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: SAPMSSY1, include: , line: 0). Exception CX_SWF_EXP_EVALUATE occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM027, line: 38). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM01Z, line: 520). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SAI_SWF_RULE_ENGINE========CP, include: CL_SAI_SWF_RULE_ENGINE========CM00S, line: 42). Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    From the SXMB_MONI, the inbound message payload is truncated with an error:
    - <ProductIdentification>
      <GlobalProductIdentifier />
    - <PartnerProductIdentification>
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    The following tags were not closed: Pip3B12ShippingOrderConfirmation, ShippingOrder, ShipmentLineItem, isContainsHazardousMa...
    ">   <GlobalPartnerClassificationCode />
      <ProprietaryProductIdentifier>000000000000101369</ProprietaryProductIdentifier>
      </PartnerProductIdentification>
      </ProductIdentification>
    - <QuantityInformation>
    - <confirmedQuantity>
      <ProductQuantity>1.00</ProductQuantity>
      </confirmedQuantity>
    I've checked that the xml format is OK.
    As a matter of fact, if I try to resend the xml file from directory, the message is processed correctly and the payload shows all the xml file.
    Thanks.
    Daniele
    Edited by: Daniele*Verdone on Feb 1, 2010 11:22 AM
    Edited by: Daniele*Verdone on Feb 1, 2010 11:23 AM

    Hi Suraj,
    That option is not available in FTP mode..
    This option is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
    Yes, you're right !!
    Are you sure that the message is not getting picked in half-way
    Now, at this time, I can't see the XML data in the CC monitoring because the tool shows only the recent polling execute in the last 10 minutes. If the error recurs, I will check the payload of CC.
    How can I solve the problem with reading incomplete file (FTP mode)?
    ...Meanwhile I will try with Full cache refresh.
    Thanks
    Daniele

  • Getting Ship to Contact Phone Number for PO xsl style sheet

    Hi anyone,
    I have a Qn in xsl style sheet
    If you look in the xml given below there is a field called <ADDR_DATA_9>
    <ADDRESS_DETAILS>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>67670</LOCATION_ID>
    <ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Cou
    ntry</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
    <ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
    <ADDR_LABEL_6>City</ADDR_LABEL_6>
    <ADDR_LABEL_7>State <ADDR_LABEL_8>County</ADDR_LABEL_8>
    <ADDR_LABEL_9>Fax</ADDR_LABEL_9>
    <ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
    <ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
    <ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
    <ADDR_DATA_2>BT Amer
    icas Inc.|11440 Commerce Park Drive|Reston, VA 20191</ADDR_DATA_2>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>67644</LOCATION_ID>
    <ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Country</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Lin
    e1</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
    <ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
    <ADDR_LABEL_6>City</ADDR_LABEL_6>
    <ADDR_LABEL_7>State</ADDR_LABEL_7>
    <ADDR_LABEL_8>County</ADDR_LABEL
    _8>
    <ADDR_LABEL_9>Fax</ADDR_LABEL_9>
    <ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
    <ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
    <ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
    <ADDR_DATA_1>US</ADDR_DATA_1>
    <ADDR_DATA_2>Invoice To:</ADDR_DATA
    _2>
    <ADDR_DATA_3>BT AMERICAS ACCOUNTS PAYABLE</ADDR_DATA_3>
    <ADDR_DATA_4>PO Box 696025</ADDR_DATA_4>
    <ADDR_DATA_5>78269</ADDR_DATA_5>
    <ADDR_DATA_6>SAN ANTONIO</ADDR_DATA_6>
    <ADDR_DATA_7>TX</ADDR_DATA_7>
    <ADDR_DATA_8>USA</ADDR_DATA_8>
    </ADDRES
    S_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>179305</LOCATION_ID>
    <ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Country</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
    <ADDR_LABE
    L_4>Address Line3</ADDR_LABEL_4>
    <ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
    <ADDR_LABEL_6>City</ADDR_LABEL_6>
    <ADDR_LABEL_7>State</ADDR_LABEL_7>
    <ADDR_LABEL_8>County</ADDR_LABEL_8>
    <ADDR_LABEL_9>Fax</ADDR_LABEL_9>
    <ADDR_LABEL_10>Sales Tax Override<
    /ADDR_LABEL_10>
    <ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
    <ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
    <ADDR_DATA_1>US</ADDR_DATA_1>
    <ADDR_DATA_2>Lantheus Medical Imaging</ADDR_DATA_2>
    <ADDR_DATA_3>Building 250 ground floor</ADDR_DATA_3>
    <
    ADDR_DATA_4>331 Treble Cove Rd</ADDR_DATA_4>
    <ADDR_DATA_5>01862</ADDR_DATA_5>
    <ADDR_DATA_6>BILLERICA</ADDR_DATA_6>
    <ADDR_DATA_7>MA</ADDR_DATA_7>
    <ADDR_DATA_8>Middlesex</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    </ADDRESS_DETAILS></PO_DATA>
    If we have multiple ship to addresses how can i exacltly get that in xsl style sheet
    For eg;
    ship to 1:
    address line 1
    address line 2
    <ADDR_DATA_9>423-667-3244</ADDR_DATA_9>
    ship to 2:
    address line 1
    address line 2
    <ADDR_DATA_9>123-456-3244</ADDR_DATA_9>
    We can loop through location id in xml.
    How can I achieve it in XSL?
    appreciate your help
    thanks
    prasanna

    There is no field called "ADDR_DATA_9" int he xml.
    can you xplain and paste th full xml > if its public, do drop me a mail ;)
    dont digest the message by yourself :)

  • Ship To Contact Phone in XSL style sheet

    I am trying to add ship_cont_phone in my PO XSL style sheet report.
    However when I run this report I don't see any Phone number added in the PO. I can see that there is a phone number existing for that particular location. But it is not showing up in the report.
    Anyone dealt with the same please reply
    thanks
    prasanna

    Prasaana
    I would suggest logging a service request with the PO support team. They should be able to help you find the data, if its there.
    Regards
    Tim

  • Adding report header lines using expand.xsl style sheet

    Hello
    I would like to add a few header lines (appears only at the first page of the report) into my XML report that is based on expand.xsl style sheet. 
    Since I am not familiar with XML, is there any example or a modified (ready to run) expand.xsl style sheet that implements it?
    Thank you
    Zvika

    Hey Zvika,
    Chek out this website:  http://zone.ni.com/devzone/cda/epd/p/id/4759
    NI doesn't support any changes in the xsl however so if you change it you are on your own.  You can look to this website for help with that: http://www.w3.org/XML/
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Finding and Editing the DynamicHomePage.xsl Style Sheet in MII 12.0

    I'd like to edit the DynamicHomePage.xsl style sheet but I'd not sure where to find it in MII 12.0.  Is it editable through the workbench?
    Thanks!
    David

    David,
    you can modify the Logo in the File DefaultHeader.xml. You can find it under the Web/Themens,
    in the Sample Project as Jeremy said.
    Please include this in your project as Jeremy described.
    Regards
    Pedro

  • Repeat  Headers in XSL Style Sheets

    Hi
    Anyone handled repeating headers in XSL style sheets? I have a scenario where Column title Row needs to be repeated every page.
    This is to make sure that column heading is getting repeated every page.So that the table will avoid break across pages.
    Any idea
    Kp

    Hey
    Easiest way to find out what code is needed is to re-create it in the Template Builder for Word andf then export it to XSLFO and take a look see. To get the row to repeat on every page you need the following in the table definition
    - <fo:table-row keep-together="always" keep-with-next="always">
    thats in the first row of the table ie
    - <fo:table start-indent="0.0pt" style-id="ts15" style-name="Table Grid" xdofo:table-summary="Template Table 1" xdofo:row-header-count="0">
    <xsl:variable name="_XDOFOPOS2" select="number(1)" />
    <xsl:variable name="_XDOFOTOTAL" select="number(1)" />
    <fo:table-column column-width="147.6pt" />
    <fo:table-column column-width="147.6pt" />
    <fo:table-column column-width="147.6pt" />
    - <fo:table-header>
    * <fo:table-row keep-together="always" keep-with-next="always">*
    - <fo:table-cell padding-start="5.15pt" vertical-align="top" border-bottom="0.5pt solid #000000" border-end-color="#000000" padding-top="0.0pt" border-end-style="solid" border-start-color="#000000" padding-end="5.15pt" number-columns-spanned="1" border-top="0.5pt solid #000000" border-start-style="solid" height="0.0pt" border-end-width="0.5pt" padding-bottom="0.0pt" border-start-width="0.5pt" background-color="#e7f3fd">
    - <fo:block xdofo:tab-stops="left:45.8pt:space left:91.6pt:space left:137.4pt:space left:183.2pt:space left:229.0pt:space left:274.8pt:space left:320.6pt:space left:366.4pt:space left:412.2pt:space left:458.0pt:space left:503.8pt:space left:549.6pt:space left:595.4pt:space left:641.2pt:space left:687.0pt:space left:732.8pt:space" linefeed-treatment="preserve" padding-top="0.0pt" orphans="2" end-indent="0.0pt" start-indent="0.0pt" padding-bottom="0.0pt" text-align="start" widows="2">
    <fo:inline font-size="10.0pt" white-space-collapse="false" height="10.0pt" font-family="Courier New" font-weight="bold">Report</fo:inline>
    </fo:block>
    </fo:table-cell>
    Regards
    Tim

  • I have about 10000 images of different persons with dimension of 640*480. I wan to crop face from these images to dimension of 200*280. The location of face varies in differnt pics. So, please let me know step by step how can I perform this using the Ligh

    I have about 10000 images of different persons with dimension of 640*480. I wan to crop face from these images to dimension of 200*280. The location of face varies in differnt pics. So, please let me know step by step how can I perform this using the Lightroom software. Also I wan to know what should be the aspect ratio to do so.Thank you in advance

    The aspect ratio should be set to 200x280, or equivalently 5x7.
    I don't think it is possible to do the cropping automatically in Lightroom, you'd have to do this image by image to crop the faces correctly.

  • M from india, i purchase iphone 4s around 18 mnths ago. I was having 1 year warranty of 1 year that has been expired 6 months ago. Now how can i extend my iphone warranty. Please let me know about this. Thanks in advance..

    M from india, i purchase iphone 4s around 18 mnths ago. I was having 1 year warranty of 1 year that has been expired 6 months ago. Now how can i extend my iphone warranty. Please let me know about this. Thanks in advance..

    If you don't know the sender, then it is most likely a scam or spam email. I get them every day - I just delete them. I also get daily notices from Facebook or someone called Adriana at Facebook even though i do not have an account there. Can't do anything about it - just delete it.

  • HT1725 My Visa account keeps getting declined at Apple.I used this very same Visa card on Amazon with no problem. I checked my status for the card and it is still all good. Please let me know as soon as possible

    My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Eximbank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Personal Information Edited by Host>

    These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your credit card number from your post as these are public forums (you should consider getting a new card from your provider as you've posted it here).
    Your card is registered to exactly the same address (spacing and format) as is on your iTunes account ?You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • HI Team, Recently One week back I bought a new iphone 5 from India. They have given me a used mobile which has a different IMEI number when compared to the IMEI number present on the box. Please let me know how to proceed further

    HI Team, Recently One week back I bought a new iphone 5 from India. They have given me a used mobile which has a different IMEI number when compared to the IMEI number present on the box. Please let me know how to proceed further

    When you went back to the place where you purchased this phone, & asked them, what did they say?
    No one here can help you with this, nor can/will Apple. You need to take this up with whoever you purchased this phone from.

  • I dont know how i got my photos to my ipod touch from my pc and now i wanna delete them but couldn't. so need help. please let me know.

    i dont know how i got my photos to my ipod touch from my pc and now i wanna delete them but couldn't. so need help. please let me know.

    To turn off auto sync - launch iTunes and go to Edit>Preferences>Devices - check the box at the bottom that says - Prevent iPod, iPhones and iPads from syncing automatically. Click OK and then quit iTunes.
    Connect your iDevice to your PC.
    Launch iTunes,
    Click on the device name on the left side of the iTunes Window.
    Click on the Photos Tab in the iTunes window on the right.
    Untick all of the photos or albums that you want to remove.
    Click on Apply in the lower right corner of iTunes
    If you untick or uncheck the Sync Photos heading and then click Apply it will remove all of the photos from the device when it syncs. In this screenshot - I have only certain albums and events selected to sync.

Maybe you are looking for

  • Connect imac 2011 to hdtv

    Hi, I am trying to connect my mid-2011 iMac to my HDTV but can't find any useful information on the Internet. The iMac lacks a display port thus I am not sure what connector I need to purchase to have a dual screen setup. Is there any adapter in the

  • Click outputlink reset the locale

    i have a problem here. when i change my language(locale) and then click the outputlink. it goes to the page with the default locale. <h:outputLink value="mypage.jsp">     <h:outputText value="#{bundle.create}"/> </h:outputLink>  set locale FacesConte

  • Is it posible to make a figure or text move across the slide?

    Hi... i am using KN3 and need to know if is posible to move a figure or text across a slide. For instance, a textbox start on left upper corner and then it moves to right lower corner? it is possible to do? thanks in advance

  • Refreshing grid display

    Hi All, My question is regarding report and grid display: 1) After executing report (with selection-screen), we will be directed to a screen (module pool) with multiplt ALV grids by making use of Splitter Control (which is dynamic depending on the ou

  • Imac 10.8.3 won't communicate with laserjet P2055dn

    iMAC OS 10.8.3 wont communicate with Laser Jet P2005dn throught USB