SAP B1 query for  trial balance by Locations

Hi team
How i can take the trail report by location. or is there any query to take this report.
Thanks
Anantha Desai

Hi,
Please check this thread:
http://scn.sap.com/thread/1188738
Thanks & Regards,
Nagarajan

Similar Messages

  • The client is looking for trial balance and GL balance reports in Spanish

    hi sap techis
    I am facing a typical issue.the client is looking for trial balance report and GL balance report in Spanish language.the problem is if i change the language key from English to Spanish the entire language will be changed to Spanish is there any way by which without changing the language key in chart of accounts, we can obtain the reports in Spanish language.please help in taking out reports in Spanish from F.01 in Spanish
    Edited by: akausar on Apr 16, 2010 12:42 AM

    You have to translate all your financial statement version nodes from English to Spanish to be able to see Spanish texts in F.01.  To translate, execute T Code SE63 and choose Translation -> ABAP Objects -> Other Long Texts from the menu.  Then expand 'FI FI Balance Sheet/P&L Statement' and double-click on 'FIBS FI Balance Sheet/P&L Statement '.  Then change the source language to EN and target language to ES (they are greyed out but you will still be able to pick them from the drop-down menu).  Now put the cursor on Object Name field and press F4.  You will see the financial statements you have created in OB58.  It is a cumbersome task, but you have to drilldown to each node of your FSV and double-click on it and in the following screen you will see the English text on top.  In the bottom part of the screen you have to enter the Spanish text.
    Once you are done with translation, execute program RS_LXE_RECORD_TORDER and then push your translations into a transport request.

  • Query for account balance

    We need a query for customer balance
    Example :if i will give the from date 01.05.11 & to date 31.05.11 and from customer A & to customer E then in report data will display like Customer code ,Name, group,sales employee,last bill amt,last bill date,openning balance(from start to 30.04.11),total debit(from date 01.05.11 & to date 31.05.11 ),total credit(from date 01.05.11 & to date 31.05.11 ),last balance(31.05.11)
    Please reply ASAP

    Hi,
    You have broken few forum rules already:
    1. Never say ASAP on the forum. Here is a public forum. no one owe you anything
    2. You have never close your threads properly
    3. Sound like you are not B1 user. If you are, give your B1 version and PL
    4. Even if you are B1 user, report forum is the right forum.
    Thanks,
    Gordon

  • Query for highest balance for each BP

    I'm working on a query to assist with determining appropriate Credit Limits for our customers.  I have been asked to research if we can develop a query to give what the highest balance has been for each BP all in one report.  The target query will return back all of our current BP's and what their highest balance have been.
    I found the following query by Gordon that will return the highest balance for a specified BP and have been working to use this as a base to create my query, but haven't had any luck so far. 
    SELECT T.SHORTNAME, MAX(T.Balance) Max
    FROM
    (SELECT T0.ShortName, (SELECT SUM(T2.DEBIT-T2.CREDIT) FROM dbo.JDT1 T2 WHERE T2.SHORTNAME = T0.ShortName AND DateDiff(d,T2.DueDate,T0.Duedate) >=0) 'Balance'
    FROM dbo.JDT1 T0
    WHERE T0.ShortName = '[%0]' AND DateDiff(yy,T0.DueDate,GetDate()) = 0) T
    GROUP BY T.SHORTNAME
    Any help would be appreciated.

    Thanks for the help, but this calculates the current outstanding balance which is already available via the OCRD table.  What I'm looking for is the max Cumulative Balance for the BP.  We currently find that value by selecting the arrow for Account Balance from the BP and then finding the highest balance in the Cumaliative Balance (LC) field.  SAP is calculating this somehow and we would like to be able to run a query to return back the max cumulative balance for each BP in our system.  I'm not even sure this can be replicated in a query.  I'm going to look through the refdb.chm help file to see if I can find anything to help out.
    Any insight will be greatly appreciated.

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

    Hi 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,

  • Unable to query for GL balances

    Hi All,
    I'm using Oracle EBS R12.1.3. I'm unable to find a gl balance for a specific account. I can see there is information about it into the database but i cannot understand why it is not appearing into the application.
    Here are my steps:
    1. Navigate to GL Manager responsibility
    2. Inquiry > Account
    3. Query for specific code combinition
    4. No results
    I tried with another one and I receive data into the application. I tried to compared them in the database tables - gl_balances, gl_je_headers, gl_je_lines and they looks like similar data (flag, status, etc)
    Any ideas?
    Thanks in advance,
    Stoyanov

    Hi,
    Thanks for your reply.
    I ran the account analysis report and i'm able to see the data. Also - I can see this info in the Journals screen in GL. Any ideas why it's not showing in Inquiry > Account?
    Regards,
    Stoyanov

  • Datasource for trial balance

    Hi,
    I am on BW 7.4 and wated to know if I should use datasource 0FI_GL_10 or 0FI_GL_14 or 0FI_GL_4 to build a report on trial balance.
    Please let me know.
    Thanks,
    Sam

    Hi Sam ,
    0FI_GL_10  use this data soruce and instal business content .
    We have standard report for GL Trail report on virtual infocube .
    Regards
    Umashankar

  • Bapi for trial balance

    Hi Friends,
                    Iam searching for a BAPI for getting Trial Balance for a particular vendor account. Are there any pre defined bapis available for this or we need to develop manually?  Please provide your suggestions.
    Thanks,
    Regards
    Murali Krishna T.

    BAPI_AP_ACC_GETBALANCEDITEMS   Vendor Account Clearing Transactions in a given Period
    BAPI_AP_ACC_GETCURRENTBALANCE  Vendor Account Closing Balance in Current Fiscal Year
    BAPI_AP_ACC_GETKEYDATEBALANCE  Vendor Account Balance at Key Date
    BAPI_AP_ACC_GETOPENITEMS       Vendor Account Open Items at a Key Date
    BAPI_AP_ACC_GETPERIODBALANCES  Posting Period Balances per Vendor Account in Current Fiscal Year
    BAPI_AP_ACC_GETSTATEMENT       Vendor Account Statement for a given Period
    did u try any of the above ??
    Regards 
    Manthan

  • Financial Report Template for Trial Balance

    Dear All,
          I was prepared the financial report Template, for trail Balance as per Schedule VI (6) after completation of template i exucute the trail balance by the using of above template.
    For the execution of the above report i used the selection cretario i taken as "Annual Report" and i run the report - it has execuatated successfully.
    After that i changed my selection cretaria as a "Quartlly" and i run the Report,
    but in that report is showing some values , these values not showing in Annual Report.
        Please Guide to me.
    Message was edited by:
            Marc Riar

    Hi Atul,
    SBO uses two different templates for the Trial Balance Report based on the Period Selection. 
    <b>Annual Report
    Template: CBL1 - Trial Balance
    Quaterly, Monthly, etc.
    Template:  CBL4 - Periodic Trail Balance</b>
    So you have probably customised CBL1 (per Schedule VI (6)) which works for Annual.
    <i><b>You have to also customise CBL4 - Periodic Trail Balance the same way so that it can work for the others.</b></i>
    Regards
    Suda

  • 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

  • SQL for Trial Balance

    CATG_C CATG_NAME
    P100O0  catg1
    P30007  catg2
    PCATG  PCODE       CAL_YEAR     CAL_MONTH        AMT_DR        AMT_CR
    P10000 P10005      2008.000         1.000          .000  36000000.000
    P10000 P10003      2008.000         2.000          .000    560000.000
    P10000 P10002      2008.000         2.000          .000    133437.640
    P10000 P10002      2008.000         3.000          .000    146048.974
    P10000 P10003      2008.000         3.000          .000    288661.660
    P10000 P10003      2008.000         4.000          .000    280000.000
    P10000 P10003      2008.000         5.000          .000    280000.000
    P10000 P10002      2008.000         5.000          .000    294609.664
    P10000 P10003      2008.000         6.000          .000    280000.000
    P10000 P10002      2008.000         7.000          .000    426840.612
    P10000 P10003      2008.000         7.000          .000    280000.000
    P10000 P10003      2008.000         8.000          .000    280000.000
    P10000 P10003      2008.000         9.000          .000    280000.000
    P10000 P10002      2008.000         9.000          .000    159187.257
    P10000 P10003      2008.000        10.000          .000    280007.940
    P10000 P10002      2008.000        10.000          .000    149168.977
    P10000 P10003      2008.000        11.000          .000    284610.181
    P10000 P10002      2008.000        11.000          .000    151189.127
    P10000 P10001      2008.000        12.000          .000    161163.281
    P10000 P10003      2008.000        12.000          .000    420194.000
    P10000 P10002      2008.000        12.000          .000    296254.611
    P30007             2008.000          .000   4560996.105   9620358.049
    P30007             2008.000          .000      5557.680   2176453.514
    P30007             2008.000          .000  10287670.753     57232.353
    P30007             2008.000         1.000   1533020.295   4393879.028
    P30007             2008.000         1.000    108798.239          .000
    P30007             2008.000         2.000    107270.196          .000
    P30007             2008.000         2.000       506.849    340271.340
    P30007             2008.000         3.000    380796.417          .000
    P30007             2008.000         3.000      7335.038    408199.990
    P30007             2008.000         4.000    810559.309     24344.992
    P30007             2008.000         4.000     34564.419    754345.507
    P30007             2008.000         5.000     79928.859          .000
    P30007             2008.000         5.000       112.201    127096.886
    P30007             2008.000         6.000      8963.044    222952.271
    P30007             2008.000         6.000    360968.836          .000
    P30007             2008.000         7.000    168684.214          .000
    P30007             2008.000         7.000    364852.028    379663.303
    P30007             2008.000         8.000    154149.456    187317.515
    P30007             2008.000         8.000    159241.700          .000
    P30007             2008.000         9.000    384989.372          .000
    P30007             2008.000         9.000       622.620    296899.485
    P30007             2008.000        10.000       604.257    150284.588
    P30007             2008.000        11.000       411.569    185889.068
    P30007             2008.000        11.000     34045.272          .000
    P30007             2008.000        12.000     21024.611     66384.480based on the data above I want produce a report in this fashion
    CATGCO CATGN         OPBAL DR    CURMNTHPUR CurMnthSale
    P10000 catg1  40553762.032 CR    877611.892
    P30007 catg2    229460.839 DR     21024.611     66384.480I will ask user to enter period of report in the format, YYYYMM.
    Lets say the user enters 200812,
    then for Column "opbal" , the report should sum abs("amt_dr-amt_cr") prior to "200812".
    for Column "dr/cr", should display "DR", if the value of "opbal" is +positive, and "CR", is case the value of the "opbal" comes -negative.
    for the Columns "curMnthPur" and "curMnthSale", the report should just
    display the data for the current december("12") month.
    ty in advance

    Hi,
    user613563 wrote:
    CATG_C CATG_NAME
    P100O0  catg1
    P30007  catg2 ...Thanks for posting the data. It would be more useful to post INSERT statements, so people could easily replicate your data.
    based on the data above I want produce a report in this fashion
    CATGCO CATGN         OPBAL DR    CURMNTHPUR CurMnthSale
    P10000 catg1  40553762.032 CR    877611.892
    P30007 catg2    229460.839 DR     21024.611     66384.480
    So the original table has any number of rows per catgco, but your output will have only one row per catcgo.
    That sounds like a job for GROUP BY.
    I will ask user to enter period of report in the format, YYYYMM.
    Lets say the user enters 200812,
    then for Column "opbal" , the report should sum abs("amt_dr-amt_cr") prior to "200812".Using NUMBER columns like cal_year and cal_month to store dates is a bad idea. You should use a DATE column instead.
    If you're stuck with this table design, you'll proablay want to convert the NUMBER columns into a DATE in the query.
    for Column "dr/cr", should display "DR", if the value of "opbal" is +positive, and "CR", is case the value of the "opbal" comes -negative.CASE statements are good for if-then-else logic like this.
    Give it a try.
    Write a query to do just part of what you need.
    Test it, and correct it if necessary.
    When you've got something working perfectly, add a little more.
    For example, start by writing a GROUP BY query that produces one row per catgco. Don't try do display the totals or anything else, just the catgco.
    When you've got that working, include the total amount in the output.
    When you've got that working, add a WHERE clause that limits the query to the year and month requested.
    If you get stuck, post your query, and an explanatiojn of what you're trying to do next.

  • PLD for Trial Balance with no Title account balance required

    Dear All,
    I have made a pld for Trail Balance and when the print out is done it is seen that Titles accounts which have zero balances are also coming. I want to hide all Title accounts which have null value. How this can be achived through PLD in SBO 2005B.
    As far as clicking in the Hide Title accounts in Trail Balance screen is concerend is also not fullfilling the requirement as I want that title account in which gl accounts have balance should come. for example means a Title account has 5 GL accounts and all GL has some balance now in the PLD the total should come through the Title account and below its individual Gl balances should come.
    Please guide if you have any solution or any formula field can be applied in which i can hide title account which is not linked to any active GL account and has no balance.
    regards,
    kamlesh

    Hi,
    You can try to add a few formula fields:
    Where:
    F_XX1: is the account balance
    F_XX2: is the flag whether its a title or active account
    F_XX3: F_XX1!= 0 --> should retrieve value 1 if the balance is not 0
    F_XX4: F_XX4!= title (not sure how its stored in the system) --> should retrieve value 1 if it's not a title account
    F_XX5: F_XX3*F_XX4==1 --> should retrieve value 1 only if neither the previous statements are true so if it's not a title account and the balance is not 0
    Then you can link the GL account field to this last formula through the Link To option of the field, which would make them visible only if their value is not 0 and they are not title accounts. You can make all these formulas invisible just display the GL account field.
    Hope it makes sense.
    Regards,
    Nat

  • FSG Column Sets for Trial Balance

    I am trying to duplicate the FSG Column Set that will give me the same data as the Detail Trial Balance.
    I can get the Opening Balance - Bal-Actual (FY START)as the amount type in the Column Set
    I can get the Ending Balance YTD-Actual
    But how do I get the Period Activity figure?

    Have you tried setting the Period Activity column with the PTD-Actual amount type?

  • Query for Report Asset By Location

    Dear All,
    I want to record asset using add on SAP. I want to make a query report that show asset per location. I'm using field U_User01 to record location of FA. The report will contain Code of FA, Name of FA, location, Acquisition value, Accum Depr and Net book value. This report will be made per period.
    Is there any one can help me to make the query ?
    Thanks a lot for your help

    Hai..is there anyone that can help me to solve this problem ? Thanks for the help

  • SAP Standard Report for Stock Balances

    Hi All,
    Do we have a standard SAP report that gives the output in this format (or something close to this)
    Date     Stock     Plant 1               Plant 2          
              Material 1     Material 2     Material 3     Material 1     Material 2     Material 3
    1/1/2008     Opening Stock                              
         GR                              
         GI                              
         Closing Stock                              
    1/2/2008     Opening Stock                              
         GR                              
         GI                              
         Closing Stock                              
    1/3/2008     Opening Stock                              
         GR                              
         GI                              
         Closing Stock                              
    Regards
    Tom

    Hi Jack,
    As per your report requirement, there is no standard transaction available in SAP.
    You have develop Z- Report for your requirement.
    But keeping in mind the follwoing constarints
    1) If it is a huge number of materials, Then the report will hours together. It may be lead to performance issue of the System. Because it has to get huge data from different tables as per you logic.
    2) The report is not suitable for print. Because it will run pages together.Since you are including Opening balance, GR details, GI details and Closing balance for each materail.
    Thanks & Best Regards
    Girisha M S

Maybe you are looking for

  • How to change a item's color programmatically?

    I want to change a item'color,(old background_color white,change it to gray)in a plsql program,is there any help from u all?

  • Do we need a SAP PI system to use SAP SRM enterprise services?

    Hi, I am working in a project where we need to use some enterprise services like ([Maintain Purchase Request|http://wiki.sdn.sap.com/wiki/display/ESpackages/MaintainPurchaseRequest]) for SAP SRM 7.x. We have an ECC 6 system also in the landscape but

  • Speeding up Leopard on a PowerBook 1.67 PPC

    I have an older PowerBook (1.67mHz PPC) and I had upgraded it to Leopard, thinking I was doing my son a favor by upgrading. Silly me, it is now so slow that NOTHING goes on except for the spinning beach ball of death. he says it will get to a screen

  • How can I delay auto-start of a program at boot?

    Hi, I have set BOINC-manager as auto-start item in system preferences. However, I would like to set a delay to the start of BOINC-manager of e.g. 3 minutes after startup of the computer so that Tech Tool Pro can finish it's checks before BOINC starts

  • Can i use fonts purchased from Adobe in commercial online videos?

    Hi i would like to purchase some fonts from Adobe and use them for text in my commercial online videos that people get paid access to watch. These fonts have embedding permission of Print and Preview. Please let me know whether this use infringes the