How to show GL Account Balance amount in Ledger Report.

Hi,
We need to show General Ledger balance based transaction wise how we can show GL Account Balance where it will store which table and which filed.here below query is there here only I need to add balance after Total please guide me.
select T0.transid,T0.number,T2.seriesname,T0.refdate,T0.baseref,T1.account,T1.shortname,T3.acctname,T1.credit,T1.debit,T1.credit+T1.debit as Total,T3.CurrTotal,T0.ref1,T0.ref2,T1.ref3line,T0.memo,T1.paymentref, T1.ProfitCode, T1.OcrCode2, T1.OcrCode3,
                      T1.OcrCode4, T1.OcrCode5,T1.U_Naration as RowNarration,T0.U_naration as DocumentNarration from OJDT T0
inner join jdt1 T1 on T0.transid=T1.transid
inner join nnm1 T2 on T2.series=T0.series
inner join oact T3 on T3.acctcode=T1.account
where T3.acctcode='1030101003'
Regds,
Sampath

hi sampath,
I giving u fair idea how to show g/l account balance
There is a field in JDT1 - journal entry rows - JDT1.DebCred which is indicator when g/l account
is debited / credited,it is filled with value D or C.
You can add Case syntax in existing query with condition  JDT1.DebCred = 'D' then
JDT1.Debit + Opening/Closing balance and if JDT1.DebCred = 'C' then
JDT1.Credit - Opening/Closing balance.
It requires much time & effort to build this query.
Edited by: Jeyakanthan A on May 14, 2009 3:54 PM

Similar Messages

  • How to show a Account member (date type) in reports??

    Hi,
    I have a Account member of date type.
    but when I am using that member in reports it is not showing me the date that I have entered in planning web form.
    I have the same member in planning web form and it is showing me proper date.
    Eg: 19/Dec/1985 is showing as 19851219 in report.
    How to display it in proper date format???
    Thanks,
    Sourabh

    I think you might be using Essbase database connection in reports where dates are stored as numbers. You probably need to use Planning database connection on your reports to make date data type show up correctly.

  • How to Print the Account Balance in Outgoing Payment PLD

    Hello Experts
    How to Print the Account Balance in Outgoing Payment PLD
    Dixit Patel

    Hi,
    you can use udf in the outgoing payment to record  the vendor's account balance and then using the query FMS ;
    select balance from ocrd where cardcode = $[$4.0.0]
    Assign the query in the UDF so that each time after entering the vendor code, the balance appears.
    After add the payment, the balance is recorded.
    In PLD, you can create the UDF field to make the balance appears in the outgoing report.
    Rgds,
    JimM

  • How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35

    Hello,
    Please provide your input for the below query:
    How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35?
    Regards,

    Hello,
    Thanks a lot for replying.
    I have done new posting KR (vendor Invoice), where in General Ledger View the Pofit Cneter got populated in the vendor line item because of the doc spliting.
    Now when I hae trying the do assessment of the vendor balance as directed below, no sendor is getting selected.
    Please help me how to do the assessment of reconciliation account.
    Regards,

  • How to remove an account balance of itunes, but my mind is Mexican American was before, and I want to change the country to see my purchases in the store hise U.S.

    how to remove an account balance of itunes, but my mind is Mexican American was before, and I want to change the country to see my purchases in the store hise U.S.

    Buy something for more than the balance and charge the remainder to a credit card, or write Apple and ask them to keep the balance.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • How to show muliti language data correctly using webi reports

    Hi ,
    Can you please suggest me how to show multi language data correctly in webi reports .
    Do we need to install any lang pack in both server and client machine ?
    Thanks & Regards
    Venkat

    you mean using translation manager? or data from DB? or both.
    You need to make sure that your DB is already configured for multiple languages.
    Enable the OS for multi languages
    On XIR3.1, you will need to install language packs on the processing servers.  then you can utilize translation manager.
    Installation of Language Packs are a pain to install and update.

  • How to get On Account Balance for a Customer in Accounts Receivables(AR)

    Hi,
    Pls let me know how i can get the On Account Balance and Customer Balance for a particular customer in AR.
    Pls let me if there is any SQL query or function availabe to get On Account Balance in AR.
    Is On Account Balance and Customer balance is same in AR.
    Pls let me know how i can get both the values.
    regards
    Udit

    try to join your query from these tables:
    1.Customer - RA_CUSTOMERS_ALL
    2.Customer Name - RA_CUSTOMERS_ALL
    3. Ship to /Bill to & Location - HZ_CUST_ACCT_SITES_ALL and RA_TERRITORIES
    4.Account Balance - AR_PAYMENT_SCHEDULES_ALL
    5.Current Balance - AR_PAYMENT_SCHEDULES_ALL
    if you additionally need aging try to set from here
    a)1-30 Past - AR_PAYMENT_SCHEDULES_ALL
    b)31-60 Past - AR_PAYMENT_SCHEDULES_ALL
    c)Over 90 Past - AR_PAYMENT_SCHEDULES_ALL
    This way you can achieve the outcome

  • How to upload the account balances

    I need to upload the gl account balances. How to upload the gl balances from legacy system. There is any t.code in SAP to upload. Please guide me step by step in this regard

    use LSMW To upload from your legacy system
    http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc
    Points will be appreciated
    Regards,
    Zaid

  • How to review Bank Account Balance by Profit Center

    Dear all,
    I need to monitor bank account balance by Profit Center.
    Is there any way that non revenue account transaction can be posted to Controlling?
    Giang

    Thank you very much.
    Now I understand how it works to include additional BS account to controlling.
    But it seems with only business area, company code and valuation area, the derivation rule is not strong enough for my requirement.
    Actually I am seeking to have another 3 dimension for reporting in GL in addition to GL Account.
    Data is posted from FI-CA.
    In FI CA transaction, I always see Business Area.
    So I lack another 2 fields to make up the 3.
    In this case, should I use custom fields in FI-CA and modify the GL posting procedure to map them to corresponding reserved fields in FI?
    Thanks
    Giang

  • How to find wiTunes account balance

    How do I find iout my balance? Where does it appear?

    You mean your account balance if you have redeemed an iTunes Gift Card?
    In iTunes, click on "iTunes Store" on the left side of the screen.  If you are logged in you will see your balance to the left of your ID near the top of the screen.
    You can also see it if you view your Account Information
    SCR

  • HT1918 How to finish my account balance so I can change region?

    Can somebody plz help me I don't know what to do with the account balance only like 3 cents left

    Click here and request assistance.
    (65990)

  • HT1349 HOW TO CHECK ITUNES ACCOUNT BALANCE?

    June 3rd, 2013
    Hello,
       I just have one itunes question to ask: where do I go in itunes to see/retrieve my account balance?
    Thank you so much for your time.
    Sincerelly,
    Miss Shayla McCartney
    HAVE A WONDERFUL SUMMER!!

    From your itunes on the computer, you should be able to click on:
    iTunes store
    Account ( under quicklinks on the right hand side of the window)
    See all (Under purchase history)
    It may ask for a password!
    I hope this helps
    P.S. (It should also be located in the upper left next to your apple id email)

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

  • How to show custom header in pdf generated from report

    Hi,
    I  have created a report that is used to display Leave record of employees in an organization. After which it creates a pdf file and send it to respective HOD.
    In this case I am trimming generated output and sendinf only required fields to the pdf.
    When pdf is getting generated it shows program name as Title of that report.
    I want to change this header to my own header along with some variable but not sure how I can do so.
    I have also tried TOP-OF_PAGE but problem in this case is that I am still getting program name along with it.
    To generate pdf I have used function :
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid   = spoolid
          no_dialog     = ' '
        importing
          pdf_bytecount = l_no_of_bytes
          pdf_spoolid   = l_pdf_spoolid
          btc_jobname   = l_jobname
          btc_jobcount  = l_jobcount
        tables
          pdf           = l_pdfdata.
    Then I had converted this pdf to Binary
    call function 'QCE1_CONVERT'
        tables
          t_source_tab         = l_pdfdata
          t_target_tab         = lit_record
        exceptions
          convert_not_possible = 1
          others               = 2.
    Then I had created subject matter and used FM : SO_NEW_DOCUMENT_ATT_SEND_API1: to send mail to respective HODs.
    I tried dubbing it but couldn't get any variable which is holding program name.
    Sorry for putting in wrong forum.
    so Closing it from this forum and raising the same in ABAp-General forum.
    How to change header of pdf in generated report
    Edited by: gaur.yagyesh on Apr 16, 2010 4:03 PM

    To make it more clear to my question.
    I am using sun one webserver 6.0 sp6.
    I need to enable custom header on the webserver so that any request having a custom http header coming to webserver should be captured by the webserver.
    Thanks,

  • How to show up  Q in a character mode report

    do you have a prt file to show up this character Q if the report will be printer in character mode.
    please help.
    thanks.
    jully

    The code below shows how to display the total number of pages in a report like "Page 1 of 8."  However, it doesn't work if you execute the program as a background jobs.
    CODE
    " Declare a variable
    DATA L_PAGE_COUNT(5) TYPE C.
    "  Copy this code to the end of program
    "  Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
    Refer : http://www.sap-basis-abap.com/sapab007.htm

Maybe you are looking for

  • Report with a Download link for a Pdf stored in Blob in database FND tables

    We attach a pdf file in the Receivables invoices in Oracle EBS. We use APEX to report from EBS tables. We have a requirement to have a APEX report to display the pdf attached to the invoices with a capability to download the pdf. These pdf are stored

  • Desktop 5.6.2  w/ older versions on the server

    If clients are using various versions of XML Publisher, 5.0, 5.5, 5.6.1, or 5.6.2. Do I have to use the corresponding desktop utility to develop templates for those instances... Or is it just a matter of "dumb-ing" down your templates if the server i

  • ATP Issue in Sales Order change

    Hi Experts, I have implemented ATP exit "EXIT_SAPLATPC_002" for Sales Order. Every thing is fine and working as per my logic. There are two tables from the exit and they are T_ATPCSX and T_MDVEX. This is coming into the exit with some values. Based o

  • How can we specify the order of the predicates execution?

    I am going to write the following query select answer, answer_id from surveys s join answers a on s.survey_id = a.survey_seq_id where question_uid = 206400374 and insertdate = to_date('31/12/2012') and answer > 0;However, when I look at the execution

  • How to stop MBP with Retina from logging out when HDMI plugged in?

    When I plug in my TV to the new HDMI out port on the MBP +Retina, the screen turns blue (like it used to on my Mac Air), the resolution changes, but then when the sceen comes back I am at the login screen. Not only am I logged out, but all my apps th