Trial Balance Upload Query

Hello,
We are in process of trial balance upload for our implementation project. We have already identified Offsetting accounts for Balance sheet type of accounts. But Client wants us to upload the P&L items also.
Please let me know if we have to use P&L items also then what type of P&L offsetting account should be used (B/S type or P&L type with Retained Earnings account assigned to it?).
We need not upload any P&L items details but just the YTD balances. Are there any major concerns for the same? One concern observed by me is that different P&L accts will have different requirements like for some Material or Internal Order, etc. might be compulsory fields.
Waiting for the replies.
Thanks,
SP

Hi,
You can have the offestting accounts as B/S type itself. That should not be an issue.
As you said, you can upload the balances and not the line items.
In case the P&L accounts are created as cost elements also, you may have to assign a cost object to that upload item.
After upload of the trial balance, the net balance of all the offsetting accounts will be zero.
Regards,
Mike

Similar Messages

  • Trial Balance Upload function

    Dear Friends,
    We have developed customized Trial Balance upload function.
    While uploading we are Debit all the TB item which are debit and credit the GL A/c. 9999999901 and same we are credit the all the TB items and debit GL a/c 9999999901 which results GL A/c 9999999901 is become the 0 (Zero).
    After completing upload function we can view entry using T Code u2018FB03u2019 to verify the JV.
    Can anyone please guide me how to extract the Trial balance and is there any other way to kin the opening trial balance manually.
    And also which Item from TB I need to take care while uploading the TB as per my seniors they can help me to take care of e.g. Sundry Creditor, Debtors and Cash in Hand and also any subledgers.
    Thanks in advance.
    Mahendra Dev

    For TB (GL Balances):
    S_PL0_86000030 - G/L Account Balances (New)
    S_ALR_87012277 - G/L Account Balances
    Vendor TB: S_ALR_87012082 - Vendor Balances in Local Currency
    Customer TB: S_ALR_87012172 - Customer Balances in Local Currency

  • GL Trial Balance Report Query with date Effectivity

    We have a requirement to show the GL Trial Balance report with Effective dates as Parameters.
    Current Analysis:
    The Journals get updated with corresponding CCID in GL_BALANCES table when the Journal is posted. GL_BALANCE is SOB specific, if the SOB has month as period then the balances in GL_BALANCES would get updated against the month(period).
    To overcome the period problem, we explored the option of using a View based on GL_JE_HEADERS and GL_JE_LINES for 'Posted' Journal Batches of a SOB. We are checking whether the GL_JE_HEADERS.default_effective_date lies between the :p_from_date and :p_to_date which is sent to the Report as a parameter. The above idea does not return expected data when the custom Trial Balance Report is run.
    Following is the Query we have written for it:
    SELECT cc.segment4 ACCOUNT, bal.code_combination_id,
    bal.begin_balance_dr
    + SUM (NVL (gljel.accounted_dr, 0)) opening_bal_dr,
    bal.begin_balance_cr
    + SUM (NVL (gljel.accounted_cr, 0)) opening_bal_cr,
    ffv.description,
    (SELECT SUM (NVL (gljel.accounted_dr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    --AND gljel.code_combination_id =
    -- bal.code_combination_id
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_dr,
    (SELECT SUM (NVL (gljel.accounted_cr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_cr
    FROM gl_period_statuses per,
    gl_code_combinations cc,
    gl_balances bal,
    gl_je_headers gljeh,
    gl_je_lines gljel,
    fnd_flex_values_vl ffv,
    fnd_flex_value_sets ffvs
    WHERE cc.chart_of_accounts_id = :p_chart_of_accts_id
    AND bal.currency_code = :p_currency
    AND bal.actual_flag = 'A'
    AND bal.period_name = per.period_name
    AND cc.template_id IS NULL
    AND cc.code_combination_id = bal.code_combination_id
    AND per.set_of_books_id = :p_set_of_books_id
    AND per.application_id = 101
    AND :p_from_date BETWEEN per.start_date AND per.end_date
    AND gljeh.period_name = per.period_name
    AND gljeh.default_effective_date <= :p_from_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'JSWEL_ACCOUNT'
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND cc.summary_flag = ffv.summary_flag
    AND cc.segment4 = ffv.flex_value
    AND gljeh.actual_flag = 'A'
    AND gljel.code_combination_id = bal.code_combination_id
    GROUP BY bal.begin_balance_dr,
    bal.begin_balance_cr,
    cc.segment4,
    ffv.description,
    bal.code_combination_id
    The problem is that not all expected columns are being queried. Kindly advise as appropriate.
    Note: I have also posted this thread on the Financials forum. Posting here to present the query to a larger audience with the expectation that my query would be answered.
    Thanks & Regards
    Sumit

    suggest to create customize TB report.

  • Trial Balance Upload

    Hi,
    We are migrating a OU&SOB from one oracle server to another. There are transactions in the source oracle server. Now, we want to migrate the Trial Balance to destination oracle server in order to have the open balances in the destination server.
    Request your help in this regard:
    1. What approach is best suited?
    2. Run the TB report in source server and upload it into destination server? If this is the suggested approach, request you to throw some light on how the Journals are to be created in destination server.
    Let me know if more clarification is required to help me in this situation. Thanks.
    regards,
    aarora

    You can do this through webADI to upload GL Journals, refer earlier post on similar topic
    How to upload Opening Balances in GL System
    How to upload opening balances
    Initial Data Migration strategy for AP,FA, AR and GL with accounting impact
    thanks

  • AP Trial Balance Report Query

    Hi - We use the AP Trial Balance Report as a supporting schedule to reconcile our General Ledger AP Creditor Control Account against.
    Ordinarily we would use the total remaining amount at the end of the report (which has historically balanced to the GL).
    The value in the remaining amount column has always equalled the value in the amount column.
    However, during P12 when we have generated the report we have identified several transactions that have an amount appearing in the 'remaining amount' column but no corresponding entry in the 'amount' column.
    We're not sure what the 2 column represent and why this would be the case.
    Consequently by using the 'Remaining Amount' total and comparing it to the GL balance we are out by the amounts that are only appearing on one side of the AP Trial Balance.
    I've looked at the accounting postings on the AP for some of the particualr records and can see that there is a debit and credit posting to expenditure that net off and and also a debit and credit posting to the AP Creditor Control Account that also net off
    Can anyone provide us with an explantion please?

    Hi,
    Please check note:553484.1, there are some queries provided to check the TB data like queries to compare XLA and GL data.
    Hope it helps

  • 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

  • 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.

  • AP Trial Balance Query.

    I'm trying to re-create the AP Trial Balance report so I can add additional info for the Accountants allowing them to analyze the data better.
    we are in R12.1.3
    Can any anyone provide query that gives the same data as 'Accounts Payable Trial Balance'.
    Please in urgent need....
    Gurus help me out...
    Thanks,
    Raj.

    Hi,
    Were u able to create customized version of AP trial balance report. Please provide somepointers if so.
    Thanks
    TR

  • Uploading the Trial Balance in BPC

    Hello,
    Can someone guide me on how to go about loading the TB in the BPC ?
    I tried to manage through Data Management but it was not able to upload the data..
    I presume it has got to do with FLOWS & INTCOL dimension.
    In my trial balance, I used using F_CLO & other than intercompany I have used IC_NONE in INTCOL dimension.
    However, I couldnt proceed further...
    I would be obliged, if any of you can help me on this....
    Thanking you in advance....
    Regards & best wishes,
    Shrinivas

    Hello,
       You can use trasnformation/conversion files in order to map your dimensions with BPC structure. If you can give a specific example of file to be loaded and the dimensions defined for you application, maybe I can give you more details about how you have to define your transformation/conversion files.
    Regards,
    Mihaela

  • Uploading of legacy Trial Balance (FI) to SAP.

    Hi
    Requirement : XYZ Company has two business say A and B. Till now, A & B are in SAP- same server. But, they decided that now onwards Both A and B will be on different servers in SAP.
    XYZ wants to consolidate the financial reports of both the businesses in A. So, B decided to download its Trial Balance in the form of excel sheet and then upload to A as they have already company codes, etc of B.
    Issues :
    1) XYZ wants to  'over write' the Trial Balance every time whenever they upload. Is that possible?
    2) Do you have better suggestions to acheive this?
    Pls note that they are not ready to use SAP functionality of Cross Server / IDOCs.
    If you have any questions, pls let me know.
    Thanks in advance,
    Sridevi

    Hi,
    Customisation program may be required to upload the data using the right BAPIs and cleansing the existing data.
    BDC also may do this job.
    I hope, ABAPers could provide you complete solution.
    Regards,
    Murali

  • How to upload trial balance when recon accounts wont allow direct postings

    hi,
    i would like to upload trial balance figures but i am not able to upload the figures for recon accounts since it wont allow direct postings. how to overcome this problem? any idea?

    Hello Raja,
    Under normal circumstances, uploading of GL balances is done as below
    - take the closing trial balance
    - create a control account in SAP
    - Create a JV to transfer debits to respective GL accounts in SAP and credit the clearing account
    -Create another JV for all credits.
    - For customers/ vendors / asset balances use seperate method. Create first the reconciliation GL master record in SAP.
    - Check the recon account entry in all the master record.
    - now create invoices and the recon account is automatically updated.
    - lastly make sure the clearing account balance is zero
    reg
    *assign points if useful

  • Template for uploading account trial balance

    Hi,
                Is there any template for uploading trial balance of chart of accounts  in SAP Business One.
    Thanks in Advance.
    Thanks and Regards,
    Jai

    hi
    Go in Financial > Financial Reprt Template > Choose balance Sheet
    Create new template and Assign a Name
    Click on "Generate Std Chart Of Account"
    Update > Ok
    Same for other template
    Thanks
    Kevin

  • Query YTD Trial Balance

    Hello
    can any body help me in this query i need to get Ytd trial Balance
    /* Formatted on 2011/10/31 12:59 (Formatter Plus v4.8.8) */
    SELECT ACCOUNT, descacc, NVL (SUM (opening_balance), 0) opening_balance,
    NVL (SUM (debit), 0) debit, NVL (SUM (credit), 0) credit,
    NVL (SUM (ending_balance), 0) ending_balance, parent1, parent2,
    parent3, parent4, parent5, :from_date,:chartid,:TO_DATE
    FROM (SELECT m.segment5 ACCOUNT, w.description descacc,
    (NVL (SUM (l.entered_dr), 0) - NVL (SUM (l.entered_cr), 0)
    ) opening_balance,
    NULL debit, NULL credit, NULL ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date < :from_date
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description
    UNION ALL
    (SELECT m.segment5 ACCOUNT, w.description descacc,
    NULL opening_balance, NVL (SUM (l.entered_dr), 0) debit,
    NVL (SUM (l.entered_cr), 0) credit, NULL ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date BETWEEN :from_date AND :TO_DATE
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description)
    UNION ALL
    (SELECT m.segment5 ACCOUNT, w.description descacc,
    NULL opening_balance, NULL debit, NULL credit,
    (NVL (SUM (l.entered_dr), 0) - NVL (SUM (l.entered_cr), 0)
    ) ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date <= :TO_DATE
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description))
    GROUP BY ACCOUNT, descacc, parent1, parent2, parent3, parent4, parent5
    ORDER BY ACCOUNT,parent5
    thanks

    Kamlesh,
    Please note that this is a public forum and if members have something to share they would certainly reply your post.  Gordon has nothing to do with this.  If he has time like he usually does he may reply you with the query
    But I would think that you need to make an attempt and then post to the forum if you have questions.
    Good luck
    Suda

  • How can Get YTD in Trial Balance Custome In my query

    Hello
    can any body help me in this query i need to get Ytd trial Balance
    /* Formatted on 2011/10/31 12:59 (Formatter Plus v4.8.8) */
    SELECT ACCOUNT, descacc, NVL (SUM (opening_balance), 0) opening_balance,
    NVL (SUM (debit), 0) debit, NVL (SUM (credit), 0) credit,
    NVL (SUM (ending_balance), 0) ending_balance, parent1, parent2,
    parent3, parent4, parent5, :from_date,:chartid,:TO_DATE
    FROM (SELECT m.segment5 ACCOUNT, w.description descacc,
    (NVL (SUM (l.entered_dr), 0) - NVL (SUM (l.entered_cr), 0)
    ) opening_balance,
    NULL debit, NULL credit, NULL ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date < :from_date
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description
    UNION ALL
    (SELECT m.segment5 ACCOUNT, w.description descacc,
    NULL opening_balance, NVL (SUM (l.entered_dr), 0) debit,
    NVL (SUM (l.entered_cr), 0) credit, NULL ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date BETWEEN :from_date AND :TO_DATE
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description)
    UNION ALL
    (SELECT m.segment5 ACCOUNT, w.description descacc,
    NULL opening_balance, NULL debit, NULL credit,
    (NVL (SUM (l.entered_dr), 0) - NVL (SUM (l.entered_cr), 0)
    ) ending_balance,
    SUBSTR (m.segment5, 1, 1) || '0000000' parent1,
    SUBSTR (m.segment5, 1, 2) || '000000' parent2,
    SUBSTR (m.segment5, 1, 3) || '00000' parent3,
    SUBSTR (m.segment5, 1, 4) || '0000' parent4,
    SUBSTR (m.segment5, 1, 5) || '000' parent5
    FROM gl_code_combinations m,
    gl_je_batches c,
    gl_je_categories n,
    gl_je_headers h,
    gl_je_lines l,
    gl_ledgers t,
    fnd_flex_values_vl w
    WHERE h.default_effective_date <= :TO_DATE
    AND m.chart_of_accounts_id = :chartid
    AND h.je_header_id = l.je_header_id
    AND h.je_batch_id = c.je_batch_id
    AND l.code_combination_id = m.code_combination_id
    AND m.chart_of_accounts_id = t.chart_of_accounts_id
    AND h.currency_code IN 'SAR'
    AND l.ledger_id = t.ledger_id
    AND h.je_category = n.je_category_name
    AND h.status = 'P'
    AND w.flex_value = m.segment5
    AND w.flex_value_set_id = 1014551
    GROUP BY m.segment5, w.description))
    GROUP BY ACCOUNT, descacc, parent1, parent2, parent3, parent4, parent5
    ORDER BY ACCOUNT,parent5
    thanks

    Thanks a lot for your reply.
    I think I should have a database as a service trial.
    I can't find service instance in my service.
    I want to connect it by java application, but I can't get the service instance name.
    Could you please tell me how to get the service instance?
    Thanks a lot,
    Amanda

  • Legacy Trial Balance - best way to get totals into SAP

    Hi Folks,
    I have a query relating to the data migration of Finance items.
    What is the best process for updating the new SAP system with the legacy trial balance?
    Do you journal in the Opening Trial Balance posting sub ledger items to a Data Load account?
    Load the AR / AP sub ledger items via the standard load routine RFBIBL00 which will in the case of customers Debit the customer account and Credit the Data Load Account / Vendors Credit the Vendor and Debit the Data Load Account.
    Could anyone please give me a step by step guide as to how to go about this?
    Thanks

    Hi,
    The upload of GL Balances have to split into several steps:
    1. Normal GL Accounts: In this case line items are not required and totals are to be updated in SAP. This can be done using GL fast entry if the number is not too high.
    2. Open Item Managed GL Accounts: All the open line items are required to be uploaded in SAP from Legacy in order to clear them. Hence, a LSMW / BDC program has to be developed to upload the line items.
    3. Customer & Vendor Open Items: All open line items in Customer and Vendor Accounts have to be brought in into SAP. For this also a LSMW / BDC program needs to be developed and upload the line items.
    4. Asset Accounting: In case asset accounting is implemented the individual balances of each asset (Gross Value and Accumulated Depreciation) have to be uploaded using transaction AS91. For this also you need to develop a LSMW / BDC program. Further, you also need to update the GL Accounts related to Asset Accounts with totals for each asset class T.Code OASV.
    5. Further, material values are also to be updated - Material wise and this should tie with the GL Balance.
    In addition, one more point to be noted is the use of Dummy / Conversion accounts for bringing in data from legacy to SAP. It is better to create five or six conversion accounts like for Assets, Liabilities, Revenue, Expenses, Materials etc. The sum of all these conversion accounts should be ZERO after completing the conversion. This way the reconciliation will become easy.
    Thanks
    Murali.

Maybe you are looking for

  • How to get .Xap file for windows(8.1) app in visual studio 2013

    Hi , I am creating an app that supports for windows tablet using visual studio 2013.For windows Phone  in bin folder i can see ProjectName.xap file these file can be submitted to store.But I could not see xap file for windows apps in visual stuido.Wh

  • 1 line item in invoice for Multiple line items of SO

    Hi SD Gurus, My client requirement is multiple line items of the sales order should reflect as a single line item in the invoice ..? For ex: I am using Service material type Dien & material created under different material groups. My Sales order look

  • Simple JFrame Doubt

    Why is the jextfield on the jframe so small. Also How do I update the textField of MyButton JFrame from JButtonActionListener? import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JTextField; public cl

  • Creation in cube base date wise partitions in sssiss

    hi  i was  created the cube.    the partitions are created  date wise in dynamical with ssis and   process the  the partitions also dynamically  and  dimension also  process and   how to refresh the cube and partitions and measures and   dimension pr

  • EXS 24 questions

    Hello 1) I'm trying to use EXS 24, and i've found the samples are to be located on library/application support/logic/sampler instrument . the problem is this folder is on the same hard disk as where Tiger and Logic are installed. I have a second hard


HashFlare