Print Purchase Order (R12) , need to identify template assigned to Print PO

Hi,
I see three versions on Purchase Orders in R12, How will i know which template of these is assigned to Print Purchase Oder (sent out to supplier for communication in pdf).
I need to customize the Print PO, add additional fields and change the layout, so i need to download related files from XML Publisher and modify.
Could you let me know how to identify which template is assigned to Print Purchase Oder
Thanks..

855902 wrote:
Hi,
I see three versions on Purchase Orders in R12, How will i know which template of these is assigned to Print Purchase Oder (sent out to supplier for communication in pdf).
I need to customize the Print PO, add additional fields and change the layout, so i need to download related files from XML Publisher and modify.
Could you let me know how to identify which template is assigned to Print Purchase Oder
Thanks..Hi,
Go to Document type setup and search for the respective PO type. Find the template name attached to it. It is actually based on XSL stylesheet.
Note that, there are following underlying views who drive the PO Print.
PO_HEADERS_XML
PO_LINES_XML
PO_LINE_LOCATION_XML
PO_RELEASES_XML
If you need to add any field, you may need to add it to one of the above first.
Thanks,
PS.

Similar Messages

  • Purchase order Personalization- Need Help

    Hi friends
    Good Day , i have created an alert in the Purchase Order creation screen to notify the buyers when the PO Price entered for the item is different from the standard cost. so i have have set the profile option 5% .I have set this profile option X % as setting that can be changed if needed in the future.
    so that when the price for the item differs +/- 5% .it alerts the buyer that Po price differs from standard cost > or < 5 % .and now it gets over and the po is also created for the purchase order +/- 5% .
    And now if i have created po order for item giving some 4% difference from the standard cost.so what it happens is i wont get the alert since it differ only by 4% and the po is created. lets take an example that PO order no is some 123456
    Now i have a requirement that is the user wishesh to change the PO profile option to 3 % .And if they query back the PO no 123456 .what it happens i ll get the alert that Po price differs from standard cost > or < 3 % since i have given the item cost is 4%.
    My Requirement
    ==========
    what is my requirement is i should not get this alert since i have have created the PO:123456 for the item when it is 5%. when i query back the old record which i have created for 5% it should not give me an alert unless the item cost is changed ..
    please give me any suggestion what can be done for this ..
    Thanks in advance
    Thilib
    Edited by: AT on Feb 8, 2011 2:02 AM
    Edited by: AT on Feb 8, 2011 2:43 AM

    Hi Friend
    yes ur right iam in when-validate-record personalization only in the condition i have used this script
    :PO_HEADERS.STATUS = 'Incomplete' and
    :SYSTEM.RECORD_STATUS <> 'QUERY' and
    :PO_LINES.UNIT_PRICE <=
    (select (MATERIAL_COST *(100-${ps.xx_ppv_percentage.value}))/100 from cst_item_cost_type_v where cost_type='Frozen' and
    organization_id=64 and inventory_item_id=:po_lines.item_id)
    OR :PO_LINES.UNIT_PRICE >=
    (select (MATERIAL_COST *(100+${ps.xx_ppv_percentage.value}))/100 from cst_item_cost_type_v where cost_type='Frozen' and
    organization_id=64 and inventory_item_id=:po_lines.item_id )
    And in my Action i have used this
    =select 'Material Cost : '|| MATERIAL_COST || chr(10)
    ||'Price entered varies from frozen Material cost by more than profile option '|| ${ps.xx_ppv_percentage.value}||' % value.'
    from cst_item_cost_type_v where cost_type='Frozen' and organization_id=64 and inventory_item_id=:po_lines.item_id and rownum <2
    Note :here this is the profile option:${ps.xx_ppv_percentage.value} it can changed in the system profile
    In my script were should i want to use this
    po_lines.CREATION_DATE > to_date ('20110211','yyyymmdd')
    the user may change the profile option whenever he required.so instread of giving the paricular date what can be the alernative one
    once the profile option changed and queried back the same PO number i should not get the alert message unless a modifaction done in material cost..since it is created for the previous profile option
    Thanks in adavnce
    your help will be highly appreciable
    AT
    Edited by: AT on Feb 8, 2011 7:54 AM

  • Purchase order GR need to post to Quality inspection stock

    Hi all,
    How to post stock to Quality inspection directly for a PO. Even though in GR i make sure that its posting in Quality inspection, by default it is going to Urestricted stock. How to fix this by posting stock to Quality inspection directly?
    Thanks,
    Avani.

    Hi Avani,
    Pre-requesite:-
    QM should be live at plant level.
    Data toeb maintained in QM view.
    You need to activate inspection type 01 (For GR against Purchase Order) and 04 (For GR from Production, against Process Order) in QM view of Material Master. Doing this all the GR quantity will be posted in Quality stock automatically.
    If QM is not live, you need to activate the "Post to insp. Stock" inidicator in Materail master QM view.
    Update us to help you more, reward points to help you better!!!
    Regards,
    Shyamal

  • Purchase order description needs to be changed

    Hi
    We have a generic material database for particular type of materials. This material is then mapped to a huge database of unique materials. (We are a retailer and sell 30 milllion plus articles (materials). Hence this mechanism). Those that we maintain through generic numbers mapped to unique numbers..are all sold through third party vendors.
    Now, the return purchase order to these vendors needs to have the unique description maintained in a ztable instead of the generic material and description from the material master.
    Any BADI that can help us overwrite the material master description pls?
    Thanks
    Priya

    Hi
    Thank you for your link.
    However I am not to change the description in MM02. Material master has to retain the original description. I need to change the description only in the purchase order.
    This is because while in our records it would suffice to know the material by its generic name..for finance and for the vendor they need to know the ztable description.
    Hope that clarifies.
    T
    Thanks
    Priya

  • Create Sales order with reference to purchase order - Help needed

    Hi Gurus
    Purchase order is being created in Oracle system. SAP system will receive the purchase order and creates the sales order for the corresponding purchase order.
    Hoe to create sales order, Through BAPI or through IDOC. Please suggest and give some pointers of existing interface
    Thanks
    Andy.

    Hi,
        If you are working on ECC6.0 check for the BAPI BAPI_SALESORDER_CREATEFROMDAT1 .You can also pass the purchase order number .
    Check the sample code
    REPORT z_bapi_salesorder_create.
    Parameters
    Sales document type
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Sales organization
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Distribution channel
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Division.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
    PARAMETERS: p_spart TYPE spart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Sold-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
    PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Ship-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
    PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Material
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
    PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Quantity.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
    PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Plant
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    Initialization.
    INITIALIZATION.
    v_text   = 'Order type'.
    v_text1  = 'Sales Org'.
    v_text2  = 'Distribution channel'.
    v_text3  = 'Division'.
    v_text4  = 'Sold-to'.
    v_text5  = 'Ship-to'.
    v_text6  = 'Material'.
    v_text7  = 'Quantity'.
    v_text9  = 'Plant'.
    Start-of-selection.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = p_auart.
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = p_vkorg.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = p_vtweg.
      headerx-distr_chan = 'X'.
    *Purchase order number
    header-PURCH_NO_C =  '4000006'.
    headerx-PURCH_NO_C = 'X'.
    Division
      header-division = p_spart.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = p_sold.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = p_ship.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    Reward points if it worked.
    Regards,
    Abhishek
    Edited by: Abhishek Raj on May 14, 2008 9:57 AM

  • Purchase Order Carryforward (FMJ2) Does Not Recognize Assignment Changes

    In our year end processing, we ran FMJ2 to do purchase order carryforward. We have about 15 documents which had erroneous carry forward amounts. In each of these documents, there was a change in account assignment in the sender fiscal year. Fields which had assignment changes included Fund, Commitment Item, and/or Funded Program.
    When FMJ2 did the carryforward, it appears to have ignored the assignment change, and ignored any subsequent activity applied to the new assignment.
    It brought forward only activity applied to the original assignment.
    Has anybody else enountered this? Can anybody tell me what may be causing this, and how to fix it?
    Thank you.
    Will assign points for solution.

    Hello Aoife,
    If you need to perform a carryforward with changes in FM Account Assignment, you should define a Derivation Strategy for reassignment on closing operations.
    So, what you could do here is to reverse the Carryforward using FMJ3, and then define this derivation strategy for reassignment and perform FMJ2 again.
    You don't specify which is the release you are working on, but nevertheless, please find more information in the SAP Library / Funds Management for SAP_APPL 470-EA-PS200:
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/f0/ca5716260211d28a430000e829fbbd/frameset.htm">Funds Management</a>
    and choose Chapter "Closing Operations-> Derivation Strategy for Reassignment with Closing Operations".
    I hope this helps.
    Kind regards,
    Mar

  • Purchase Order Modification: External Document Number already assigned

    Hello,
    We're running Extended Classic Scenario in a SRM 4.0 implementation.
    The problem is the following: When the user modifies a purchase order (this purchase order is already replicated to the backend), sometimes (not always), the next error occurs:
    "Purchase Order XXXXXXXXXX: PO header data still faulty "
    "Purchase Order XXXXXXXXXX: External document number XXXXXXXXX already    assigned"
    The system does not provide additional info (RZ20 give us the same message, no ST22 dumps...
    We think it could be some kind of error in the standard BAPI BAPI_PO_CHANGE.
    We've revised the SAP OSS but didn´t find anything....
    Some idea?
    Regards and Thanks in advance!!!

    Hi
    <u>Any other rrors / dumps noticved in system using RZ20 and ST22 transactions ?</u>
    <b>Have you seen this helpful pointers and link ?</b>
    <u>The related SAP OSS notes are as under :</u>
    <b>"Purchase Order item 00010 still contains faulty account assignment items"</b>
    <b>Note 1000184 - Account assignment error when document transfer to back end</b>
    Note 966323 - Service Item: Not able to create PO in ERP backend
    "Purchase Order item 00010 still contains faulty account assignment items"
    Re: How to create a PO in R/3 from a local Bid Invitation in classic scenario ?
    Re: From local Bid invitation PO is not generated in backend
    <b>Do let me know.</b>
    Regards
    - Atul

  • In ME21N error-Purchase order item still contains faulty account assignment

    Hi
    While creating the PO in ME21N the following error occurs.
    "Purchase order item 00010 still contains faulty account assignments"

    Hi,
    Details you have provided for account assignment in item detail is not faulty or not sufficient.
    If you are charging PO to a cost center, check for cost center and GL account.
    If you are charging PO to network....check for GL account, network and activity.
    sk.

  • Purchase Order - I need change subject E-mail

    Hi All,
    When I create an e-mail trough the transaction code ME23N and I try to send the e-mail trough the transaction code ME9F the e-mail arrives with a default subject (PROGRAM NAME + CURRENT DATE), I need change the subject according the necessity of the project.
    Can someone help me, please ?
    Thanks a lot !!!

    Hi,
    Check out what Dhruba has suggested below first, but if the program has been set up to do this instead try the following
    Go to transaction OMFE and look down the list to see which program has been allocated to the Output type and medium that you are using (probably NEU and 5 or 7? if you are using the standard oputput condition types).
    Then get your ABAP programmer to check and change the code of that program.
    Steve B

  • Purchase order of a service with account assignment to fixed asset

    We entry a service PO with asset accounting. When we select  PO in Ml81n, does not working.
    Anybody nows if there is something to configure to use in that way.?
    Thanks

    hi
    check with account assignment network and settle to WBS and then from WBS to AUC and create final asset and post the value to fixed asset

  • Assigning a Sales Order Number to a Purchase Order

    My company has a requirement that for every purchase order we need to identify what sales order was created to generate the PR.
    I have found that by using the Account Assignment C - Sales Order, this opens the "Account Assignment" Tab and the fields for Sales order, item, and schedule Line.
    I have saved the PO and now am trying to receive the parts into inventory.  When doing so, the inventory needs to post to our inventory GL account, in our case is 135075.  By NOT assigning the GL with the sales order in the PO it doesn't post to this account it posts to a different GL account.
    How do I go about using the "Sales Order" field in the purchase order so I can record which sales order the line item of the PO corresponds to, and when receiving the inventory into stock have it post to the correct GL account?
    Thanks,
    Karen

    The company I work for is a distributor, and doing a Make to Order order type would not be in the best business practice for our company.  We tend to purchase stock for multiple orders and put them in inventory to be sold.  We are looking for a way to "document" what sales order the purchase order line item is being bought for, and sometimes their our multiple lines.
    I understand what you are saying regarding posting to an stock GL vs a consumption GL.
    I am going to research further and see how we can post to a consumption GL and then move the remaining stock over to a stock GL account after we have sold what we have purchased and received.
    I was able to get the receipt posted to the GL 135075 by taking off the "post automatically" indicator in the configuration of the GL account, but this then posed problems when doing other inventory postings such as cycle counting or moving inventory.
    Thank you,
    Karen

  • How can I get the template( word rtf )  for PO – Printed Purchase Order ?

    I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
    As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
    The template code is POXPRPOL_XML.rtf
    when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
    How can I get the template( word rtf ) for PO – Printed Purchase Order ?
    Thank you,
    Biju Varghese.

    How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
    find by code or name
    open it and you can downloadtemplate by "download" button

  • 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

  • Purchase Order concurrent request printing with XML Publisher

    Need to use the standard Print Purchase Orders Report (Portrait) to print batches of purchase orders using the seeded XSL template that generates a PDF document. Used the white paper 295409.1 as a guide to create Data Definition and Template using the short name POXPRPOP, with seeded XML schema and XSL template. Changed POXPRPOP report output from text to XML.
    Report completes successfully but gives no data. The PDF is blank. Am I missing a step or is the seeded template not compatible with the POXPRPOP report?

    Did you check whether your Pasta is Setup Correctly?? check the pasta configuration required for XML Publisher there are couple of utils/libraries that need to be setup on the Concurrent Manager Node

  • Purchase order emailed or printed or faxed to vendor

    Hi Team,
    There is a requirement to have Purchase Orderu2018s emailed to the vendor ,if there is no email then it should be printed or Faxed to the vendor.
    The Purchase Order email need to be generated automatically using output determination.Where if no email address is held in SAP, the Purchase Order should be printed or faxed and sent to the vendor  (Order should be email, fax or print)
    can anyone guide me the steps for configuring the above requirement.
    Thanks

    hi..
    Message type for PO
    Go to
    SPRO- > MM -> Puchasing- > Purchase Order ->Forms for Messages ->Assign Form and Output Program for Purchase Order
    Generally for mailing its MAIL output type..
    open this and assign the programs name(if created) and form name(if created by ABAP otherwise standard program name will be there) for any particular output type which you want to use for your PO output
    here set ur communication medium..whether u want to communicate with vendor through fax, mail, or different modes are there..
    After that go to me21n. then Goto menu and messages..
    here in the output column assing your output type and ente the communication method button...assign output device there..
    It will work..
    And if you using own defind output type then you have to do lot of congig like defien message type and message determination schema....
    hope it works.
    thanks...

Maybe you are looking for

  • Can't locate Power Nap on Late 2011 Macbook air

    I've just upgraded to Moutain Lion and can't find the Power nap function anywhere. I have a new Air so I would expect to see it??? Is anyone else having this problem?

  • "Edge Feather" transform effect not showing up when exported to .avi

    I used the "Edge Feather" transform effect on a clip, and it shows up perfectly in the preview pane. However, when I export it to AVI, the effect dissapears. It's just not there and I can't figure out why? Anyone have any ideas?

  • Purchase Order - email through sap

    Hi freinds, One of our user has a requirement in ourchase Orders. She wants to send a mail for the approval of the purchase oder defined in the release stratergy, as nortification. E mail addresses can be maintained in the user level. How to identify

  • WAD report display problem

    Hi all, I previously worked with WAD using BW 3.1 login.Now the 3.1 system is down. So please let me know how to work on WAD using 3.5 system login because I couldnt see the report in the web browser.

  • Jdbcodbc connection problem

    hello, i am new boy in java technologies. i am using drive 4 to connect the database. i am using the servlets. but i am getting the error on the Http package. i have included package "javax.servlet" and "javax.servlet.http" i am getting the error on