Skip to Content

Query for Reconciled and Unreconciled transactions for a Bank GL

Hi,

How should I write the query to retrieve all the reconciled and unreconciled transactions for a specific bank GL for a specific Posting Date range?

I need columns like Date, Doc No., Check No., Debit Amt, Credit Amt, Status (Reconciled or Unreconciled).

Mainly I need help in identifying the column based on which I can determine whether a particular line in JDT1 table is reconciled or not in the Bank Reconciliation screen.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 15, 2015 at 06:27 PM

    Hi Rajesh

    You can use the Standard Sap Business one General for your above requirement.

    Go to => Financial => Financial Reports => Accounting => General Ledger. Select the unreconciled Externally for pending BRS and Reconciled Externally for postings that are reconciled externally.

    For Check No Check the Ref3 Row in Report Form Setting.

    Check the Below Screen shot for you Ref

    With Regards

    Balaji Sampath


    brs.png (24.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2015 at 06:28 AM

    Hi Rajesh,

    Hope this helps:

    SELECT

    T1.TransID,

    T1.[RefDate],

    T1.[BaseRef],

    T0.[Ref3Line] 'Check No.',

    T0.[Debit],

    T0.[Credit],

    CASE

    WHEN T0.[DebCred] = 'C' AND T0.[BalDueCred] = 0 THEN 'Reconciled'

    WHEN T0.[DebCred] = 'C' AND T0.[Credit] = T0.[BalDueCred] THEN 'Unreconciled'

    WHEN T0.[DebCred] = 'C' AND T0.[Credit] <> T0.[BalDueCred] THEN 'Partial'

    WHEN T0.[DebCred] = 'D' AND T0.[BalDueDeb] = 0 THEN 'Reconciled'

    WHEN T0.[DebCred] = 'D' AND T0.[Debit] = T0.[BalDueDeb] THEN 'Unreconciled'

    WHEN T0.[DebCred] = 'D' AND T0.[Debit] <> T0.[BalDueDeb] THEN 'Partial'

    END 'Status'

    FROM JDT1 T0

    INNER JOIN OJDT T1 ON T0.TransId = T1.TransId

    WHERE

    T0.[Account] = [%0]

    AND T1.[RefDate] >=[%1]

    AND T1.[RefDate] <=[%2]

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.