GL account opening balance day wise

HI,
    I am working on FI report, where i need to calculate the G/L account closing balance on a daily basis, which will be used as the opening balance for the next day, please help me out with some sample report or logic to claculate the closing balance day wise.
u can mail me to :[email protected]
Regards
Soyunee.

Hi,
You have to make use of many tables for this purpose.
1. You have to claculate the previuos period and finscal year for the given date..
2. You have to calculate the G/L balances for this period for the given G/L account from table GLT0.(You can use some of the standard function modules for the same)
3. You have get the line items from the various tables like BSIS,BSAS,BSIK, BASK, BSID and BSAD for the dates from the begining of the month to the given date-1. sum upthis amount with the amount retrieved from step 2 .This will be the opening balance for the given date.
4.retrieve the data from he same tables like step 3 for the given date. This will the transactions of the given date.
5. sum up  the amounts from step 4 with step 3. this will be the closing balance for that date.
let me know id you want any further info..
Reward the points if i answered your question..

Similar Messages

  • Function module for Opening Balance day wise

    Hi,
    I am preparing vendor ledger report for day wise .
    For example : i/p fields are : Lifnr , Budat,Bukrs
    O/p fields are : Opening balance ( Before the date of lifnr Closing balance ).
                          Debit
                          Credit
                          Closing Balance ( Opening balance + D/C).
    For this Opening balance i require the function module .
    Please help me .
    Regards
    Nandan.

    Hi,
    My requirement is Vendor balance Report according to Posting date wise.
    o/p fields are
    blart budat augdt belnr openingbalance  ClosingBalance Credit Debit
    Credit is when schkz is 'H'.
    Debit is when schkz is 'S'.
    Closing Balance = Opening Balance + Credit / Debit
    Regards
    Nandan.

  • How can i import Customer/Vendor  Opening Balances - Invoice wise

    I am going on a parallel run from next week onwards and the Client want to import all Customer/Vendor Opening Balances invoice wise , so that they can get the Aging Analysis report the no of days Outstanding as well as they can enter payment invoice wise.

    Sanjay,
    To import BP Opening Invoices or Credit Memo's,
    Use the template inside DTW folder
    \Templates\oInvoices for AR Invoices
    \Templates\oPurchaseInvoices for AP Invoices
    and so on
    I presume you would want to import them as Service Invoice so
    In the Document template
    Set
    DocNum....................................DocType......................HandWritten
    original Invoice number...............dDocument_Service..............tYes
    Document_lines
    AccountCode
    Opening Balance Account Code (Opening Balance Account is generally created in the Equity drawer and is used purely for all Opening trasactions and will balance out to zero (0) once all opening data from legacy system has been brought over)
    Let me know if you need further direction
    Suda

  • Business Partner's Opening Balance Bill Wise

    Hi Experts,
    We are planning to migrate the Opening balances of Business Partners with Last Year's open transactions reference such that the clients could be able to adjust the payments bill wise .
    Is there any way is B1 to transfer the Business Partner's opening balances Bill wise. We don't want to migrate the open transactions as many items codes at bill time are changed now. We are interested in  just having the bill wise bifurcation opening balances .
    Thanks and Regards,
    Pooja Singh.

    Hi Pooja,
    Hope u r uploading the balances via Opening balance offset account.
    Thru A/P service invoices instead of the relevant expenditure account please link the above opening balance offset account and post the billwise openings. asusual choose the relevant parties.
    In the invoice ref field give the references of invoices also. that will helpful at the time of payment to that respective vendor.
    But you should double ensure that you r having Sundry Creditors - Breakup as Party wise and again bill wise for the parties.
    Please dont pass as a JV for bill wise opening balances since you cant make part payments at the time of payment.
    So, use the A/P Invoices window for the same. Under that pick the service invoice option even for material invoices.
    p.s. if opening balances are 2009-10 create a period as 2008-09.

  • GL Account Opening Balance

    Hi All,
    Can any one suggest me is there any way to upload the GL account opening balances automatically, rather posting it mannually.
    Which will facilitate us to validate the accuracy of the data before uploading the same and time taken for doing it mannually will drastically reduce.
    Thank you in advance.
    Regards
    N.Narayana Swamy

    Hi
    When you open 'Administration -> System Initialization -> Opening Balances -> G/L Accounts Opening Balance' and load the opening balances for G/L , SAP inturn creates Journal Entries  to transfer credit or debit amounts from a specified opening balance account to one or more G/L accounts.
    So you can use the Journal Entry Templates available in the following folder to load opening balances thro DTW:
    C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oJournalEntries

  • G/L Account Opening Balances using DTW

    Is it possible to import G/L account opening balances using DTW? If so, what object would I use?
    Thank you,
    Mike

    Hi Michael,
    Maybe you can import G/L account opening balance like a journal entry using JournalEntries template.
    HTH
    Thibault

  • G/L Account Opening Balance

    Please help me to find the Opening Balance of  G/L Account on the specified day.
    means Input is G/L Account :1312000001
                           Date              12.04.2008
    so i need to fetch the Opening Balance of the 12.04.2008.
    guide me to fetch the same.
    Regards
    PBN

    hi,
    FBL3n is one of the standard report suits your requirement..
    Reward if find useful

  • GL Accounts Opening Balance Window

    HI Experts,
                 Right Now I want to manually enter the opening balances of G/L accounts.I am working on the project for a Service Industry who don't maintain any Inventory (Non-Perpectual Inventory). I am having some doubts after these steps..
    1.      In the SAP Business One main menu, choose Administration  ® System Initialization  ® Opening Balances  ®  G/L Opening Balances.
    The G/L Opening Balances u2013Selection Criteria window appears.
           2.      Set the required G/L account range, and then, choose OK.
    The G/L Opening Balance window appears.
           3.      If the fiscal year does not start on January 1st, change the Date to the required date. Enter offsetting G/L account in the windowu2019s header, and fill in the relevant details.
    Here in  "Opening Balance Account" Field, I am not sure which account to be enter for the opening balance transactions.
    Can you guide me in this.
    Thanks
    Manickam

    Dear Manickam,
    Create one opening balance for G/L account and pick it in the opening balance field and it is only temporary account and doesn't affect your balance sheet
    Regards,
    Mukesh

  • GL Account Openning Balance

    Hi
    In GL account there was no closing balance in 2007 but we are able to see Openning balance in 2008 as cumulative balance
    How is it possible?
    Regards
    Prasad

    Dear Prasad,
    The system will transfer the Balance sheet account balances for the next fiscal year as opening balance.
    P&L account balances will be transfered to the retain
    earning account.
    The value of profit and loss of the previous year is always carried forward to the retained earnings account, for the P&L acoounts have zero opening balance.
    For futher information please take account the note 176067 and 402917.
    I hope the above information is of help.
    Renata

  • Template for G\L account opening balance

    Hi
    which is the DTW template for importing G\L account and BP
    opening balance.
    Are there any default columns that need to be set ?
    Regards
    swapnil

    I am using :
    in header:
    RecordKey     JdtNum     AutoVAT     DueDate     Indicator     Memo     ProjectCode     Reference2     ReferenceDate     Reference     Series     StampTax     StornoDate     TaxDate
    1          tNO     20070207          Transaksi 1                              tNO          20070207
    2          tNO     20070207          Transaksi 2                              tNO          20070207
    3          tNO     20070207          Transaksi 3                              tNO          20070207
    and in line:
    RecordKey     LineNum     AccountCode     AdditionalReference     BaseSum     ContraAccount     CostingCode     Credit     Debit
    1     0     130010               161010          1000     
    1     1     161010               130010               1000
    2     0     133000               161010          200     
    2     1     161010               133000               200
    3     0     130110               161015          500     
    3     1     161015               130110               500
    Rgds,

  • G/L  Account  opening Balances.

    hi
    Experts,
    is there any Function Module/BApi  for  G/L(  cash/ bank)  opening  balance as  on date.
    Thanks &  Regards
    Spandana

    Hi,
    You can upload opening balance to any GL account through a BDC program.For this you need to co ordinate with your ABAP consultant.
    Or if your trial balance was having less number of items, you can pass a journal voucher with Tcode F-02.
    Hope this will help.
    Thanks,
    Srinu

  • GL Account opening balance & closing balance

    Hi Experts,
    We have loaded the infocube 0figl_c10.
    Our report requirement is as follows:
    Input variables:
    Fiscal year: 2010
    Company code:xxxx
    GL Accoutn: X
    Expected Output
    000.2010 - Opening balance, Debit, Credit, Closing balance
    001.2010 - Opening balance, Debit, Credit, Closing balance
    002.2010 - Opening balance, Debit, Credit, Closing balance
    003.2010 - Opening balance, Debit, Credit, Closing balance
    004.2010 - Opening balance, Debit, Credit, Closing balance
    005.2010 - Opening balance, Debit, Credit, Closing balance
    006.2010 - Opening balance, Debit, Credit, Closing balance
    007.2010 - Opening balance, Debit, Credit, Closing balance
    008.2010 - Opening balance, Debit, Credit, Closing balance
    009.2010 - Opening balance, Debit, Credit, Closing balance
    010.2010 - Opening balance, Debit, Credit, Closing balance
    011.2010 - Opening balance, Debit, Credit, Closing balance
    012.2010 - Opening balance, Debit, Credit, Closing balance
    013.2010 - Opening balance, Debit, Credit, Closing balance
    014.2010 - Opening balance, Debit, Credit, Closing balance
    015.2010 - Opening balance, Debit, Credit, Closing balance
    016.2010 - Opening balance, Debit, Credit, Closing balance
    I tried by keeping offsets but unable to get the exact figure in the output.
    If anyone can share some thoughts it would be helpful.
    Regards,
    Bhadri M.

    Hi Bhadri,
    In your cube you will have a key fig 0BALANCE which is a calculated value. The calculation could be found in the start routine in the flow. The balance in a particular month will be carried forward in the logic. You can do the following....
    I'm not sure about posting periods 000, 013 to 016....what balances needs to be carried forward to these. May be you can check with the functional folks.
    Create 16 RKFs, take key fig and restrict it with 0FISCYEAR (choose user input variable on it) and 0FISCPER3 (posting period).
    For 001.2010:
    Opening balance - Take 0BALANCE key fig and restrict with 012 (0r 016, check with functional. I think it should be 012) for 0FISCPER3 and put offset 0FISCYEAR variable - 1.
    Debit/Credit - Take 0DEBIT/0CREDIT key fig and restrict with 001 for 0FISCPER3 and 0FISCYEAR variable.
    Closing balance - Take 0BALANCE key fig and restrict with 001 for 0FISCPER3 and 0FISCYEAR variable.
    For 002.2010:
    Opening balance - Take 0BALANCE key fig and restrict with 001 for 0FISCPER3 and 0FISCYEAR variable.
    Debit/Credit - Take 0DEBIT/0CREDIT key fig and restrict with 002 for 0FISCPER3 and 0FISCYEAR variable.
    Closing balance - Take 0BALANCE key fig and restrict with 002 for 0FISCPER3 and 0FISCYEAR variable.
    Similarly create other RKFs.

  • Opening Balance of Banks in G/L Accounts

    When I want to Show the opening balance in Bank ( G/L ) Accounts I am following the sequence mentioned Below. But It is not clear for me . Can U guide me.
    Administration -> System Initialization -> Opening Balances -> G/LAccounts Opening Balances  In G/L Accounts Opening Balance Screen when we select Specific Bank G/L Account Number the same is Disappearing from the list of G/L ACCOUNTS. Due to this I am unable to enter Opening Balance for the required Bank. What is the reason.
    May be my procedure is wrong, please guide me.

    Santosh,
    As I suggested in one of my earlier messages, You may use Journal Entry to bring in Opening Balances.
    Debit       Bank Account G/L
    Credit      Opening Balance Account.  (this is the account you would be creating to balance all the opening balance import)
    Suda

  • Importing G/L Accounts,B/P opening balance and Stock opening bal throughDTW

    Hi All
    I want to import following through DTW:
    1. G/L account opening balance
    2. BP opening balance
    3. Stock opening balance
    Please suggest me name of templates with examples
    Please dont post the links of the threads related to my question. I know there are already many threads posted for this question but im confused with it because every thread suggests diffrent templates.
    Simply tell me the name of thread used for these 3 opening balance and with examples of fields used in template.
    ThankS
    Edited by: Malhotra Saurabh on Apr 7, 2010 5:54 AM

    Malhoutra,
    Using a JE template is almost the same as using a document template (you will have to use service typre documents). The document will create a JE.
    The difference is that it allows you to create the actual document types which make up the BP balance, so the team will be able to see each open invoice and credit note separately. This helps when reconciling future payment receipts and providing good aging reports.
    You can achieve the same by creating a line for each document in your journal lines template.
    You will need to use documents for items as you are bringing in quantity and values which cannot be done with journals. If you are managing item cost by warehouse, you will need a document line with quantity and cost in each warehouse for each item. Using the inventory general entry template will set the item cost properly in the system in the Master data when processing new transactions.
    Gordon is correct, there are many ways to achieve what is required, each partner will use what they are used to and know will work for the customer - as each customer is different too.

  • How to query the opening balance for an specific account for an spec. date

    Hi all,
    for my user query I need to calculate the opening balance for an cash account for an specific date.
    Any ideas, how can I do this?
    Or may be you know a field in an SBO table that already contains information I need...
    Best Regards,
    Inna

    Hi Inna,
    to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :
    Symptom
    How to find the opening balance of a business partner or G/L account.
    Other terms
    Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One
    Reason and Prerequisites
    Consulting
    Solution
    There are several possible approaches:
    Approach 1 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 2 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data.
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.
    Approach 3 - G/L Account Opening Balance:
    1. Go to Financials -> Chart of Accounts -> click on the account name once.
    2. Click on the orange link arrow next to the field 'Balance'.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 4 - Business Partner and/or G/L Account Opening Balance:
    1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.
    2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.
    3. Ignore the red system message in the bottom of the screen.
    4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.
    5. Copy the query below:
               SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1]  T0 WHERE T0.[TransType] = '-2'  and T0.[ShortName]  = '[%1]'
    6. Click on 'Save' and give the query an appropriate name and select the appropriate category.
    7. Click on 'Execute'.
    8. Click on 'Existing Values'.
    9. Select the G/L account or the Business Partner name from the list and click on 'OK'.
    10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.
    All the best,
    Kerstin

Maybe you are looking for