Wanted To Channge The Standsrd Purchase Order Template with Customized Temp

Hi ALL,
I m using oracle 11.5.10.2. I want to change the template attached with the Standard Purchase Order(PO_STANDARD_XSLFO) which is in XSL-FO Formatt.I want to use my customized template for printing Purchase order.I attached one template with the same Data definition which the standard template is having.
But still it is taking the standard template not the customized one. Can u tell me how i can attch the customized template with the standard Purchase Order. And one thing more if i want to update the exisiting Standard template then how i can update it bcoz the update is disabled for that template.
Thanx
Ravi

Hi Klause,
Thanx, for ur Reply. I did the same thing.....i copied the xsl-fo for standard template and i just removed the braces from there, which was for printing purpose only. this is the change what i did....
<fo:inline xsl:use-attribute-sets="legal_details_style">
<xsl:value-of select="TOTAL_AMOUNT" />
<fo:leader leader-pattern="space" leader-length="2.0pt" />
( --------------i removed this brace
<xsl:value-of select="CURRENCY_CODE" />
) --------------i removed this brace
</fo:inline>
and the rest is similar to the standard template.. But it has given me that error....
Error while generating the PDForacle.apps.xdo.XDOException genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null java.lang.Exception: Error while generating PDF :null java.lang.Exception: Error while generating PDF :null at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2084) at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:302) at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
Thts the error...which i m getting..... Can u help me out.....
Thanx
Ravi

Similar Messages

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • Problem in enhancing the Purchase Order BADI with custom fields

    Hi All,
    I have problem  in populating the  cutom fields for the Purchase Order. I have created a custon include  and i am passing the values to the extension of the  Function module BAPI_PO_CHANGE  In ECC 6.0. I have  one currency field (ZZMASSIST)  in the header level and  three curr fields in the  item level  , due to this currfields we are getting the errors like "Error transferring ExtensionIn data for enhancement CI_EKPODB" and "Error transferring ExtensionIn data for enhancement CI_EKKODB" .
    So i  am looking to implement  the BADI   "ME_BAPI_PO_CUST " . Please provide me the sample code for maintain the currency fields in method IF_EX_ME_BAPI_PO_CREATE_02~MAP2I_EXTENSIONIN.
    Thanks in Advence.
    Regards,
    Venkat Appikonda.

    Hi Venkat,
    Saw that you solved the issue, can I ask how do you implement it? Is the implementation done in the BAPI itself?

  • How to add Signatre to Standard Purchase Order Template XSL-FO

    I need to add digital signature to the standard Purchase Order Template which is sent to supplier.
    could you let me know the process.
    thanks
    Edited by: 855902 on May 24, 2011 8:00 PM

    Thanks for your response.
    I tried to change the code in below format but it was giving error.
    Original code
    <xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
    modified to
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried with
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    also tried like
    <xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
    Tried above 3 methods but it didn't work.
    right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
    any suggestions.
    thanks

  • How to extend the WebUI product search results with customer attributes

    Hello,
    We are using CRM 7.0. We want to extend the WebUI product (Object) searches with customer attributes and to display customer attributes in the search results. We found the note 1026956 that explains how to extend the WebUI product (Object) searches with customer attributes. We want to know if there is also some note that explains how to display customer attributes in the search results for products/Objects.
    Thanks in advance,
    Sergey Kozyrev

    Sergey,
    I doubt whether there exists such note. The note 1026956 which you mentioned is for enhancing the Search for Custom attributes. For Enhancing the Result list you need to do custom development.
    Regards,
    Harshit

  • How to create the Copy icon in the change Purchase order functionality

    Hi,
    In the shopping cart creation screen, there has a option to copy one Item in the Items in Shopping Cart section.This functionality is supplied by standard SAP.
    Now I will have to build the same logic ( Copy Icon with the copy and paste logic)  in the Cahnge Purchase Order functionality.
    So anybody told me how this can happen?
    Also want to know the BADI or some Function Module name from where standard  SAP did the same thing ?
    Thanks for your help in advance.

    Hi. You could add a new button by amending the template, then use the BBP_DOC_CHANGE_BADI to copy the item when it is pressed.
    Just copy all the details for the line to be copied in the BADI. I think you will have to generate new GUIDs for the new lines using function GUID_CREATE. All the other GUIDs, header, partner etc could be copied from what was already there.
    Alternatively, still using BBP_DOC_CHANGE_BADI, you could add a new custom field, see note 672960, called "Copy Item" and the user could enter an X or something in there to indicate they want to copy.
    Or how about a number of copies, they could enter 1 for 1 copy, 10 for 10 and so on?
    When the user presses check the BADI runs and you copy the lines.
    It would not be as neat to look at as the copy button, but it would actually give more functionality and would mean you would not have to mess around with templates.
    Regards,
    Dave.

  • Downloading the open purchase order list

    HI Friends,
    Please let me know how to download the open purchase order list from SAP aong vth buyer codes.
    Regards,
    A.S.kumar

    Hii
    Go to ME2N, give the details what ever u want in that screen and in Scope of list - select ALV.
    If u select ALV , it will show in the format of excel sheet , so u download as lik that .
    In selection parameters - u mention WE101/WE102 ...etc , according ur requirement.
    Any clarification , let us know
    Thanks
    SAP-MM
    Edited by: MM group on Feb 19, 2010 6:04 AM

  • Custom Purchase Order template causes Error while generating PDF

    The standard XSLFO works, my custom one errors:
    History of the world:
    1) I downloaded the XML Publisher thing for Word, installed it no problems
    2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
    3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
    4) Previewed it as a PDF in word - it looked fine (well, it was a start)
    5) Exported the XSLFO
    6) In XML Publisher created a new template and uploaded the XSLFO
    7) Assigned the new template to the document in Purchasing
    All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
    PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
    PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
    PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    When I run POXPOPDF in Debug I get:
    getArchiveOn(): APPROVE
    After calling genDocThu May 18 12:50:05 EST 2006
    Adding the blob to vector
    java.lang.NullPointerException
    java.lang.NullPointerException
         at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
    Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
    Thanks
    Jo

    Hi Jo,
    The first version for which the Template Builder was released is 5.0
    Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
    However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
    I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
    Hope that helps,
    Klaus

  • Want to create a multiple Purchase Order using one file source

    I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
    Right now I get  Item.no is missing [POR1.ItemCode][Line 2]

    Here is a code sample
        Private Sub testcode()
            Dim strOrdplanFile As String
            Dim oLineRec As SAPbobsCOM.Recordset
            Dim strLine As String = ""
            Dim ItemName As String
            Dim Quantity As String
            Dim RequiredDate As String
            Dim SupplierType As String
            Dim ShipTo As String
            Dim Vendor As String
            Dim oPurchaseOrder As SAPbobsCOM.Documents
            Dim bAddPOrder As Boolean = True
            Dim bPurchase As Boolean = False
            Dim sSQL As String
            Dim iReads As Integer = 1
            Dim iCurrentPurchaseNumber As Integer = 0
            Dim bErrors As Boolean = False
            Dim retCode As Double
            oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
            strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
            If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
                Dim sr As New StreamReader(strOrdplanFile)
                strLine = sr.ReadLine()
                txtPurRec.String = "0"
                oFormStatus.Update()
                Try
                    Do
                        Vendor = strLine.Substring(0, 8).Trim()
                        ShipTo = strLine.Substring(12, 8).Trim()
                        SupplierType = strLine.Substring(26, 1)
                        ItemName = strLine.Substring(27, 20).Trim()
                        Quantity = strLine.Substring(94, 8)
                        RequiredDate = strLine.Substring(206, 9)
                        oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                        sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
                        oLineRec.DoQuery(sSQL)
                        If oLineRec.RecordCount() > 0 Then ' if it exists add the record
                            If oLineRec.Fields.Item(0).Value.ToString = "B" Then
                                If (bAddPOrder) Then
                                    oPurchaseOrder.CardCode = Vendor
                                    oPurchaseOrder.DocDueDate = RequiredDate
                                    'Add first item to the purchase order
                                    oPurchaseOrder.Lines.ItemCode = ItemName
                                    oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                    oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                    oPurchaseOrder.Lines.Add()
                                    bAddPOrder = False
                                    bPurchase = True
                                    iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                    txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                    oFormStatus.Update()
                                Else
                                    'compare CardCode to make sure Vendor hasn't change
                                    If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
                                        'Add item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                    Else
                                        'vender code changed
                                        retCode = oPurchaseOrder.Add()
                                        If (retCode <> 0) Then
                                            SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
                                        End If
                                        oPurchaseOrder.CardCode = Vendor
                                        oPurchaseOrder.DocDueDate = RequiredDate
                                        'Add first item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                        bAddPOrder = False
                                        bPurchase = True
                                        iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                        txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                        oFormStatus.Update()
                                    End If
                                    iReads = iReads + 1
                                End If 'new
                                strLine = sr.ReadLine()
                            End If
                        End If
                    Loop Until sr.EndOfStream
                Catch ex As Exception
                    MsgBox(ex.Message, MsgBoxStyle.Information)
                End Try
                If (bPurchase) Then
                    lRetCode = oPurchaseOrder.Add()
                End If
                sr.Close()
                swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
                oPurchaseOrder = Nothing
            End If
        End Sub

  • Customize Standard Purchase Order template

    We have requirement to customize the 'Standard Purchase Order Stylesheet', XSL template. I am trying to follow the below approach;
    1. Use standard oracle template 'PO_STANDARD_XSLFO.xsl' and customize it as per client requirements.
    2. Create a template definition 'XX Custom Purchase Order stylesheet' similar to 'Standard Purchase Order Stylesheet' in 'Purchasing' responsibility and upload my custom template.
    3. Navigate to Purchasing Super User > Setup > Purchasing > Document Types > 'Purchase Order Standard' > Update Document Type layout > replace 'Standard Purchase Order Stylesheet' with 'XX Custom Purchase Order stylesheet'.
    Please let me know if i have missed any steps.
    Appreciate your time.

    Another approach is to create a new RTF using the tags generated by the PO Output for Communication program. The tags are generated by the columns in the PO_XXX_XML views.
    Sent from my iPhone

  • Add the field in the standard purchase order

    Hi
      I have the requirement like this
    I want to add two extra field in the standard purchase order (Tcode me2n) and display the data.What are the process for that.
    Thanks
    Mrutyunjaya Tripathy

    hi,
    u have to use user exits for adding additional fields for ME2N....some of the exits available for this transaction are..
    MM06E001            User exits for EDI inbound and outbound purchasing documents 
    MM06E003            Number range and document number                             
    MM06E004            Control import data screens in purchase order                
    MM06E005            Customer fields in purchasing document                       
    MM06E007            Change document for requisitions upon conversion into PO     
    MM06E008            Monitoring of contr. target value in case of release orders  
    MM06E009            Relevant texts for "Texts exist" indicator                   
    MM06E010            Field selection for vendor address                           
    reward if useful

  • Use of Contract in the Service purchase order

    Dear Experts,
    I am assigning the Contract for the services as a limit in the service purchase order for a specific service. The system is not checking the limit against the same at the time of the service entry sheet. I do not have the unlimited delivery checked for the line item.
    How it is possible to check the limit against the contract upto a certain limit.
    E.g. I have a total contract of 20000 USD for 12 months but in this month I only want to avail the services upto 2000USD against the same contract.
    How is it possible in the system

    If you are with value contract of 2000 usd then it will allow upto that?
    You can avial the service as per the coversion to Po with what ever the value with activity.

  • R12 - How to customize the seeded Purchase Order PDF report

    Hi,
    We need to customize the layout AND the data of the seeded Purchase Order pdf report that is generated in PO Summary form when user picks drop-down menu Inquire->View Document. I know how to set up the Document Type with a customized layout but I do not know how to update the XML data that feeds the layout.
    Thanks, Mike

    Mike,
    Please review the following documents.
    Note: 374165.1 - How To Customize The PDF Output For Printed Purchase Order Report (Portrait) ?
    Note: 406094.1 - How To Diagnose Issues Within Oracle Purchasing PDF File Creation for Printing
    Regards,
    Hussein

  • How do I get my purchased movies from iTunes to show in my Library without storing all the GBs on my hard drive?  [I want to show the Cloud Purchases.]

    Hey Hey! 
    Running OSX 10.9.4 and iTunes 11.3
    I am pretty sure that this has been addressed somewhere, but I could not find it - so thanks up front!!!
    How do I get my purchased movies from iTunes to show in my iTunes Library without storing all the GBs on my hard drive?  I want to show the Cloud Purchases without having hundreds of GBs taking up my HD space. 
    Thanks!

    Deborah,
    You cannot import contacts from your Nano to your PC via iTunes.  The syncing process is only one way.  However, if you enable disk mode on your iPod, open it up in a Windows Explorer window, you should see a Contacts folder.  From there you can copy them back over to your PC. 
    Even though this article is talking about adding contacts to the PC, it should walk you through some of the steps mentioned above.
    http://support.apple.com/kb/HT2419?viewlocale=en_US
    B-rock

  • HT2688 My daughter has used my computer to log into iTunes and download music but now it won't let me download recently purchased music from my iPad onto my computer. I want to transfer the recently purchased songs onto my iPod so how can I do this now.

    My daughter has used my computer to log into iTunes and download music but now it won't let me download recently purchased music from my iPad onto my computer. I want to transfer the recently purchased songs onto my iPod so how can I do this now? iTunes now says that I have to wait another 55 days! There must be a way to do this since I have paid for them.

    In iTunes sign out of your daughters Apple ID and sign in with your own.

Maybe you are looking for

  • 10.8.3 upgrade causing Safari, App Store, Software Update, Twitter Client to crash

    Getting this when trying to start any of those applications: Process:         WebProcess [1353] Path:            /System/Library/PrivateFrameworks/WebKit2.framework/WebProcess.app/Contents/Mac OS/WebProcess Identifier:      com.apple.WebProcess Versi

  • Visual Voicemail behaviour in UnityConnection 8.6.1

    I am testing a Visual Voicemail deployment using a UnityConnection 8.6.1 cluster , CUCM 7.1.3 and 7962G phones. Per the "Installation and Configuration Guide for Visual Voicemail Release 8.5 Revised September 2, 2011",  I plan to NOT change the exist

  • IPad Stuck in Recovery Mode - Help!!!!!

    Problem 1:  My iPad apps and movies are on an external drive because the space on my iMac internal SSD is only 256GB.  My iTunes Media Folder [500GB of apps and movies] is a lot larger than the internal SSD can hold.  When I plugged in my iPad and tr

  • Spacing of Spry Menu submenu items, and inserting background images

    Hiya, need a bit of help, could someone possibly guide me with this? I've created a Spry Menu in DW CS5 - so far, so good.. However I'm pretty new to CSS Styles so need pointers at what to change to get the result I need. I've created the spry menu,

  • Transfer posting for sales order stock questions. Propose BOM components?

    Hello We are working with a third party subcontracting scenario (SD item category TAB/sched line CB), where a Subcontracting PO (item cat L/acc assign M) gets generated. At MB1B, I perform a 412E movement to issue components to a sales order. When I