Purchase Order XML  Report

Hi Experts,
I am customizing the Purchase Order detail Report .Here I need to add total tax details .
I found tax details are in po_distribution_all table.Here tax amount is caluculated for each and every line.
in po_distribution table we have recoverabl and nonrecovera0ble tax
i am following this
tax amount per line =recoveralbe tax + non recoverable tax
tax amount per header= sum(tax amount per line)
total amount = sum(linetotal per header) + sum(tax amount per header)
Please tell me breifly how many forumla colums or summary colums we have to take to get the output.
and
Another requirement is
while creating purchase order template
if there are so many lines per one header
then in second page i need to display the lines data with line headings also(eg:ref num, item,item description,need by date).
so for eg if there are 100 lines per one header
then
header details are displayed on first page (ship to , bill to , supplier)
line details are also displayed on first page(ref num,item, item description,need by date,amount,qty,uom)
suppose in first page first 10 lines are displayed
from second page remaing 90 lines are displayed with line hedadings(ref num,item, item description,need by date,amount,qty,uom)
and in the last page we will get footer(terms and conditions,buyer,email)
Could you please tell me how we will solve them..
Thanks
Ashok
Edited by: 886640 on Oct 27, 2011 12:16 AM

Hi Experts,
I am customizing the Purchase Order detail Report .Here I need to add total tax details .
I found tax details are in po_distribution_all table.Here tax amount is caluculated for each and every line.
in po_distribution table we have recoverabl and nonrecovera0ble tax
i am following this
tax amount per line =recoveralbe tax + non recoverable tax
tax amount per header= sum(tax amount per line)
total amount = sum(linetotal per header) + sum(tax amount per header)
Please tell me breifly how many forumla colums or summary colums we have to take to get the output.
and
Another requirement is
while creating purchase order template
if there are so many lines per one header
then in second page i need to display the lines data with line headings also(eg:ref num, item,item description,need by date).
so for eg if there are 100 lines per one header
then
header details are displayed on first page (ship to , bill to , supplier)
line details are also displayed on first page(ref num,item, item description,need by date,amount,qty,uom)
suppose in first page first 10 lines are displayed
from second page remaing 90 lines are displayed with line hedadings(ref num,item, item description,need by date,amount,qty,uom)
and in the last page we will get footer(terms and conditions,buyer,email)
Could you please tell me how we will solve them..
Thanks
Ashok
Edited by: 886640 on Oct 27, 2011 12:16 AM

Similar Messages

  • Problem with the hierarchial fields in a Purchase order xml report

    Hi,
    I am having a problem with the hierarchy problem. We are populating attribute 15 of a PO header. some times it can be null. FYI, we are using 11.5.10 instance where oracle supports direct PO template rather than having a rdf file.
    And now in the xml report, if attribute15 of po header is not null then it is fine.
    But if attribute15 is null, then the template is picking from the next available attribute15 that is from the po lines. As the line level group of "LINES" is between the "PO_DATA" (header group), hence the template is checking for next available attribute15.
    Can any one please suggest how to design the template where we can make the template to check only for that tag at the header level group rather than the line level group tag?
    Thank You in advance.
    Regards,
    Srinivas.

    Hi
    Incase you want to transfer attachements from SRM to R/3, then you try implementing the BADI in SRM side. The BADI which will help in this case is
    <b>BBP_CREATE_PO_BACK</b> BADI.
    <b>Please read the standard SAP documentation of this BADI using SE18 Transaction, before making any code changes.</b>
    <u>Few Important SAP OSS notes to refer in this case -></u>
    Note 989184 - Transferred shopping cart with internal attachments
    Note 550071 - FAQ: EBP - Shopping Cart
    Note 916347 - Transfer shopping cart with internal attachments
    Note 1001130 - FAQ - Attachment questions (Buyside)
    <u>Few useful links -></u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/49/b32640632cea01e10000000a155106/frameset.htm
    Re: Attachments to backend
    Re: Document Attachments in Shopping Cart
    Re: Attachment in SRM
    Re: SRM Documents and Attachments
    Re: Limit in Attachments of an item in Shopping Cart
    Re: return delivery text from material document is not passed to SUS
    </b>
    Do let me know, incase you face any problems.
    Regards
    - Atul

  • 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

  • Purchase Order Committments report

    Hi All
    Can anyone advise as to what reports i can run that will show me what Purchase orders have no goods delivered against it and goods partly delivered or over delivery
    against it.
    A sort of outstanding Purchase Order/Deliveries report
    Vishnu

    USe transaction ME2L or ME2M with scope of list ALLES and selection parameter open good receipt will give you the pending GR report along with partial

  • With reference to contract Purchase Order Analysis report.

    Hi,
    I need SAP Standard " With reference to contract Purchase Order Analysis report"
    Regards,
    Priya.

    Hi,
    there is no standard report to get the PO list wrf to contracts,
    but you can get through SE16 from the table EKPO, where you have to pass the contract numbers ( get through ME3L,ME3M or ME3C ) in the field KONNR,
    lakshmi reddy

  • Can we create purchase order through report programming?

    hi experts.....
    can we create purchase order through report programming?If yes plz give me the thread details?

    Hi,
    Use this code in a program by using a BAPI function module
    Anothe rway is using classical/ALV report using call transaction from a report for changing the PO
    loop at i_header.
        header-ref_1         = i_header-legacy.
        headerx-ref_1        = c_x.
        header-doc_type      = i_header-bsart.
        headerx-doc_type     = c_x.
        header-comp_code     = i_header-bukrs.
        headerx-comp_code    = c_x.
        header-purch_org     = i_header-ekorg.
        headerx-purch_org    = c_x.
        header-pur_group     = i_header-ekgrp.
        headerx-pur_group    = c_x.
        header-vendor        = i_header-lifnr.
        headerx-vendor       = c_x.
        concatenate i_header-bedat+4(4)
                    i_header-bedat+0(2)
                    i_header-bedat+2(2)
                    into header-doc_date.
        headerx-doc_date     = c_x.
        header-created_by    = i_header-ernam.
        headerx-created_by   = c_x.
        header-currency      = i_header-waers.
        headerx-currency     = c_x.
        concatenate i_header-kdatb+4(4)
                    i_header-kdatb+0(2)
                    i_header-kdatb+2(2)
                    into header-vper_start.
        headerx-vper_start   = c_x.
        loop at i_items where legacy = i_header-legacy.
          item-po_item            =  i_items-ebelp.
          itemx-po_item           =  i_items-ebelp.
          itemx-po_itemx          =  c_x.
          if i_header-bsart = 'NB'.
            item-material            =  i_items-ematn.
            itemx-material           =  c_x.
            schedule-quantity        =  i_items-menge * 1000.
            schedulex-quantity       =  c_x.
          else.
            item-short_text          = i_items-ematn.
            itemx-short_text         = c_x.
            item-matl_group          = '1000'.
            itemx-matl_group         = c_x.
            schedule-quantity        =  '1'.
            schedulex-quantity       =  c_x.
          endif.
          item-plant               =  i_items-werks.
          itemx-plant              =  c_x.
          schedule-po_item         = i_items-ebelp.
          schedule-sched_line      = '1'.
          schedulex-po_item        = i_items-ebelp.
          schedulex-sched_line     = '1'.
          schedulex-po_itemx       = c_x.
          schedulex-sched_linex    = c_x.
          concatenate  i_items-eildt+0(2)
                       i_items-eildt+2(2)
                       i_items-eildt+4(4)
                       into schedule-delivery_date.
          schedulex-delivery_date  =  c_x.
          item-price_unit          =  i_items-peinh * 100.
          itemx-price_unit         =  c_x.
          item-tax_code            =  i_items-mwskz.
          itemx-tax_code           =  c_x.
          item-shipping            =  i_items-evers.
          itemx-shipping           =  c_x.
          account-po_item          = i_items-ebelp.
          accountx-po_item         = i_items-ebelp.
          accountx-po_itemx        = c_x.
          if i_header-bsart = 'FO'.
            item-pckg_no  = sy-tabix.
            itemx-pckg_no = 'X'.
            limits-pckg_no        = sy-tabix.
            limits-limit          = i_items-overalllimit.
            limits-exp_value      = i_items-expectedoverall.
            posrvaccessvalues-pckg_no    = sy-tabix.
            posrvaccessvalues-line_no    = '0'.
            posrvaccessvalues-serno_line = '00'.
            posrvaccessvalues-percentage = '100.0'.
            posrvaccessvalues-serial_no  = '01'.
            account-serial_no     = '1'.
            accountx-serial_no    = '1'.
            accountx-serial_nox   = c_x.
            account-quantity  = '1'.
            accountx-quantity = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-kostl
              importing
                output = account-costcenter.
            accountx-costcenter   = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-sakto
              importing
                output = account-gl_account.
            accountx-gl_account   = c_x.
            item-acctasscat       = i_items-knttp.
            itemx-acctasscat      = c_x.
            item-item_cat         = i_items-epstp.
            itemx-item_cat        = c_x.
          endif.
          append:item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
          clear :item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
        endloop.
        call function 'BAPI_PO_CREATE1'
          exporting
            poheader                     = header
            poheaderx                    = headerx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
            importing
            exppurchaseorder             = ponumber
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
            tables
            return                       = return
            poitem                       = item
            poitemx                      = itemx
    *   POADDRDELIVERY               =
            poschedule                   = schedule
            poschedulex                  = schedulex
            poaccount                    = account
    *   POACCOUNTPROFITSEGMENT       =
            poaccountx                   = accountx
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
            polimits                     = limits
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
       posrvaccessvalues            = posrvaccessvalues.
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
        if ponumber eq space.
          loop at return where type = 'E'.
            clear buffer.
            move-corresponding return to e_return.
            concatenate i_header-legacy e_return into buffer.
            transfer buffer to p2_file.
          endloop.
          move-corresponding i_header to i_eheader.
          transfer i_eheader to p3_file.
          loop at i_items where legacy = i_header-legacy.
            move-corresponding i_items to i_eitems.
            transfer i_eitems to p4_file.
          endloop.
        else.
          commit work and wait.
        endif.
        clear:ponumber,header,headerx,item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
        refresh:item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
      endloop.
      close dataset p2_file.
      close dataset p3_file.
      close dataset p4_file.
    Regards
    Krishna

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Customizing Printed Purchase Order (XML) in R12

    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.

    855902 wrote:
    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.Yes..there is no xml associated with it..I have seen it even in my instance..better to log a SR with oracle to get the data template...even when you submit the program it will end up saying no data template...program will be errored out..because there is no template available to pick that
    All Parameters: P_REPORT_TYPE=R:P_AGENT_ID=:P_PO_NUM_FROM=:P_PO_NUM_TO=:P_RELEASE_NUM_FROM=:P_RELEASE_NUM_TO=:P_DATE_FROM=:P_DATE_TO=:P_APPROVED_FLAG=:P_TEST_FLAG=:P_PRINT_RELEASES=Y:P_SORTBY=:P_USER_ID=1013895:P_QTY_PRECISION=2:P_FAX_ENABLE=:P_FAX_NUM=:P_CANCEL_LINE=Y:P_BLANKET_LINES=N:DebugFlag=N
    Data Template Code: POXPRPOL_XML
    Data Template Application Short Name: PO
    Debug Flag: N
    {P_RELEASE_NUM_FROM=, P_DATE_FROM=, P_CANCEL_LINE=Y, P_FAX_NUM=, P_SORTBY=, P_RELEASE_NUM_TO=, P_PO_NUM_TO=, P_REPORT_TYPE=R, P_USER_ID=1013895, P_AGENT_ID=, P_APPROVED_FLAG=, P_PO_NUM_FROM=, P_BLANKET_LINES=N, P_TEST_FLAG=, P_FAX_ENABLE=, P_QTY_PRECISION=2, P_DATE_TO=, P_PRINT_RELEASES=Y}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    HTH
    Mahendra

  • Purchase order status report

    hi,
    can any one give an idea regarding to generate a report for purchase order status
    this report gives a list of purchase orders that are against given sales order item this report also gives the delayed status of purchase orders.
    1. user will give the sales order no: , customer , plant as input
    2. based on that input if stock is available it directly goes to production order other wise it has go to purchasing order

    Dear Anil ,
    Check for a Standard Report in SD ...
    or else , you can directly extract VBBE table for Open Orders.
    Thanks,
    Krish

  • Purchase Order Release Report

    Hi,
    Is there a report that I can run that will give me the following information with regards to Purchase Orders released: PO number, Date Entered, Username, Release Code, Release Date and Released By?
    Thank-you in advance.
    Regards,
    Tracy

    Hi,
    I think there is no such report as you have to develop the report through abap . With the useage of the tables i.e. EKKO,EKPO and few more you can have all this information..

  • Purchase Order Condition Report

    Dear all
    Can we get report for changes in Purchase Order Tax change (i.e. after saving PO initially, users modify the tax code) I want this report to check the user awareness.
    Pl help
    If I could get the report on basis of user id basis.
    Manoj

    Hi Manoj,
    As Steve said, use CDHDR / CDPOS.
    Details are as follows:
    OBJECTCLS = EINKBELEG
    OBJECTID = PO NO
    TABLE NAME = EKPO
    TABLE KEY = MANDTPONOITEM
    FNAME = MWSKZ --- Tax code Change
    CHNGID = 'U'
    Based on this you can get the new value v/s old value
    prasanna

  • Purchase Order Standard Report

    Dear Experts,
    I am new to MM module.
    I want a standard report which can display purchase order report.
    Please help me. Its important.

    Hi Charan,
    This is a forum about certificaiton. So please start a new question in the application forum, I assuem in your case you could post in SCM forum.
    B.R. Jenny

  • Purchase Order Pending Report

    Hi Experts,
    I am creating a report regarding Purchase Order Pending Details.
    I want to display only the pending order detail where as report display all the order detail.
    Please help me out how to get this report.
    Regards
    Rakesh

    HAi
    Please take reports from ME2N or ME2M .
    Under  selection parameters please select WE101. WHich will give open purchase orders where GR is not yet completed.
    Pushkala

  • Purchase order text report

    Hi All,
      I want to take report of "Purchase order text" which is stored in material master.
    Any Idea pls let me know....
    Thanks
    Hari

    Dear Hari,
    You can use BAPI_PO_GETDETAIL1 or BAPI_PO_GETDETAIL to retrieve the data in your program.Enter the PO number and tick the item text and header text indicator.
    Regards,
    w1n

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

Maybe you are looking for

  • I am having a major problem saving with keynote 6.2.

    I recently bought a new MacBook which came with Keynote 6.2 preinstalled. I can make and save presentations in it fine. But when I later go to open those presentations with the exact same Keynote program I make them in, I get an error message saying

  • Ipod classic features

    i dont have one of these yet, but im going to probably get one from my grandma for christmas, and i was wondering, does the new ipod classic 80GB have a visualizer like itunes?

  • Keep getting error when trying to use =related function in PowerPivot

    Greetings, I have created a relationship between two tables based on a common field in PowerPivot, and whenever I use the =related() function to try and bring data from a field in one table to a field in another table, I keep getting and error messag

  • Zoom following use of back button on Android

    Hi, On Android Firefox, say I an on a web page and either zoom in using double tap or pinch and then click a link on the page. Firefox displays the page. All good. If I then use the back button to return to the previous page, Firefox will not display

  • Customer material Information Record

    Dear All, Can any one tell me the table name of Customer material Information Record? Regards, Jay