GL Trial Balance Report with Effective Dates as Parameters
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 being used:
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
Kindly suggest if I am missing anything. I am sure that the great guns here can help me out.
Thanks
Sumit
suggest to create customize TB report.
Similar Messages
-
GL Trial Balance Report with Source Field
Hi All,
How can we add Source Column to Trial Balance Report. As this Oracle's Seeded report is developed based on GL_BALANCES Table, how can we add source column to this report? Can anyone suggest on this to add source column to this report? If not possible to add the column then, is there any possibility to create new report ? If yes, then please suggest us to do that way
Sources are like Receivables, Payables, Manual, Spreadsheet, etc.
Regards,
Bharatsuggest to create customize TB report.
-
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
Sumitsuggest to create customize TB report.
-
Opening balance for Trial balance report
Hello Experts,
I have requirment to develop a Trial Balance report with the colum like Opening Balance, Transaction Debit,Transactoin Credit and closing balance.
I am trying to get opening balance from the Table FAGLFLEXT.
how can I get the opening balance. In FAGLFLEXT in the fild HSLVT ( Carry forward Bal. in local currency) has more than one line item for one fiscal yer, one G/L and one profit center. Should I club all the values of HSLVT value.
ThanksHi Srikant, Yogesh...
Thank you for your reply. But I have some other requirment for that I have to go for devlopment for this report.
Regards, -
Fault found with opening balances output on Trial Balance report
When running the Trial Balance report and adding "Opening Balances" and taking the "OB from Start of Fiscal Year" option, the relevant opening balances are not shown from the closing balance of the prior period.
All balance sheet accounts should always show a "brought forward" balance if one exists, whereas P&L Accounts should only carry balances forward over monthend boundaries, resetting at the point of a yearend. This is not the output provided by the report.
This issue has been checked on numerous patch levels (including the beta release of 2007a SP01 by a support consultant) and returns the same problem.Hi Julian,
I checked the functionality by myself and I have two findings:
1) that the Trial balance displays in the opening balance balances for the P&L accounts from previous period.
2) On the other side there is a functionality "Add closing balances" on the Trial balance selection criteria with option "Closing balances before Selected Period Only" which would adjust the presented opening balances for P&L accounts in point 1.
Based on your description I understand that Global Support Center knows about the issue, so I think the point 2 could be used as temporary workaround till the system is corrected.
Best Regards,
Martin Slavik
SAP Business One Solution Manager -
Start Date for AP trial balance report
Hello
Am working on generating the Trial balance report in the Payables. I am running the "Accounts Payables Trial Balance report. For this report, in the parameters, there is "As of Date" parameter, but I do not have the "Start Date" parameter. I wanted to get a trial balance report for a given analysis period, like between Jan 03 and Dec 03.
Can any one please let me know about this.
Thank you
BobHi Bob.
I'm affraid such report is not available.
You may get something similar by running the RX-only: Payables Invoice Register by Detail. You also have the option to change the way data appears on the report on it is an RX report.
Octavio -
FI doc not having effect in Balance Sheet or Trial Balance Reports
Hello All,
An FI doc which debits an G/L Account (Part of Asset side) & credits "Creditors Reconciliation account". when I see the effects thru FBL3N it has been posted correctly.
But When I see Balance Sheet Report or Trial Balance Report, such reports are not taking effect of above refered FI doc.
For Ex." GL Account 1234" is having balance Rs. 10000/- (credit balance) (If seen thru FBL3N)
One doc for Rs. 100 is posted which credits this account (included in above INR 10000)
Now when I see Balance Sheet, It only shows balance of "G/L 1234" INR 9900
Please try to resolve the problem. Waiting for your reply.
Thanx & best RegardsIssue resolved......GLT0 table was not updated
Manish Katyal -
Related Data Source for Customer Trial Balance Report
Hi Guys,
Can any one please let me know the related Datasource, DSO and Cube available to develop Customer Trial Balance report on BEx.
<b>My required Row/Colum objects are</b>
<b>KPIs Calculated/restricted Formula/Logic Unit Authorisation</b>
Total Calculated Sum of all the Quantity
invoiced invoices for a
Quantity FME
Proposed
Base Price Calculated Average price Amount
for all invoices
per FME
Average Eqv.
Base Price Calculated Average price Amount
for all invoices
per FME
Price
Difference Calculated Proposed Base Amount
Price - Average
Eqv. Base Price
<b>The aggregation behavior of the individual KPI</b>
Key Figure Aggregation Characteristic Time
(Sum, Max, Last)
Net Debit Amount Sum All All
Net Credit Amount Sum All All
Total Debit Amount Sum All All
Total Credit Amount Sum All All
<b>Characteristics</b>
Hierarchy Display Authorisation Selection Status/Mapping
Customer Number Yes KNA1-KUNNR
Customer Name
Business Area Yes PRCTR
Special GL Indicator Yes Company Code Yes BKPF-BUKRS
Industry Code KNA1-BRAN1
This is how my Functional Spec is..
Please let me know ASAP.
Thanks
Muralihi,
You can use this report.
RFSLD00 Trial balance
For Further Reference use the link.
http://www.abapcode.info/2007/06/standard-sap-reports.html
Regards
Sumit AGarwal -
Hi gurus- I run the AP Trial Balance report and have an issue that I cannot reconcile with my raw data because when I export into excel, the invoice number is cut off after 20 characters. This client has long invoice numbers. Is there any way to get the SQL for this report and run it separately so I may see the invoice numbers and reconcile? Thanks a lot.
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 -
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 -
Accounts Payable Trial Balance Report does not include a Credit Memo amount
Hello Experts,
We are having an issue with Ap Trial Balance report not displaying a credit memo amount whereas Gl Balance shows that amount. The Credit Memo has a August invoice date and September pay date but it’s not showing up in the trial balance for August. The acconting date on the Creditmemo is in august.
Thanks in advance for any help.Hi,
We also faced the same problem and approached Oracle support.
They provided us with a patch and datafix. Better raise an SR and get specific support.
Regards,
Sridhar -
Trial balance report - general question
Hi,
This is the first time that I am using the trial balance report (to compare it with a Discoverer report that was built for another purpose).
If I am running a trial balance for the end of May, and an account has a payment due in June, then the account does not appear in the report.
The user feels that it really should.
Can someone explain to me the purpose of the trial balance, i.e. if the report is supposed to only show the balance of due invoices or of any invoice that is not fully paid?
Thank you.
LeahHi John,
First, let me explain that we have an aging report that was written and our user is comparing it with the trial balance report. This is how the whole thing began. There is too big a difference. Yesterday, our user suggested that we run the trial balance for May since there is too much activity happening now in June.
I decided to run a trial balance for the first of February 2010 figuring that was plenty safe. One of the customers listed had 4 invoices in the report. One invoice that was missing, though, was an invoice from January 17, 2010 that was paid (GL date) March 28, 2010. (There are others like that). The question: should it have been listed or not? It was in the aging report which our user felt was correct.
Being (I assume-maybe I am wrong) that the trial balance report was not written just for our company, I am assuming that it must be correct otherwise there would be complaints from all over. That is why I finally turned to the forum to try to get an understanding. If the trial balance is correct, then the user cannot compare the aging report with the trial balance. If it is not correct, then we must turn to Oracle.
Is there some information that I should look for from the missing invoice that I gave as an example that would explain it not appearing in the report?
Thank you.
Leah
I would just like to add that I just noticed that there is another invoice from January 17th that IS in the report. It is also paid on March 28th. The only difference between the two invoices that I see, is in the distributions. The one that is in the report has the amount split between ITEM and TAX while the one that is not in the report has the full amount as type ITEM. Both have Withholding Tax as 0.
Sorry for these added comments. We had an electricity problem all day at work (I am at home right now) but someone suggested that the invoice that is missing might have had a creation date AFTER the first of February even though the invoice day was in January and that is why it does not appear. I will not be able to check it until I am at work tomorrow (which will be around 10:00GMT).
Thanks.
Edited by: user476771 on Jun 21, 2010 9:52 PM
Edited by: user476771 on Jun 21, 2010 10:21 PM
Edited by: user476771 on Jun 22, 2010 5:41 AM -
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 RHi 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. -
TRIAL BALANCE REPORT(RFBILA00)
Hi,
I am working on Trial Balnce report. I copied the standard program RFBILA00 to the custom program. The report is displaying correctly. But in the Accumulated Other Comprehensive Income I need to add the amount that displays in the comprehensinve Income.
I have Accumulated other comprehensive Income as 1,500,000.00-
Comprehensive Income as 253,951.18-
When the report displays these two incomes should be added and display at Accumulated Other Comprehensive Income.
Please help me with this.This is a very urgent requirement.
Helpul answers are rewarded.
Thanks,
RamdeepHi,
Trial Balance Report is a report which contains the summary of all the account balances at a given date.
It is a financial summary,prepared primarily to test the accuracy of statements or results.
Program for Trial Balance:
<b>RFGLKR00</b>
Tables Used in Trail Balance Report :
<b>SKA1 - G/L Account Master (Chart of Accounts) </b>
Regards,
Padmam. -
Trial Balance as on particular Date
Hi
Please tell me the T.Code For Trial Balance as on particular Date.
Moderator: Please, search SDNAs per your message it seems your client gone live production on 01.01.2009. The legacy balances might have uploaded with posting date 01.01.2009 with document type US. After uploading you are trying to see the opening trial balance.
In SAP date wise trial balance concept is not there. We have so many reports for trial balance for periodical basis not date specific. I have checked the dynamic selections option, for document type. Even if we found the document type option in dynamic selections, there we can give document type US and period 01/2009.
Maybe you are looking for
-
1st Generation Apple TV No Longer Appears as Device
Since the latest iTunes update, my Apple TV no longer appears as a device in iTunes on my Mac Pro even though it does on my MacBook despite both are completely up to date and are running on the same network (AirPort Extreme Dual Band) with EXACTLY th
-
Help with working with color and profiles
Like many others, I suspect, I am having trouble managing the colors on my iMac to match the prints I get. I have a few questions, but first, some background: 1. Screen calibrated with Huey Pantone. Calibration was done with monitor brightness all th
-
Pleaseeeeeee Help - Problems with position of my web page
Hi, first sorry on my english I have problem with position of my page. I had made my web page in Indesign CS5 and exported to swf file. My web page is working fine (www.igor-flytying.com) but the page is not in the middle of the web browser. How can
-
Is better bootup process one of the goals for 1.0? I feel that the bootup process isnt so bullet proof as other distros...
-
I'm am trying to export my iPhoto library to a new machine, I don't want to simply copy the iPhoto library folder as a lot of junk has built up over the years and I want to do a fresh import. What I am doing is dragging my events out of iPhoto and in