R12 AP Trial Balance definition cod

Hi all,
We are trying create a New/Copied definition as follow :
Payables Responsibility > Setup > Accounting Setups > Subledger Accounting
Setups > Open Account Balances Listing Definitions
Query the Report Definition Code
Note: To search for Report Definitions created by the upgrade, select Defined By = Accounting Flexfield.
And upgraded report definitions are created by the apintbal.sql script during the upgrade with a definition code in the following format: AP_200_' || T.ledger_id
When I am searching the definition code in the following format : AP_200_' || T.ledger_id which is AP_200_2021. I am not getting any results. The message was no record found.
SELECT * 2 FROM XLA_TB_DEFINITIONS_B;
DEFINITION_CODE OBJECT_VERSION_NUMBER LEDGER_ID E BALANCE_SIDE_CODE DEFINED_BY_CODE DEFINITION_STATUS_CODE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_D OWNER_CODE
PH_OPEN_BALANCES 1 2021 Y C SEGMENT CHANGED 22-02-2008 09:32 1130 22-02-2008 09:32 1130 46722 C
1 row selected.
Any idea?
Thanks,
Miguel.

Hi Ramana
Although the account code combination will be different but the natual account for liability will be fixed. As such the best option is to define by segment and not by accounting flexfield. So you select the type as Segment and select the segment as natural account. Then specify the liability accounts for which the trial balance is required.
In case if at any point in time, a new natural account for liability is added to your chart of account segment value, then you need to come back to the defintion and update the same. Then rebuild the trial balance. But these scenarios are very rare to occur.
Hope this helps.
Thanks
Vinit

Similar Messages

  • SRKIM: R12: Accounts Payable Trial Balance issue troubleshoot

    Purpose
    R12 에서 AP Trial Balance Report 확인 시 데이터가 비정상적일 경우 check 해야 하는 내용에 대해 확인 해 보도록 한다.
    Question
    R12 에서 invoice 생성 후 gl 로 transfer 하였으나 ap trial balance report 의 데이터가 비정상적인 것으로 확인 된다.
    어떤 내용을 확인 해야 하는가.
    Answer
    1. APList Diagnostics Script 을 해당 invoice 에 대해 수행 하여 아래의 내용을 확인한다.
    - Accounting 이 생성되어 gl로 모두 transfer 되었는지 여부.
    - Accounting Date 가 Trial Balance Report 의 start date 와 as of date 안에 포함 되는지 여부
    2.위의 내용에 문제가 없다면 아래 sql 로 데이터를 확인 해 보도록 한다.
    select *
    from xla_trial_balances
    where source_entity_id in (
    select entity_id
    from xla.xla_transaction_entities xte
    where application_id = 200
    and (
    (entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
    OR
    applied_to_entity_id in (
    select entity_id
    from xla.xla_transaction_entities xte
    where application_id = 200
    and (
    (entity_code = 'AP_INVOICES' and source_id_int_1 in (&invoice_id))
    3.GL 에 실제 해당 데이터가 존재 하는지 아래 sql 로 확인 해 보도록 한다.
    SELECT distinct aeh.*
    FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
    ael,
    XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
    WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
    and gjh.je_batch_id= gjb.je_batch_id
    and gjl.je_header_id = gjh.je_header_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    AND gir.gl_sl_link_table in ('XLAJEL')
    and ael.gl_sl_link_table in ('XLAJEL')
    AND aea.application_id = 200
    AND aea.event_id = aeh.event_id
    AND aeh.ae_header_id = ael.ae_header_id
    AND gjb.je_batch_id = gir.je_batch_id
    and xte.application_id = 200
    and xte.entity_id = aea.entity_id
    and gjh.je_header_id = gir.je_header_id
    and gjh.je_source = 'Payables'
    and (
    (xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
    OR
    (xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
    SELECT distinct gjl.*
    FROM gl_je_lines gjl, GL_IMPORT_REFERENCES gir, gl_je_headers gjh, GL_JE_BATCHES gjb, XLA_AE_LINES
    ael,
    XLA_AE_HEADERS aeh, XLA_EVENTS aea, xla.xla_transaction_entities xte
    WHERE ael.gl_sl_link_id = gir.gl_sl_link_id
    and gjh.je_batch_id= gjb.je_batch_id
    and gjl.je_header_id = gjh.je_header_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    AND gir.gl_sl_link_table in ('XLAJEL')
    and ael.gl_sl_link_table in ('XLAJEL')
    AND aea.application_id = 200
    AND aea.event_id = aeh.event_id
    AND aeh.ae_header_id = ael.ae_header_id
    AND gjb.je_batch_id = gir.je_batch_id
    and xte.application_id = 200
    and xte.entity_id = aea.entity_id
    and gjh.je_header_id = gir.je_header_id
    and gjh.je_source = 'Payables'
    and (
    (xte.entity_code = 'AP_PAYMENTS' and xte.source_id_int_1 = &check_id)
    OR
    (xte.entity_code = 'AP_INVOICES' and xte.source_id_int_1 = &invoice_id)
    4.위의 sql 을 통해 Trial Balance Table 의 데이타가 잘 못 생성 되었음이 확인 되면 해당 Trial balance table 의 데이타를 recreate 하는 작업을 수행 해야 한다.
    Reference
    Note. 553484.1 - THE R12 ACCOUNTS PAYABLE TRIAL BALANCE DATA IS
    INCORRECT/WRONG

    Follow the below steps and Run the Trial Blance and let me know if it helps.
    Thanks
    Girish
    How to Rebuild Trial Balance Data (repopulate XLA_TRIAL_BALANCES)
    1. Navigate: Payables Responsibility > Setup > Accounting Setups > Subledger Accounting Setups > Open Account Balances Listing Definitions
    2. Query up your Report Definition: select Defined By = Accounting Flexfield or Segment (whichever applies in your case), click “Go”
    3. Click on Update icon in the "Actions" column – the definition's update page opens.
    4. "Touch" the definition by simply clicking "Apply" button (without making any change).
    This should start the “Open Account Balances Data Manager” concurrent processes

  • Customize AP Trial Balance Report in R12.1.3

    Hi
    I have to customize AP Trial Balance Report in R12 Version 12.1.3.
    Can any one please provide some pointers how do we do it?
    Here is some background for AP Trial Balance Report:
    Its an XML Publisher Report with XDODTEXE Executable. XLAAPRPT.xml is the file uploaded to data definition(Code: APTBRPT) for Accounts Payable Trial Balance . XML template XDODTEXE calls oracle’ s seeded XML template “XLAAPRPT.xml ", this template further calls package XLA_TB_AP_REPORT_PVT for Trial balance.
    Our customiztion has to populate trial balance data in to our custom table instead of global temp table . XLA_TB_AP_REPORT_PVT package has a private procedure populate_trial_balance_gt which populates trial balance data into xla_trial_balances_GT.
    Please provide some ideas for customization of standard XML publisher reports in R12.1.3.
    Any ideas are appreciated.
    Thanks
    Theja R

    Hi Vamsi,
    I've recreated the standard oracle Trial balance package & XML file . Now i'm able to populate the data into custom table as well as standard table . But the report out doesn't show data in it . it just shows report title, columns bUT NO DATA. the xml file itself doesnt contain data. The custom report completes in 2 mins. But standard report completes in 7 mins
    Steps
    1. Create custom package similar to oracle standard package & added new insert statement to populate trial balance data into custom table.
    2. created new datadefinition with new datatemplate(refering custom package) similar to oracle standard datatemplate.
    3. create template same as standard template.
    4. copy of standard conc program with custom application
    5. Ran the report ...able to populate data into custom table .....but unable to see data in the report.
    Please let me know if i'm missing anythng.

  • AP Trial Balance R12

    Hi,
    We are using Automatic Offset option set to Natural Account.
    In R12 for AP Trial balance open balances template definition we need to give the liability account combinations. But, when we are using Automatic Offset we will be using new natural accounts every time. So, will these new Combinations will be automatically added to Open balances template or we need to add it manually.
    Or will these new account combinations will appear on Trial balance by default.
    Thank You,
    Ramana.

    Hi Ramana
    Although the account code combination will be different but the natual account for liability will be fixed. As such the best option is to define by segment and not by accounting flexfield. So you select the type as Segment and select the segment as natural account. Then specify the liability accounts for which the trial balance is required.
    In case if at any point in time, a new natural account for liability is added to your chart of account segment value, then you need to come back to the defintion and update the same. Then rebuild the trial balance. But these scenarios are very rare to occur.
    Hope this helps.
    Thanks
    Vinit

  • Customize AP Trial Balance XML Data Definition for adding Aging Buckets

    Hi
    I have to customize AP Trial Balance Report XML Data Definition Template for adding Aging Buckets & Supplier details in R12 , Could you let me know how i can modify XML file?
    Thanks
    Pravin

    Hi,
    My requirement is different from the one which is in below link.
    I need to add Aging Buckets & Supplier details to AP Trial Balance report (R12) , here i need to modify the XML Data definition template.
    Please help me, very urgent.
    Thanks
    Pravin

  • R12 Trial Balance

    Hello All,
    I am trying to customize/recreate the trial balance insert statement in the XLA_TB-AP_REPORT_PVT package (R12.1.3). However, I am not able to figure out how the insert statement is constructed in the package (frankly not able to locate where it is).
    Can any one help me find it?
    Cheers,
    Monkey

    I ran the "Accounts Payable Trial Balance" detail report with the layout as: "Accounts Payable Trial Balance - Group by Account". The request completed ok...but there is no output file. Any one know why it does not produce an out put? In the log it says, that it inserted 1794278 rows in the GT table. However, when I look in the table xla_trial_balances_gt, it is empty)
    Pls. help. Totally lost
    Thanks,
    Monkey
    Edited by: OAF_Monkey on Feb 15, 2012 11:26 AM

  • AP Subledger Trial Balance query in R12

    I have to display below columns in the output(AP Subledger Trial Balance) in R12:
    GL_CODE_COMBINATIONS(Segment1,segment3,segment4)
    GL_PERIODS(END_DATE)
    XLA_TRIAL_BALANCES(remaining amount)
    I have written a sql query but i need to satisfy below conditions in the below query. I am facing issues with the joins.can any one please help me to solve issue.
      ‘Accounting Period’ parameter needs to be added in the below query.
    The sql query will generate the AP subledger balance data for the particular operating unit from where the report is run.
    The report will give ‘at point in time’ data for the entire period for which the extract is run.
    Example:
    When the report is run on 01-Jul-2014 for the period ‘JUL-14′, then the report will extract all the data for JUL-14 at that point in time , i.e. the sysdate would be considered
    SELECT gcc.segment1,
    gcc.segment3,
    gcc.segment4,
    tb1.diff remaining_amount,
    glp.end_date –join condition required
    FROM gl_code_combinations gcc,
    gl_periods glp,
    (SELECT tb.code_combination_id,tb.ledger_id,
    SUM (NVL (tb.acctd_rounded_cr, 0)),
    SUM (NVL (tb.acctd_rounded_dr, 0)),
    SUM (NVL (tb.acctd_rounded_cr, 0))
    – SUM (NVL (tb.acctd_rounded_dr, 0)) diff,
    tb.gl_date
    FROM xla_trial_balances tb
    WHERE tb.definition_code IN(‘XX_US’,’XX_CA’)
    AND TRUNC(tb.gl_date) <= TRUNC(SYSDATE) –TO_DATE ('1-JUN-2014')
    GROUP BY tb.code_combination_id,
    tb.gl_date,tb.ledger_id
    HAVING SUM (NVL (tb.acctd_rounded_cr, 0))
    SUM (NVL (tb.acctd_rounded_dr, 0))) tb1
    WHERE tb1.code_combination_id = gcc.code_combination_id
    –Join condition required for gl_periods table to display end_date column.
    –org_id and period_name parameters are required

    Hi Vamsi,
    I've recreated the standard oracle Trial balance package & XML file . Now i'm able to populate the data into custom table as well as standard table . But the report out doesn't show data in it . it just shows report title, columns bUT NO DATA. the xml file itself doesnt contain data. The custom report completes in 2 mins. But standard report completes in 7 mins
    Steps
    1. Create custom package similar to oracle standard package & added new insert statement to populate trial balance data into custom table.
    2. created new datadefinition with new datatemplate(refering custom package) similar to oracle standard datatemplate.
    3. create template same as standard template.
    4. copy of standard conc program with custom application
    5. Ran the report ...able to populate data into custom table .....but unable to see data in the report.
    Please let me know if i'm missing anythng.

  • RTF Template for AP Trial Balance Report   in R12

    Hi
    when i opened AP Trial Balance RTF Template (word doc) i see only the below statement & when i double clicked & open Form text field i see the Tag
    <?call-template:XLAAPRPT06?> Any idea where the actual template is stored? since i have to build new one i need to look at it for reference.
    Import Template XLAAPRPT06Call Template XLAAPRPT06
    Thanks
    Pravin

    You can navigate to 'Xml Publisher Administrator' responsibility --> Templates
    Give the code as 'XLAAPRPT06' and then 'Go'
    You will get a template, from where you can download the RTF document - XLAAPRPT06.rtf
    I've checked that the template is complete.
    Alternatively, you can read it from -
    select * -- file_date
    from apps.xdo_lobs
    where LOB_CODE = (select data_source_code
    from apps.xdo_templates_b
    where template_code = 'XLAAPRPT06');cheers,
    VB
    Edited by: VB on Oct 5, 2011 3:19 PM

  • F.01 - Trial balance for multiple company codes

    Hello SAP gurus,
    I am trying to use transaction F.01 to generate trial balance for multiple company codes. My ideal output is as follow:
    Company Code     GL account     Amount
    AAAA                  10000             200,000
    AAAA                  10001             100,000
    BBBB                  10000             500,000
    BBBB                  10001             300,000
    However, when I tried to run the report in ALV format, the report aggregate the total by GL accounts which is not what I want (see below).
    Company Code     GL account     Amount
    '****                      10000             700,000
    '****                      10001             400,000
    Do you know if it is possible to generate a trial balance broken down by company code and GL accounts in ALV format? If yes, how do I do that?
    Thanks,
    Cassandra Wong

    In the initial screen of F.01, if you select radio button 'ALV grid control' and select the layout as '1SAP' and execute, you will see the button Expand (Ctrl+F2) in the report - it is adjacent to the blue information button - you will see a + sign and the words 'Company Code' on that button.  Even if you are not able to locate the button, just press CtrlF2 on your keyboard, the list will expand.  You may not have company code in the layout - you can change it using the 'Change Layout (CtrlF8)' button and then by bringing 'Company Code' field from the Hidden Columns on the right to the Displayed Columns on the left.

  • R12(Payments)--Accounts Payable Trial Balance Report, Need Info.

    Hi All,
    We are trying to use the report Accounts Payable Trial Balance Report.
    This is an XML Report in R12 now and has 4 different RTF Templates.
    Can you please explain me how this report can be used in R12 and how does it selects the RTF template( from 4 different templates present) at run time.?
    Thanks,

    Hi,
    In 11i we use to have a parameter to give the report in Summary or Detail
    In R12 we have 4 options in templates to have Summary by Account, Summary by Supplier, Detail by Account and Detail by Supplier.
    Report will not select the template automatically. The user needs to select the template before submitting the report.
    Hope it helps
    Regards,
    Sridhar

  • R12 Accounts Payable Trial balance is reporting incorrectly (urgent)

    the trial balance is reporting penny amounts on invoices that are fully paid how do I correct this issue

    Follow the below steps and Run the Trial Blance and let me know if it helps.
    Thanks
    Girish
    How to Rebuild Trial Balance Data (repopulate XLA_TRIAL_BALANCES)
    1. Navigate: Payables Responsibility > Setup > Accounting Setups > Subledger Accounting Setups > Open Account Balances Listing Definitions
    2. Query up your Report Definition: select Defined By = Accounting Flexfield or Segment (whichever applies in your case), click “Go”
    3. Click on Update icon in the "Actions" column – the definition's update page opens.
    4. "Touch" the definition by simply clicking "Apply" button (without making any change).
    This should start the “Open Account Balances Data Manager” concurrent processes

  • One trial balance out of two company codes

    Our clinet has two company codes in legacy system, now we are implimenting SAP.
    In legacy system, company codes are combined into one overall trail balance. Once in SAP they will there be two separate LEu2019s. Will they be required to apply transfer pricing methodology for intercompany movements between themselves ?.
    Please advise how to configure this?
    How to have a one trial balance out of two company codes?

    Please note you have a few questions - I would recommend a single post per question to make it easier for others to answer.
    Please note - people will not share config guides or notes so you may want to ask a particular question around transfer pricing.
    If you have 2 Company Codes in ERP 6, that have the same controlling Area, FSV you can produce trial balances for more than one company code by activating the new GL.
    It seems your client is new to SAP, therefore the new GL will be activated as standard. The standard transaction F.01 allows for a single trial balance for 2 company codes, that have the same CoA, Controlling Area and currency.

  • Trial Balance with specific transaction code

    Hi all,
    I want to print the trial balance showing balances of all the GL after considering only choosen (specific) transaction code.
    Please help..
    Thanks
    Sanjeev

    Hi Sanjeev,
    Use Transaction Code F.08 for Trial Balance or "G/L Account Balances"
    The G/L account balance list shows the following monthly figures:
    o   balance carried forward at the beginning of the fiscal year
    o   total of the period or periods carried forward
    o   debit total of the reporting period
    o   credit total of the reporting period
    o   debit balances or credit balances at the close of the reporting period
    Assign point if useful
    Regards
    Sandeep Acharya

  • Missing last GL account code in system Trial Balance report

    Hi,
    Customer is using 2005A PL23. They are using standard Trial Balance report in system to display Trial balance. Example, there is 10 GL account codes display on screen but when print preview, the report only show 9 GL account codes instead of 10.
    May I know what went wrong? They are using standard Trial Balance(system) PLD without doing any amendment.
    Regards
    Thomas

    Hello,
    this has been an issue in the past, but it has been fixed in newer patches/versions.
    The issue occurs when you have chosen 'hide titles' for your trial balance. If you cannot upgrade shortly, please contact SAP Business One Support, as there is a workaround available that I wrote about nearly 2 years ago. You will need to log a message under the SBO-GEN-PLD component, and ask the processors to use the keywords 'hide titles total row' to search for my workaround.
    Kind regards,
    Sonja

  • What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?

    Hi Guys,
    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?
    I have to write an AP Invoice Aging Report in Discoverer to show all unpaid invoices that have been transferred into GL... Business wants it to match one-to-one with the AP Trial Balance standard report...
    Business wants to run the report for any date in a past...
    The report has two parameters:
    As Of Date - the same as As of Date for the AP Trial Report
    Trial Balance Run Date - the date when Trial Balance was run...
    Conditions are:
    TRUNC(Invoice Date) <=TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(NVL(Payment Date,'01-JAN-5000')) > TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Distr Accounting Date <= TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    NVL(Distr Creation Date,Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Show_Flag = 'YES', where:
    Show_Flag = CASE WHEN ( NVL(Cancelled Date,'01-JAN-1901') > NVL(:As Of Date,SYSDATE) AND NVL(Inv Amount Aud,0) = 0 ) THEN 'YES' ELSE ( CASE WHEN NVL(Inv Amount Aud,0) = 0 THEN 'NO' ELSE 'YES' END ) END
    There is a difference between the logic of my report, and the logic of AP Trial Balance...
    Could you please advise what I'm missing?
    Thanks,
    Iana

    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10? You can get the code by opening the report in Reports Builder and get the query.
    Or, enable trace/debug as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

Maybe you are looking for

  • QuickTime color shift in KN 08 vs 09

    I am working with two different content contributors, Frank and Frannie, to create an iMovie based on some animated Keynote slides that share the same design template. I created the template in Keynote 08, and shared a copy with Frank, who also uses

  • Sign-on using MS Passport

    Has anyone figured out a way to do sign-on using MS passport. Any solution would work for us even using a IIS server as a proxy front end to the WLS server. Comments or ideas? Kent

  • AS01 with reference to existing asset

    Hello, I am trying to create a new asset with reference to an existing asset.  In this case, the new asset will be in a different asset class from the original asset. The two asset classes have been configured for different depreciation terms.  Howev

  • New iPod catagory and Disk access problem

    OK, what is the new "Other" catagory along with the Audio Video and Games that are at the bottom of the iPod screen. It has about 80 MB of stuff on my iPod, but I have no idea what. Also, iTunes says that Disk Access is off (Unchecked) but I can see

  • Report with bar codes for Oracle Inventory

    Hye! I have this sql: (reports 6i): select b.inventory_item_id, B.SEGMENT1, G.SCHEDULED_START_DATE, G.START_QUANTITY, T.WIP_ENTITY_NAME, '!'||to_char(T.WIP_ENTITY_ID)||'!' entity_id, xxx.max_revizie revizie from wip_ENTITIES t, MTL_SYSTEM_ITEMS_B B,