How to diplay total *** Balance for a G/L Accnt For a Fiscper in report

Hello All,
We have a BI Query that gives output in the following order:
Comp Code; Profit Centre; Fiscper; G/L Account; Cumulative Balance.
Hence, under the Cumulative Balance field we get the value for the G/L Account for that fiscper For individual profit centres.
I want to add a filed in the output, that will show THE TOTAL ***. BALANCE FOR THAT G/L ACCOUNT FOR THAT FISCPER IRRESPECTIVE OF THE PROFIT CENTRE as well.
Please suggest how this can be achieved.
Thanks a lot.
Regards,
Labanya.

Hello Daya,
Thanks for the reply.
If I have 10 G/L Accounts, then the overall result field will give me the total Cumulative Balance for all the 10 G/L Accounts taken together. We want Cumulative Balance for each of the 10 G/L Accounts seperately.
Secondly, even if the Overall result gives us the correct value, our requirement is such that we need a seperate column.
Eg: For CompanyCode X, we have the following:
Total *** Balance for GL1 for period1 for PC1 = 5.
Total *** Balance for GL1 for period1 for PC2 = 5.
Therefore Total *** Balance for GL1 for period 1 = 10.
Total *** Balance for GL2 for period1 for PC1 = 6.
Total *** Balance for GL2 for period1 for PC2 = 6.
Therefore Total *** Balance for GL2 for period1 = 12.
Desired output:
CompanyCode;   ProfitCentre;  Fiscper;  G/LAccnt ;  New Column ;  Existing ***. Balance
          X                     PC1                1             GL1                  10                              5
                                                                        GL2                  12                              6
                                   PC2                1            GL1                   10                              5
                                                                        GL2                   12                             6
Please advise. (Kindly follow the color n font codes above, since I was not able to insert table or create para-s).
Thanks a lot.
Regards,
Labanya.

Similar Messages

  • How to get Open Balance for the year and Total Ending Balance?

    For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
    Is there any function module available? or should I read from some tables? Please advice.

    Hello Paul,
    You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
    BAPI_GL_GETGLACCBALANCE      
    BAPI_GL_GETGLACCCURRENTBALANCE
    BAPI_GL_ACC_GETBALANCE      
    BAPI_GL_ACC_GETCURRENTBALANCE
    BAPI_GL_ACC_GETPERIODBALANCES
    BAPI_COND_VAL_DECRE_BALANCES
    You might have to put in some of your own logic after the BAPI call to get what you want.
    Hope this helps,
    Cheers,
    Sougata.
    p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
    Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM

  • How to calculate Opening balance for a customer?

    Hi Experts,
    How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
    Thanks in Advance.
    Sharat Chandra.

    Say for example ..
    Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
    First get all items from BSEG ..
    Select * from BSEG where KUNNR eq 'K'
                                     and BUKRS eq 'C1'
                                     and GJAHR eq '2008' .
    Sum all the DMBTR values (This is the total value).
    Second get the cleared items form BSAD for the above entries;
    Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
    Sum all DMBTR values ( this is cleared value).
    Third substract the cleared value from total to get Open value.
    This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
    Thanks,
    Aditya. V

  • How to see Trial Balance for a Segment

    Hi Experts,
    Does anybody has idea on how to see Triala Balance for a Segment ?
    In Standard Reports for Balance Sheet and Profit & Loss, SAP B1 has provided option for filtering on Segment, but the same is not true for Trial Balance.
    BR
    Samir Gandhi

    Hi Samir,
    yes it is possible to display Trial Balance in Segment format.
    open Trial Balance Report, in the Upper right hand of the of the window next to G/L Accounts you can find the "FIND" button, click that one then the Find G/L Account window opens. from this window you cans Select Segmentation accounts.
    regards,
    Fidel

  • How to enter opening balance for GL A/C(Ex. Bank A/C, Cash A/C, Vendor A/C)

    Hi Expert,
    How to enter opening balance for last year to closing balance to this year opening balance explain deeply helpful for me Thanks in advance.
    Example
    All Bank A/C, Cash Book, Vendors, Customers, like that how to enter closing to opening balance.
    With Warm regards,
    Selva

    Dear,
    As per SAP standard there is no need to carry forward the balances as the system will do a virtual carry forward into next year opening without creating any FI documents.
    If your business scenario demands then you can use the transaction code F-02 for posting a carry forward balances, this will not effect any of your balances but only creates a FI document.
    If your R3 version is SAP ECC5 or 6 then use the transaction code FAGLGVTR

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • How to calculate Average balance for an account

    Hi,
    How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
    I'm using the following query :
    SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id ='XX'
    and code_combination_id = replace it with code combination_id for account_xx
    AND l.effective_date <= '31-Jan-12' (january period end ??)
    GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
    There are some discrepancies in "average balance" after end of month (Jan-12)?
    How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
    Thanks,
    Kiran

    Kiran,
    Please let me know first, is Average Balancing feature enabled in your GL Ledger?
    Regards
    Muhammad Ayaz

  • Vendor Total Balance for F.18 in script @ first page

    Hello sir,
    We use F.18 for vendor balance print. But according to client's requirement we have copied formF130_CONFIRM_01 to ZF130_CONFIRM_01 and made changes as per requirements.
    But client requires that total balance would be come first at the beginning of MAIN widows and total balance for particular vendor is calculated after print of line item table at the end of the page  in standard program SAPF130K.
    So, What should I do to print total vendor balance in very first of the page without changing in standard program ?

    Hi,
    Inside the form,add the program lines inside that window.
    Inside the program lines,read the internal table to calcualte the total and assign the total to a variable.
    Now use this variable to display the total infront of the main window.
    Hope this solves your issue.
    Jshree.

  • How to find Opening Balance for Cash Book

    Hello Friends,
    I am Creating one Report for Cash Book.(Means : For Perticuler GL Account)
    I have no idea how to find Opening Balance for some Perticuler Date.
    Ex.
         Current date: 07/06/2007
        and i want to find Opening Balance on 26/05/2007
    i have Function for Calculating Opening Balance,                                                                               
    Group No: 3006             Business Object General Ledger Account  
    BAPI_GL_ACC_EXISTENCECHECK     Check existence of G/L account                  
    BAPI_GL_ACC_GETBALANCE     Closing balance of G/L account for chosen year  
    BAPI_GL_ACC_GETCURRENTBALANCE  Closing balance of G/L acc for curr year
    BAPI_GL_ACC_GETPERIODBALANCES  Posting period balances for each G/L account    
    but they show current opening balance, and i want for perticulaer Date..
             How to find Opening Balance for Cash Book
    please Help me out
    Thanks
    Gaurav Tripathi

    Hi Maruthi,
       Opening balance for a cutomer for a given period, u need to first find closing balance of that customer in the previous period. For eg. Suppose u want to find opening balance for customer 'A' for month of Nov'06, then U have to find wot was his closing balance in at end of Oct'06. Hope this solves u r problem

  • How to get Inventory Balances for PO data

    Hi Guys,
                   How to get Inventory Balances for PO data.
    from which tables I can get it ?
    We are migrating material data to a new plant.. for this process.. The inventory data also has to be moved..
    I am using BAPI_GOODMVT_CREATE to post inventory balances for the new plant.
    Thanks

    Hi,
    Try MARC, MSKA, MARD .
    Thanks,
    Krishna

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • How to enter opening balances for business partners

    pls let me know end to end process to enter opening balances for business partners.
    thank
    reema

    Hi Reema....
    There are two processes you can enter OB for BP.
    1. Bill waise
    2. Total
    If you want to go for Bill wise then its better to upload the AP and AR invoice under service category via DTW.
    If you want to go for Total BP balance then go to Administration> System Initialization> Opening Balance--> Opening Balance Business Partner.
    Regards,
    Rahul

  • How to get Opening Balance for Stock Report in Crystal Report?

    Dear Experts,
    I am using SAP B1 8.82.
    I am new to crystal report and now trying to do a monthly stock report with the following format:
    Species  BatchNum   OpeningBal   QtyInKD    QtyInRD    QtyInCD   Adj    ClosingBal
    ABC       T1234          17.43           10.16         17.43        0.00         0.00   10.16
    ClosingBal = OpeningBal + QtyInKD - QtyInRD - QtyInCD + Adj
    Parameters:
    - DateFrom
    - DateTo
    - WarehouseFrom
    - WarehouseTo
    I am having problem in defining formula to get the opening balance for each item. The report is grouped by species, whscode & batchNum.
    Anyone please share with me how to write the formula for opening balance in stock report.
    Thanks.
    Best Regards,
    Leng

    Hi
    Check the below discussion it may helps you
    Opening Stock Batchwise
    With Regards
    Balaji Sampath

  • How to find total memory for Oralce Memory utilization

    Hi,
    How to find total amount of memory utilized by oracle including SGA+PGA+PROCESS
    Thanks,
    Abk

    Is you OS 32-bit ? If you add /3gb in boot.ini , then it will limit oracle.exe to go only upto 3gb.
    Add /PAE in the boot.ini and remove /3gb.
    then use db_block_buffers parameter instead of db_cache_size
    for using db_block_buffers, you need to set another parameter also.
    use_indirect_data_buffers=true
    db_block_buffers=<number of blocks
    db_block_buffers=db_cache_size in kilobytes /db_block_size
    (since db_block_size is 8 kllobytes by default in Windows..
    {color:blue}Please refer Metalink Note : [373602.1|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=373602.1]{color}
    Edited by: Mahesh Menon on Apr 29, 2009 2:56 PM

  • How to derive Total Balance of a AR Transaction(Invoice)

    Hi All,
    Can any one please help me to find the Total balance (which we see in AR transactions form) by transaction wise.
    When I check the balance details of a transaction it is getting derived from many things like receipt,..
    So just not sure what are all the tables to be used for it.
    Thanks in advance.

    Please refer:
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/ar/techessy.htm
    regards,

Maybe you are looking for