R12 upgrade data in XLA tables for old purchase orders

Hi all,
I see that we have XLA tables in R12 for accounting and that is where we
have all the accounting information and they act a bridge between GL tables
and PO tables.
My question is what happens to old PO's that were created in 11i?
When we upgrade to R12 will the upgrade process create records
for old PO's in XLA tables?
Thanks.

Hi Cheryl,
     Thank you for the reply..
     It would be nice if you could illustrate with a sample code..
Thanks and Regards,
Madonna

Similar Messages

  • Table for picking PURCHASE ORDER field corresponding to accounting document

    Dear All
    Table for picking PURCHASE ORDER field corresponding to accounting document.
    Thanks
    Rahul Jain

    Dear Jayram
    I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
    Thanks
    Rahul Jain

  • Tables for sales & purchase order data relating to delivery

    hi all,
    i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also.
    i am using likp & lips table for delivery.which tables i
    should use to get the sales order data & PO data for the same delivery (likp-vbeln). i.e i need the sales & purchase order related tables which has link with delivery tables like likp & lips etc.
    plz advice me. it is very urgent.
    any idea is highly appreaciated.
    Regards
    pabitra

    in Addition to NM ,
    in case of STO there is no Sales Order , Process will be like this
    PO-->Delivery->PGI--->Billing  then u have to
    link
    *getting the History data of the PO
            select ebeln
                   ebelp
                   belnr
                   menge
                   from ekbe
                   into corresponding fields of table  w_ekbe
                   where ebeln eq w_lips-vgbel
                     and ebelp eq w_lips-vgpos
                     and bewtp eq 'L'.
    Regards
    Prabhu

  • Table for open Purchase order and pending invoices for vendors

    Hi,
    Are there any table to know open Purchase orders and pending invoices for vendors.
    Quick response will be appreciated.
    Thanks & Regards

    hi,
    Purchase Order:
    S011:(PURCH: Purch. Group Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Vendor No (LIFNR)
    S012: (PURCHIS: Purchasing Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Material No (MATNR)
    Plant (WERKS)
    Info Record Category (ESOKZ)
    Material Group (MATKL)
    Info Record (INFNR)
    Country (LAND1)
    EINE: (Purchasing Info Record: Purchasing
    Organization Data)
    Info Record (INFNR)
    Purchasing Org (EKORG)
    Info Record Type (ESOKZ)
    Plant (WEKS)
    EKET: (Delivery Schedules)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Delivery Schedule (ETENR)
    EKPO: (Purchasing Document Item)
    Purchasing Doc (EBELN)
    Item (EBELP)
    EKKN: (Account Assignment in Purchasing
    Document)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Account Assignment (ZEKKN)
    EKKO: (Purchasing Document Header)
    Purchasing Doc (EBELN)
    EORD: (Purchasing Source List)
    Material No (MATNR)
    Plant (WERKS)
    Source List No (ZEORD)
    thx,
    Ganpat

  • To get the table for the purchase order , Completely delivered

    Hi Experts,
    I need to find a table for a given purchase order no . EKKO-EBLEN ,
    which shows the status of the purchase orde is completely delivered or completely invoiced.
    I tried finding using the F1 help and the where used list, but couldnt..
    Thanks in advance ,
    Harshit Rungta

    in EKPO, check for each item
    - ELIKZ "Delivery completed" indicator
    - EREKZ "Final invoice indicator"
    Regards,
    Raymond

  • 11i to R12 Upgrade- Doubt in XLA tables

    Hi All,
         I am migrating the 11i AP reports to R12..
         In the below query I have commented the obselete and changed 11i columns & tables , but I wasnt able to find the alternate column in WHERE clause for 2 columns in xla_ae_lines and 1 in xla_ae_headers.
         I have marked the ones for which I didn't find the alternate column in red
    SELECT  c.check_id,
            to_char(c.check_number) check_num ,
            i.invoice_id,
            i.invoice_num,
            c.amount,
            ael.accounted_dr accounted_dr,
            ael.entered_dr entered_dr,
            &p_flexdata4 c_flexdata4,
            aeh.accounting_date check_date,
            c.doc_sequence_value voucher_number,
            --ael.ae_line_type_code acct_line_type,
            ael.accounting_class_code acct_line_type,
            l3.displayed_field acct_line_type_name,
            ael.code_combination_id code_combination_id,
            ael.description comments ,
            v.segment1 vendor_num,
            v.vendor_name vendor_name,
            vs.vendor_site_code third_party_sub_name,
            c.check_date trx_date ,
            c.check_number trx_number_n,
            c.bank_account_name bank_account_name,
            abb.bank_name,
            aba.bank_account_num
    FROM 
          --ap_bank_accounts_all aba,
          --ap_bank_branches abb,
          ce_bank_accounts aba,
          ce_bank_branches_v abb,
          ap_invoice_distributions_all d,
          ap_invoices_all i,
          ap_invoice_payments_all p,
          ap_checks_all c,
          --ap_accounting_events_all ae,
          --ap_ae_headers_all aeh,
          --ap_ae_lines_all ael,
          xla_events ae,
          xla_ae_headers aeh,
          xla_ae_lines ael,
          xla_transaction_entities xte,
          ce_statement_lines sl,
          --ce_statement_headers_all sh,
          ce_statement_headers sh,
          ce_statement_reconcils_all csr,
          --po_vendor_sites_all vs,
          --po_vendors v,
          --ap_tax_codes AT,
          ap_supplier_sites_all vs,
          ap_suppliers v,
          zx_lines zl,
          rcv_shipment_headers rsh,
          po_releases_all pr,
          po_headers_all ph,
          po_distributions_all pd,
          rcv_transactions rct,
          gl_je_categories jc,
          gl_daily_conversion_types glct,
          fnd_document_sequences fd,
          fnd_document_sequences fd2,
          ap_lookup_codes l1,
          ap_lookup_codes l2 ,
          ap_lookup_codes l3 ,
          ap_lookup_codes l4 ,
          ap_lookup_codes l5 ,
          ap_lookup_codes l6,
          ap_lookup_codes l7,
          ap_lookup_codes l8 ,
          ap_lookup_codes l9 ,
          ap_lookup_codes l10 ,
          ap_lookup_codes l11 ,
          ap_lookup_codes l12,
          ap_lookup_codes l13,
          gl_code_combinations gcc1
    WHERE c.bank_account_id =aba.bank_account_id
          --AND aba.bank_branch_id =abb.bank_branch_id
          AND aba.bank_branch_id =abb.branch_party_id
          AND ael.code_combination_id =gcc1.code_combination_id(+)
          AND l1.lookup_code = c.payment_method_lookup_code
          AND l1.lookup_type = 'PAYMENT METHOD'
          AND l2.lookup_code(+) = d.line_type_lookup_code
          AND l2.lookup_type(+) = 'INVOICE DISTRIBUTION TYPE'
          --AND l3.lookup_code = ael.ae_line_type_code
          AND l3.lookup_code = ael.accounting_class_code
          AND l3.lookup_type = 'AE LINE TYPE'
          --AND l4.lookup_code = aeh.gl_transfer_flag
          AND l4.lookup_code = aeh.gl_transfer_status_code
          AND l4.lookup_type = 'POSTING STATUS'
          AND l5.lookup_code = ae.event_type_code
          AND l5.lookup_type = 'EVENT TYPE'
    --AND l6.lookup_code(+) = aeh.accounting_error_code
          AND l6.lookup_type(+) = 'ACCOUNTING ERROR TYPE'
    --AND l7.lookup_code(+) = ael.accounting_error_code
          AND l7.lookup_type(+) = 'ACCOUNTING ERROR TYPE'
          AND l8.lookup_code = 'Payments'
          AND l8.lookup_type = 'POSTING CATEGORY'
    --AND l9.lookup_code(+) = ael.gl_transfer_error_code
          AND l9.lookup_type(+) = 'POSTING EXCEPTIONS'
          AND l10.lookup_code = 'EVENT'
          AND l10.lookup_type = 'VIEW_ACCOUNTING'
          AND l11.lookup_code = 'LINE'
          AND l11.lookup_type = 'VIEW_ACCOUNTING'
          AND l12.lookup_code = 'APPLIED_TO'
          AND l12.lookup_type = 'VIEW_ACCOUNTING'
          AND l13.lookup_code = 'BANK_STATEMENT'
          AND l13.lookup_type = 'VIEW_ACCOUNTING'
          --AND AT.tax_id(+) = ael.tax_code_id
          AND i.invoice_id = zl.trx_id(+)
          AND zl.entity_code = 'AP_INVOICES'
          --AND jc.je_category_name = aeh.ae_category
          AND jc.je_category_name = aeh.je_category_name
          AND rsh.shipment_header_id = rct.shipment_header_id
          AND d.rcv_transaction_id = rct.transaction_id
          AND pr.po_release_id(+) = pd.po_release_id
          AND ph.po_header_id(+) = pd.po_header_id
          AND pd.po_distribution_id(+) = d.po_distribution_id
          AND ael.currency_conversion_type = glct.conversion_type(+)
          AND c.doc_sequence_id = fd.doc_sequence_id
          AND sh.doc_sequence_id = fd2.doc_sequence_id
          --AND ael.third_party_sub_id = vs.vendor_site_id
          --AND ael.third_party_id = v.vendor_id
          AND ael.party_site_id = vs.vendor_site_id
          AND ael.party_id = v.vendor_id
          AND i.invoice_id(+) = p.invoice_id
          --AND c.check_id = ae.source_id
          --AND ae.source_table = 'AP_CHECKS'
          --AND ae.accounting_event_id = aeh.accounting_event_id
          --AND aeh.ae_header_id = ael.ae_header_id
          AND i.invoice_id = xte.source_id_int_1
          AND xte.entity_code = 'AP_CHECKS'
          AND aeh.ae_header_id = ael.ae_header_id
          AND aeh.application_id = ael.application_id
          AND aeh.event_id=ae.event_id
          AND aeh.application_id = ae.application_id
          AND ae.entity_id=xte.entity_id
          AND ae.application_id = xte.application_id
          AND sl.statement_header_id = sh.statement_header_id(+)
          AND csr.statement_line_id = sl.statement_line_id(+)
          AND c.check_id = csr.reference_id(+)
          AND csr.reference_type = 'PAYMENT'
          AND csr.current_record_flag(+) = 'Y'
          AND decode(ael.source_table,'AP_INVOICE_PAYMENTS', ael.source_id,NULL) = p.invoice_payment_id(+)
          AND decode(ael.source_table,'AP_INVOICE_DISTRIBUTIONS', ael.source_id,NULL) = d.invoice_distribution_id(+)
          AND ael.accounted_dr IS NOT NULL
          AND (v.segment1 = :p_vendor_code
          OR :p_vendor_code IS NULL)
          AND (v.vendor_name = :p_vendor_name
          OR :p_vendor_name IS NULL)
          AND (abb.bank_name = :p_bank_name
          OR :p_bank_name IS NULL)
          AND (c.currency_code = :p_currency
          OR :p_currency IS NULL)
          AND (c.doc_sequence_value = :p_doc_sequence_value
          OR :p_doc_sequence_value IS NULL)
          AND (i.pay_group_lookup_code = :p_paygroup
          OR :p_paygroup IS NULL)
          AND ( c.check_date IS NULL
          OR trunc(c.check_date) = nvl(:p_payment_date, trunc(c.check_date)))
    Thanks and Regards,
    Madonna

    Hi Cheryl,
         Thank you for the reply..
         It would be nice if you could illustrate with a sample code..
    Thanks and Regards,
    Madonna

  • Add restriction while create item by "Old Purchase Orders and Templates"

    We are consider to add restriction while create shopping cart item by "Old Purchase Orders and Templates".  After implement such restriction, create item by copying old shopping cart item is not allow for particular matereial group number.
    Is there any BADI can be used in our case?  If there is no, could modify HTML template the only solution?
    Regards,
    Donald

    Hi,
    If the restriction is for certain group of people,then you  have 2 options:
    1.Make the link invisible for those group of people by implementing the BADI BBP_SC_MODIFY_UI.In the BADI,first check the user attributes like particular role and based on that make the link invisible.
    2. Assign certain role to the  group of users who should not see the link "Old Purchase order and templates".You can hide this link in the MENU by removing this from the lits of trasctions in that particular role.In PFCG,go in that role and then under MENU tab,remove the entry for "OLD PURCHASE ORDER AND TEMPLATES".
    BR,
    Disha.
    Do reward points for useful answers.

  • How do we use Data rules/error table for source validation?

    How do we use Data rules/error table for source validation?
    We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    I reviewed the posting
    Re: Using Data Rules
    Thanks for this forum.
    I want to apply data rules to source table/view and rule violated rows should go to defined error table. Here is an example.
    Table ProjectA
    Pro_ID Number(10)
    Project_name Varchar(50)
    Pro_date Date
    As per above posting, I created the table in object editor, created the data rule
    NAME_NOT_NULL (ie project name not null). I specified the shadow table name as ProjectA_ERR
    In mapping editor, I have projectA as source. I did not find error table name and defined data rules in table properties. It is not showing up the ERR group in source table
    How do we bring the defined data rules and error table into mapping?
    Are there any additional steps/process?
    Any idea ?
    Thanks in advance.
    RI

    Hi,
    Thanks for your reply/pointer. I reviewed the blog. It is interesting.
    What is the version of OWB used in this blog?
    After defining data rule/shadow table, I deployed the table via CC. It created a error table and created the all the source coulmns in alphabatical order. If I have the primary key as 1st coulmn (which does not start with 'A') in my source, it will apprear middle of of columns in error table.
    How do we prevent/workaround this?
    If I have source(view) in sch A, how do we create Error table in Sch B for source(view)?
    Is it feasible?
    I brought the error table details in mapping. Configured the data rules/error tables.
    If I picked up 'MOVE TO ERROR' option, I am getting "VLD-2802 Missing delete matching criteria in table. the condition is needed because the operator contain at least one data rule with a MOVE TO ERROR action"
    On condition Loading - I have 'All constraints' for matching criteria.
    I changed to "no constraints' still I get the above error.
    If I change to 'REPORT' option instead of 'MOVE TO ERROR' option, error goes off.
    Any idea?
    Thanks in advance.
    RI

  • Data Migration for Open Purchase Order

    Hi, All,
    Is there anyone know how to Count the volume for Open Purchase Order. What's the normal strategy for the Data Migration and Cut-over stage?
    My client want to know how many Open Purchase Order in the legacy system and then determine manual or automatic data migration. If manual, how to do? If automatic, how to do? Because all materials and vendors, plants are different number. How to track? How to find out to match between new and old?
    Thank you very much

    JC,
    Sounds a bit early to be making decisions about the realization phase.  It doesn't sound like you have finished the Blueprinting phase yet, much less the testing phase.
    Anyhow, in my experience I typically use LSMW (Legacy system migration workbench) to load MM master data (material masters), Inventory (WIP, RM, FG, etc) Purchasing Master data (Vendors, Purchase Info Records, Source Lists, Quota Arrangements), and Purchasing transactional documents (POs, PurReqs, Scheduling Agreements, etc).  Depending on the complexity and volume of data, it  may be necessary to write custom programs to load the data.  You will find this out during your requirements gathering.
    It is uncommon but possible to load all of these data manually.  I have never run across a client that wants to pay a consultant's hourly rate to sit at a terminal to peck away loading master data, so if the client intends to have his own users enter the data manually, the project manager should make provision that there will be qualified TRAINED client employees available for this data entry.  I did help with a portion of a conversion once manually; of Sales Credits, but there were only about 30 SD docs to load.   I did this the evening before go-live day, while I was waiting for some of my LSMW projects to complete in the background.
    A good opportunity to 'practice' your data loads is right after you have completed your development and customization, and you have gotten the approval from the client to proceed from the pilot build to the full test environment.  Once you have moved your workbench and customization into the client's test environment, but before integration testing, you can mass load all, or a substantial portion of your conversion data into the qual system.  You can treat it like a dry run for go-live, and fine tune your processes, as well as your LSMW projects.
    Yes, it is good practice to generate comparisons between legacy and SAP even if the client doesn't ask for it. For Purchase orders on the SAP side, you could use any of the standard SAP Purchasing reports, such as ME2W, ME2M, ME2C, ME2L, ME2N.  If these reports do not meet the requirements of the client, you could write a query to display the loaded data, or have an ABAPer write a custom report.
    You didn't ask, but you should also do comparisons of ALL loaded data - including master data.
    It sounds like you are implying that the client wants YOU to extract the legacy data.  For an SAP consultant, this is not very realistic (unless the legacy system is another SAP system).  Most of us do not understand the workings of the myriad legacy systems.  The client is usually expected to produce one or more legacy system technical experts for you to liase with.  You normally negotiate with the technical expert about every facet of of the data migration.  In addition, you will liase with business users, who will help you and the implementation team to logically validate that the final solution (turnkey SAP production system, fully loaded with data) will meet the client's business needs.
    Finally, you mentioned how do you track the mapping of master data between legacy and SAP.  There are many ways to do this.  I normally try to get the legacy person do the conversion on his end, eg, when he gives you the load file, you would like to have already translated the master data and inserted the SAP relevant values into the file.  If this is not possible, I usually use MS Access databases to maintain a master map, and I perform the mapping on a PC.  If your data package is small, you can probably get by using MS Excel or similar.
    Good Luck,
    DB49

  • Report of expiry dates for framework purchase orders

    Hi,
    In Standard SAP is there any report of expiry dates for framework purchase orders?
    Thanks & Br,
    Sandeep

    Hi
    There is no standard report available to display the expiry dates for frame work orders.You can get the details from table EKKO and field is KDATE or U have to go for development.
    regards
    Ramakrishna

  • Billing date for a purchase order in the corresponding billing document

    Hello,
    for a purchase order I need to select the billing date in the bill which corresponds to the purchase order. There is a posting date in the order history but I am not sure that this date is identical with the billing date in the purchase order. Any suggestions? Thanks.
    Regards, Lars.

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • SAP Tables  for Open Customer Orders and Sales History

    Dear Experts.
    I am looking to get SAP SD related tables for the following,
    1) SAP tables for Open Customer Orders     
    From SAP, I need to get all tables that Contain all open customer orders for products.
    2) Sales History
    From SAP, I need to get all tables that contain the previous month's sales history (shipped customer orders).
    Please Help!!

    hi
    check the following link
    http://www.erpgenie.com/abap/tables_sd.htm
    hope it will help you
    regards,
    sreelatha gullapalli

  • Tables for Confirmation Production Order.

    Hi Friends!
    we want to be find Tables for Confirmation Production Order[PP].
    reply,
    Rahul

    Hi Rahul,
    MAST     Material BOM
    STKO     BOM Header
    STPO     BOM Positions (detail)
    MAPL     Assignment fo Task Lists to Materials
    PLKO     Routing Group Header
    PLSO     Routing Group Sequence
    PLPO     Routing Group Operations
    AFKO     Production Order Header
    AFPO     Production Order Position (details)
    Thanks,
    Reward If Helpful.

  • Tables for VAT or CST and RATE OF TAX for a PURCHASE ORDER

    i am developing a report(abap ALV)
    i need to display the VAT or CST and RATE OF TAX for a PURCHASE ORDER that has been posted .
    which tables to refer?

    hi kumar gaurav
    Check KONV table..
    based on Condition TYpe you can get...
    Regards
    Deva

  • Table to show thw invoice for a purchase order

    In which table we can see the invoice for a purchase order?Or in which t code.

    Hi,
    Go to table EKBE in SE16/ SE16N and give the PO number and value "2 (Invoice receipt)" in the filed "Transaction/event type, purchase order history"
    Regards,
    SDNer

Maybe you are looking for

  • Vmotion redundancy across subnets.

    Hi, I'm fairly new to the UCS/VMWare world.  Another tech in my department who is mainly responsible for our VM infrastructure is doing some work with Vmotion and trying to set up some high availability failover for our VM's. What we'd like to do is

  • Why can't I download from my GO PRO sd card using the lightening connector?

    I bought the lightening SD card adapter thinking I could use my iPad to store films and still pics from my GoPro Hero 3 SD card to fr space when on holiday.... When I plug it in with the SD card from my normal camera it works fine but when I use the

  • Is there a Leopard Icon for your hard drive?

    I'd love to customize my drive (cmd + i) with a nifty Leopard icon. Didn't find one by Googling. Can anyone point me to one?

  • HT1369 can i locate my lost 3g iphone with my computer?

    i lost my phone in my house. i dont have a locator app on my phone. is there something i can do from my laptop to find it?

  • Flash Player 10.1 and other suggestions

    First off, I want to say thanks to Adobe and the Browserlab team. I understand a lot of people won't appreciate the service, but I have used a number of services in the past and can appreciate the challenges and issues of what Adobe is trying to do.