GL Trial Balance as per Posting date
Hi All,
It would be helpful if someone help me how to get GL Trial Balance as per Posting date. in T-Code S-PL0-86000030 we get the report according to the periods. But there is a development requirement according to Posting date from where and how we can fetch data.
Please help me.
Thanking you,
Rajeshwari
Hi,
The trial balance (TB) is a report listing the ending debit and credit balances in all accounts at the end of a reporting period.
Therefore, to have posting date in TB against total balance is not the right requirement, however If, you need posting date against each balance (entry), you use GL Line item reports e.g. :
S_ALR_87012282 - G/L Line Items, List for Printing
FAGLL03 - Display/Change Items (New)
Regards
Javed
Similar Messages
-
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.
-
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
Sumitsuggest to create customize TB report.
-
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. -
Why should we calculate cumulative balance as per posting period?
Hi,
I dont know whether we can pose this type of questions here or not.
Why should we calculate cumulative balance as per the posting period?
How is it going to work?
Hope I will get an answer. Thank youHi, you've got a couple of issues with the formula the biggest being that EARLIER() needs to be used in an iterator so should be contained in a FILTER() here. Suspect you also don't need the ALL().
That said, I think you might be over complicating the problem. Based on you output at the bottom, all you really need to do this is a flag on each order to say whether or not that order date matches the latest order date in that year for that customer. Assuming
you add a column for year you could use something like:
=
IF (
[Date]
= CALCULATE (
MAX ( [Date] ),
FILTER (
'Q3 Data Set',
[Customer ID] = EARLIER ( [Customer ID] )
&& [Year] = EARLIER ( [Year] )
"Y",
"N"
Jacob | Please mark helpful posts and answers -
Vendor /Customer Trial Balance between a particular date
HI
Is there a standard report in SAP which provides Vendor/Customer Trial balance. We are using the standard SAP Reports for
Vendor S_ALR_87012082 Vendor balances in local Currency
Customer S_ALR_87012172 Customer Balances in local currency
We also need to filter the data in Trial Balance based on profit centers. All our plants are created as profit centers
Regards
Sanil Bhandarina
-
Trial balance for one given date
Dear Experts,
Please guide me any reprot or t.code for a given particular date trial balnce.
regards
chanduDear All,
In standard reprots we can't take particualr given date tiral balance. in satandard there is no opention to select the date, Is there any reason for this, i have seen one report there is open item key date.
Regards
Chandu -
Hi All,
I have a client who runs their trial balance and it doesn't balance. Isn't a trial balance supposed to always balance? I have recently upgraded this client without any issues, so their database is correct.
Any ideas on how to solve this or what could cause it?
Thanks in advance,
AdeleHi,
Many causes can make the TB report is unbalanced. To solve this, try to check balance sheet and PL first. Is the balance sheet okay (based on accountant checkings) ? if yes, you check the exchange rate different, the selection criteria --> expanded --> check here if there are some tickbox in the certain fields or not. etc..
The trial balance adheres to this formula : total debit = total credit.
Here I quote from a 2004A version pdf file about TB report:
There can be a situation where the credit side is not equal to the debit side.
In this case:
What might be the reasons?
What should you check?
1. The debit and credit amount will not match if you select to display only business partners.
When displaying all G/L accounts and business partners, business partner balances will be
displayed after the total amount of all drawers, at the end of the trial balance. Refer to the
common mistake of checking the balance of the customers and vendors rather than the total
amounts of the drawers. If the box BP in the Trial Balance u2013 Selection Criteria window is
cleared, the balance of each business partner is not calculated separately. Instead, summary
balances are displayed for Customer and Vendor control accounts. These are the accounts
that summarize the activity of your business partners. These control accounts are displayed
in the Assets and Liabilities drawers.
2. Sometimes, when running the trial balance on a certain date range and there are journal
entries in which the posting date per row is different, it is possible that one of the posting
dates in the journal entry rows is not included in the selected date range and therefore these
entries will be displayed for some G/L accounts or business partners and will not be displayed
for others. To check this you can run the trial balance on a more extended date range that will
ensure that all the journal entries are indeed included.
3. When displaying the opening balance from the start of the fiscal year, the debit and credit
sides might not be balanced because a certain G/L account or business partner has a journal
entry prior to the selected date range, however in the selected posting period it has a zero
balance. The G/L account or business partner is displayed in the trial balance but the counter
account in its journal entries might not have a zero balance and therefore the amount will be
displayed only for one of the accounts.
4. When displaying the trial balance using a template other than the Chart of Accounts template,
you need to verify that all the G/L accounts are included in this template.
5. If the user who runs the trial balance is not a superuser, it is possible that he has no
authorization for confidential G/L accounts and therefore their balances will not be displayed
in the report.
hope it could resolve your issue.
Rgds, -
Hi SAP experts ,
I am troubleshooting one system and I am kind of getting lost ...
Let me explain the scenario:
Posting period set up
Posting date : 01-14-09
Sytem Date :01 -01-09
After checking all the information , I ran my period end closing .. I ran a comparison report between 12/31/2008 and 01/01/2009 .
My balance sheet matches with when I ran by posting date and my balance sheet is way off (especially retained earning )if ran by system date .
I can get the differnce in amount but was unable to track the exact transaction .Some of the adjustment have been done in this system using system date .
Any queries that will help me to track ? I have used this
SELECT
T0.TransId, T1.Account, T1.Taxdate, sum(T1.Debit-T1.Credit) Balance FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId WHERE T0.TransType = 30 GROUP BY T0.TransId, T1.Account,T1.Taxdate
But not much of help to target easily ...
Any advise on this ...Should I consider if balance sheet is correct by posting date , it is fine ..
Thank you
Bishal
Edited by: BIshal Adhikari on Jul 28, 2009 3:52 PMHi Bishal,
I believe balance sheet by posting date is correct. System date is only kept for system to show the audit trail when you actually added the document.
Thanks,
Gordon -
Where to run traditional trial balance?
Where in B1 can a user run a simple traditional trial balance for a given date range. I tried running the Financial/Financial Reports/Accounting/General Ledger report, but it is grouping the transactions by business partner. I want a report that is based on the GL account number. I could care less about seeing vendors and customers in my GL. A very simplified format would loook have 4 columns like below for a summary.
Account Number1 Beg balance DR CR End Balance
Account Number2 Beg balance DR CR End Balance
A detailed version with individual JE's would look something like this below.
Account Number 1 Beg Balance
Activity JE's (DR's and CR's)
Account Number 1 End BalanceHi Robert,
Please remove the checkbox BP on left hand of the Trail balance Selection criteria and select all the G\L Account by checking the Radiobox displaying as X on the top right of that selection criteria.
Hope it helps.
Regards,
Jitin
SAP Business One Forum Team -
Trial Balance Cost Center Wise
We have created the Cost Elements, in the system for assigning the Cost Centers to these as and when the transactions are recorded. While we can generate the Cost Reports based on the Cost Centers used for capturing the transactions, there is a requirement to generate a Trial Balance as per the Cost Centers. Is there a standard report that can provide a Trial Balance as per the Cost Centers and thus for a particular Group of Cost Centers.
Would appreciate an assistance in this regard.
Thanks in advance.Hi Bhuveneshwari,
Agree with you that TB will include assets andliabilities as well. To clarify further, what is desired is the list of balances Profit Center/Cost Center wise for only those accounts which form part of the P & L, i.e classified as Revenues and Expenses to prepare a funtional Profit & Loss Account. How can we acheive this. One way is to generate the Cost Reports with all the Cost Elements. Also is it possible to generate a limited TB (including only P&L items) Profit Center wise as referred to in your reply ?
Thanks -
Trial Balance table Profit Center/Cost Center
Hi SAP Experts,
I want to download SAP trial balance as per profit centre,cost centre, I know there are lot of standard report but I am looking for tables where I can download these values?
Thanks,
SuyogHello Suyog ,
Long before I had worked on such a report.
Please try with any of the tables between FAGLFLEXA or FAGLFLEXT ( If I have recalled correctly )
FAGLFLEXT is for TOTALS so I think it will be appropriate.
Please check. -
AP Invoice Aging Report by GL Date (using: Accounts Payable Trial Balance)
Hi
Need some suggestions:
I need to develop a custom report in (R12).
Account Payable Trial Balance Report, does have the capability to run as of a particular date but it does not show aging buckets. This custom report is to be developed to meet the requirements from a Payables detail perspective as well as to reconcile.
The report should show the balance due as of the report date selected. If As of Date = 5/31/11, then when the report is run on 6/15/11, it gives the results as it existed on 5/31/11. If we run it again on 8/31/11 for As of Date = 5/31/11, and again on 1/13/12, we get the EXACT SAME results each and every time except for the following fields: Current Status, Date Paid and Payment Reference Number.
The end result should be this report ties to the penny to Oracle GL as of the date selected EXCEPT for any JEs posted to the account.
Thanks
PravinHi Pravin,
For all transactions in Oracle, you will have GL dates (Accounting Dates) associated to it. If you use this date in your query to filter data, then you will get correct aging data as on a given date.
To tally with GL, you also must check if the selected transaction has been accounted?
Raajkumar G -
Is possible date wise trial balance in sap
Hello,
Is it possible date wise trial balance in sap, for example trail balance as on 20.06.2010.
Please provide your inputs
Thanks,
RatnamDate wise trial balance can be created using report writer tools. Have done this for my clients.
Following activities have to be done:
Install table FAGLFLEXA using t.code: GRCT
You can do this by copying FAGLFLEXT, after copying, add additional fields like posting date, value fields like balance carryforward etc.
Create a report library using t.code GRR1 and reference the table FAGLFLEXA or FAGLFLEXT
Create a report under the library created above
Using report writer or report painter you design the report same as F.08
Let me know your email id, will provide the detail screenshots.
Thanks,
Sharif -
Vendor Balance Report Day wise based on Posting date
Hi Guru's,
I am creating vendor balance reprot day wise based on posting date .
In my report i want to show TDS(With hold tax ) amount where can i get that field name how can retrive the data using bsik and bsak .
I Donot want to display reversal documents in the displaying list .How can i remove reversal entries .
Regards
Nandan.Hi Nandan,
check these tables:
A399
T059O
T059ZT
Regards,
Santosh Kumar M
Maybe you are looking for
-
Best practice for database move to new disk
Good morning, Hopefully this is a straight forward question/answer, but we know how these things go... We want to move a SQL Server Database data file (user database, not system) from the D: drive to the E: drive. Is there a best practice method? My
-
I got problem to restore my iPod
Hello everyone...I need your help....My iPod (iPod color display 20GB)could not be restored even when I have already used the latest version of the software. There is always `The iPod `iPod` could not be restored. An unknown error occured (1418)` pop
-
Hi Gurus, Can any one please tell me the complete procedure for configuring output type. Requiremnt is I have to configure a o/p type for Order Confirmation & Invoice. regards, Ajoy
-
FBZG - Failed Bill of Exchange - copy previous document dates
Example Bill of Exchange configured 1 BoE per invoice Invoice 1 - dated 30 march 2010 1000EUR Run F110 and get document putting 1000EUR into Bills receivable When bill due 1000 EUR debit / credit bank / bank clearing Run F_72 bank clearing and bil
-
ADF Faces showDetailItem seems to "load" child elements twice on tab select
Problem Summary: Child elements of showDetailItem are being loaded/executed twice. The parent of the showDetailItem is a showOneTab, and the child of showDetailItem is an af:objectImage, which calls a servlet I have written that outputs an image. The