Bill Wise Outstanding

Hi ,
Our Client needs to know what are the JE's and A/R Invoices  that has been invoiced for some particular items.
We need a report like this.
Cust Code==Cust Name==Inv No==Inv Date==Inv Value==JE No==Bal Due Debit==Bal Due Credit
Cust 1
Cust Subtotal(Bal due Debit and Credit)
Cust 2
Cust Subtotal()
Cust n
Cust Sub total()
I am using the below query for bill wise outstanding and they need the item details in that bill..
SELECT T2.CardCode, T2.[CardName],T0.[RefDate],T1.[BaseRef],T1.[Debit],T1.[Credit],
T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo],T2.[MailCity],T3.GroupName
FROM dbo.OJDT T0 
INNER JOIN dbo.JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN dbo.OCRD T2 on T2.CardCode = T1.[ShortName]
INNER JOIN dbo.OCRG T3 on T2.GroupCode = T3.GroupCode
WHERE T1.[RefDate] BETWEEN '[%0]' AND '[%1]' AND T1.[BalDueDeb]<>'0'
union all
SELECT T2.CardCode, T2.[CardName],T0.[RefDate],T1.[BaseRef],T1.[Debit],T1.[Credit],
T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo],T2.[MailCity],T3.GroupName
FROM dbo.OJDT T0 
INNER JOIN dbo.JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN dbo.OCRD T2 on T2.CardCode = T1.[ShortName]
INNER JOIN dbo.OCRG T3 on T2.GroupCode = T3.GroupCode
WHERE (T1.[RefDate] BETWEEN '[%0]' AND '[%1]') AND  T1.[BalDueCred]<>'0'
Group By
T2.CardCode, T2.[CardName],T0.[RefDate],T1.[BaseRef],T1.[Debit],T1.[Credit],
T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo],T2.[MailCity],T3.GroupName
Order By
T2.CardCode, T2.[CardName],T0.[RefDate],T1.[BaseRef],T1.[Debit],T1.[Credit],
T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo],T2.[MailCity],T3.GroupName
Pls help me in achieving the desired report.
Thanks,
Vams

Hi Vams,
Try the below Query, it will display single database Outstand Details.
SELECT
T2.CardCode, T2.[CardName], T4.[ItemCode], T4.[Dscription],
T0.[RefDate], T1.[BaseRef],T1.[Debit],T1.[Credit],
T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo],T2.[MailCity],T3.GroupName
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OCRD T2 on T2.CardCode = T1.[ShortName]
INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode
INNER JOIN INV1 T4 ON T2.CardCode = T4.BaseCard
WHERE (T1.[RefDate] >= '[%0]' AND T1.[RefDate] <= '[%1]')
AND
T1.[BalDueDeb]!='0.00'
OR
If you need to print bill wise Outstanding Report. Try the below Query.
SELECT T0.[DocNum] As 'Doc No.', T0.[DocDate], T0.[DocDueDate], T0.[CardCode] As 'Customer Code',
T0.[CardName] As 'Customer Name', T3.[Dscription], T3.[Quantity], T3.[PriceBefDi],
T0.[DocTotal],(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,
Madhan

Similar Messages

  • V IMP : Report for Cash Customer Bill wise details

    Hi ABAP Gurus,
    Any body is having the report on Cash Customer Bill wise Details (with invoice details) ? Input criteria - Company Code, Plant, Cash Customer Name(customer Name given while creating cash customer) & Date Range(Document date). I am using the tables BSEC,BKPF,VBRP,BSAD,BSID. Out put i have to get Date, Doc No, Particulars QTY UOM Material Rate and Gross amount(Opening & Pending Amount) as line items.
    Please send me code on this. It's very urgent. Tomorrow is it's delivery date.
    I will reward points.
    My mail ID is [email protected]
    Thanks and Regards,
    Sundeep.

    Hi,
    Check the following links:
    http://www.sap-img.com/sap-fi.htm
    http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/FI_tutorial.html
    Regards,
    Bhaskar

  • Need Help to build a report "GL Account-wise Outstanding Balance as on"

    Hi All,
    i have a requirement to build a GL Account-wise Outstanding Balance as on date...
    report format
    1.Date of Transaction     
    2.Journal Source     
    3.Journal Category     
    4.Opening Balance     
    5.Debit for the period     
    6.Credit for the Period     
    7.Closing Balance
    Parameters
    Company Code
    Account No
    Account Description
    GL Date(As on)
    Currency
    my query
    select trunc(gjh.posted_date) "Date of Transaction",je_source "Journal Source",je_category"Journal Category",
    abs(sum((begin_balance_dr-begin_balance_cr))) "Opening balance",sum(period_net_dr) "Debit for the period",sum(period_net_cr) "credit for the period",
    abs(sum((begin_balance_dr-begin_balance_cr)+(period_net_dr-period_net_cr)))"Closing Balance"
    from gl_je_headers gjh,gl_je_lines gjl,gl_code_combinations gcc,gl_balances gb
    where gjh.je_header_id=gjl.je_header_id
    and gjl.code_combination_id=gcc.code_combination_id
    and gcc.code_combination_id=gb.code_combination_id
    and gjh.currency_code=gb.currency_code
    and gjl.set_of_books_id=gb.set_of_books_id
    and gjh.period_name=gb.period_name
    and gcc.segment1='01'
    --and gjl.code_combination_id=12854
    and gjh.currency_code='USD'
    and gb.actual_flag='A'
    and gjh.status='P'
    and gjl.status='P'
    and gjh.period_name=to_char(sysdate,'Mon-yy')
    group by gjh.posted_date,je_source,je_category
    pls someone help me to correct the query

    Well, you may want to look at the activity for one specific account, in detail, before you try to get involved in summarizing/grouping the detail. That way you will begin to understand what the grouping function in the SQL statement is going to do to you. You do not say what is wrong with your query, but I am assuming that your numbers for the Opening Balance and the Closing Balance are too high. Would that be a correct assumption? The problem, as I see it, is that you are joining the gl lines detail to the gl balances table. That means every record (row) in the join for that account for the desired period is going to have the beginning balance dr and cr columns. So if you sum up that column, you are going to sum up the beginning balances multiple times. What you need to do is first summarize your detail activity by the date, journal source, and journal category, and the debits and credits sums, for the period in question, and store that result, Then do a second query that joins that result set to the gl_balances table. Also not sure what null values are doing to you, if you have them in the debit and credit fields. You may have to convert the null values to a 0 as part of this whole process. Or do this via a custom program. Or if you have a data warehouse, you might want to see if you can handle this in the data warehouse. So some options to thiink about.
    John Dickey

  • Pending tds report bills wise and date wise

    Dear ALL,
      In my client place they want Pending TDS Certificate Report Bill wise  , it is there any standard tcode for that or else for this report preparation what are the tables we have to give to ababer for creating new report. Please guide to solve this issue.
    girija

    Dear,
    You can use following tables to get detailed report on TDS...
    1. WITH_ITEM
    2. J_1IEWTCHLN
    3. J_1IEWT_CERTIF_N
    4. BSIK or BSIS.
    Regards,
    Chintan Joshi.

  • Division wise outstanding

    Hi,
    I want to know whether there is any SAP standard report to see Division wise outstanding amount? Currently we are able to see customer wise outstanding, but we cannot differentiate between the product divisions. We are using Common Division while creating customer code data.
    Please let me know the transaction code for the same.
    Thanks,
    Amol

    hi,
    what i suggest is you give every division a different number range and then you can follow the following procedure in XL reporter:
    When defining a parameter, you will setup the Name, Category, Type, Attribute, Default Value and Prompt.
    Choose between 3 categories:
    Literal – when running the report, the user will type the information manually. For example, the date range
    Dimension – when running the report, the user will select one value from an existing list retrieved from SAP Business One database.
    Expression - when running the report, the user will select a range of values from an existing list retrieved from SAP database.
    regards,
    Siddharth.

  • Bill Wise Opening Balance

    Hai,
    I need to enter the Bill wise opening Balance of the customer/Vendor.
    Please let me know how this can be done
    regards
    Suresh S

    Opening balances for vendors/customers can be uploaded only through AP/AR invoice formats (templates defined by SAP) thru the dtw files.  While doing so need to decide if the inventory details can kept optional.
    Rgds
    Srividya

  • Item wise Outstanding

    Dear All,
    Can anybody provide me a query for Item wise outstanding. My client sells mechinary by taking some advance at the time of installation. The remaining payment will be divided into 30 days and 60 days.
    In aging i an not getting Item wise outstanding.How can i achive this .
    Regards,
    Srini

    Dear Srini,
    To get what you need, no query is that easy could be built.  Something must be down before the query:
    1. Those items must have single invoice per item.
    2. The item property or item group need to be set up to distinguish those items from all the other ones.
    This is just basic requirement. It may need more during actual query creation.
    Thanks,
    Gordon

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

  • Bill wise Breakup For  G/L Opening Balance

    Hi All,
                 Is there any provision in SAPB1 to give bill wise breakup for G/L opening balance. Most of the customers are asking this facility. If so please give me details.
    Thanks & Regards
    Pothalraj.P

    Hi, Isayah isaac,
                               Thanks to reply. If we use Journal entry for putting opening balance, will the system consider that amount as opening balance amount. I don't think so, the system will consider and also for a customer or supplier they might have more than one bills , how come it's possible to make journal entry for all the bills.Then It's become big task.
    Thanks & Regards
    Pothalraj.P.

  • Business Area Wise outstanding Bills During Vendor Payment

    Hi All,
    We have two Business Area, Vendor and Customer Invoices are generating Bus Area wise, During  Payment to Vendor Or Customer i am getting both the Business Area outstanding bills, but our requirement is when doing payment only respective business area bills should show for the users.  So kindly help in this regard as soon as possible.
    Regards,
    Sahil

    Hello Dear
    When you are making payment for Vendors through F-53,  then in the additional selection choose Others
    then from the pop up choose Business Area
    then enter the required Business Area and click Process Open Items Tab
    the open item related to this Business Area will Appears
    Hope it Helps
    Cheers
    IMK

  • Distribution channel-wise customer sales and outstanding report.

    Hi
    In our scenario, one customer is direct factory sales as well consignment sales customer also. We created two distribution channel. But customer master record is one.
    Now my client requires customer report:
    Total sales value and quantity - distribution channel wise
    Outstanding customer balance - distribution channel wise
    Please let me know if this report is possible.
    I tried with some reports: S_ALR_87012171 and S_ALR_87012186. But its showing total sales.
    I tried with VF05N. It shows billed amount and does not quantity.
    Please help.

    Distribution Channel-Wise Sales can be made avaialble thru Standard Reports or LIS / SIS.
    But, I believe you cannot get the Distribution Channel-wise Outstanding Report from SAP Standard. You will have to go for Z-Report Development.
    Speak to your ABAPer & get a new Report developed.
    Hope this helps,
    Thanks,
    Jignesh.

  • Outstanding MIS Report Problem.

    Hi,
    We need to generate report only current financial (transactions) year report no need to show previous financial year entries and also if we raised receipts in current financial year against the previous financial years bills also no need to show and this type of receipts we need to disable in outstanding report. Please guide me.
    Regds,
    Sampath kumar

    Hi,Neetu Dhami.
    It is not possible to hide the previous year Bill wise entries or against for this receipts entries in current FY entries. Which entries are not possible to hide? We are getting only current FY entries but the problem is receipt (Incoming payment) for the current FY which is against previous FY Bills (AR Invoice).how we can hide this type of entries. Please guide me with sample SQL code.
    regds,
    Sampath Kumar Devunuri.

  • Customer Outstanding line item reversal

    Hi Experts...
    As per Clients requirement we developed a report for customer Outstanding Payments.  Which will displays the customers bills sequential.  When ever they receive money post the transactions as per Outstanding bill wise.
    Now my problem is when they received amount from the customer instead of entering one outstanding bill they entered another outstanding payment... They want to reverse the transaction and adjust to post the correct O/s Bill.
    I tried in FB08 for doing reverse the transaction.. The error is coming like:Document includes cleared items: reversal is not possible.
    I tried in FBRA also there the error is coming like: Document no is not a clearing document...
    I am not able to reverse the document... Can u give some solution in this regards..
    Thanx in advance,
    With bestRegs,
    Bhaskar

    Hi
    when u Reset the Clearing Document in FBRA, u should give the
    Cleared Customer Receipt Document No Only, dont give Invoice Document
    No,  Make Sure the Document No is Correct or not at the time of FBRA
    Transaction.
    I hope this will help u,
    Best Regards,
    Rajashekar.

  • Servicewise customer outstanding report

    Dear Experts,
    I would like to know the configuration requirements which have to perform to know the service wise outstanding from each customer. I am working in a implementation project for Public sector client which renders services. As per the reporting requirement, it classifes the customer account groups into three ways. i.e Govt customer, non-govt customers and internal customers and in the balance sheet it is showing outstanding balance from each group by maintaining sundry debtors reconciliation account for each customer group seperately. This can done in standard SAP by assiging the respective Recon a/c in the respective customer master.
    However, as per the reporting requirement in schedules to the balance sheet, it is also providing service wise outstainding from all customers. Here all the services are on prepaid services and there is no payment against invoice. The amount which is deposited by customer is a liability to organzation and the adjustment of this deposit will be done against any service which is availed by customer. Hence, there is no receipt from customer against the invoice.
    For example Mr. "A" customer to my client and he can avail any service such as S1 (type of service), S2 or S3. Since it is a prepaid service, "A" has to deposit the amount in advance and later he has to avail the service. at the time of deposit, he won't mention for which service he is depositing the amount and he simply deposits a lumpsum amount not against any invoice. this deposit is manintained as a liability to my client until the customer avails the service and once they avail this liability has to be reduced to the extent of invoice value. If invoice value is more than the deposit, the total invoice value has to be shown as outstading in the respective service recon a/c.
    Could anyone plz respond me on providng the solution to this issue?
    Regards
    Anil

    Hi,
    There is no standard report which will provide you with this information.
    You can go for z report.
    Where based on your Order Type for separate service billing you can make the report.
    For that you have use SD tables and link with the FI outstanding tables.
    But one issue still remain to down payment received which has not been adjusted to the invoices.
    Until and unless you do the adjustment with the invoice you will not be able to make the correct outstanding report.
    But you can show as  non adjusted advances received from customer as lumpsum.

  • Debtors Outstanding Balance

    Hi Experts,
    I need a report for Debtors Outstanding Balance(Unreconcilled Transactions)Bill Wise.
    It can be achieved by
    Business Partners>BP MasterData>AccountBalance -->Internal Reconcilliation.
    But everytime we have to go for each customer master data and we have to take the report.So pls guide to get the report all the debtors by writing a query..
    We need the Unreconcilled transactions  by each customer.. suppose if i give the customer details (From C001  to C1100) it needs to generate the report.
    We need(Customer Name,Transaction No,Origin No,Posting Date,Amount,Debit,Credit,Amount to Recomcile,Balance Due,Details)
    Thanks in advance,
    Vamsi.

    Hi Vamsi,
    Try this Query Report, it will be display the Unreconciled Transactions Report.
    SELECT T0.[TransId],T0.[RefDate], T0.[TransType] AS 'Origin Doc.Type', T1.[BaseRef] AS 'Origin Doc.No', T1.[ShortName],
    T1.[Account], T1.[ContraAct], T1.[CreatedBy], T1.[Debit], T1.[Credit], T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo]
    FROM OJDT T0 
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    LEFT JOIN OCRD T2 on T2.CardName = T1.[ShortName]
    WHERE T1.[MthDate] IS NULL
    AND
    T1.[ShortName] BETWEEN '[%0]' AND '[%1]'
    Regards,
    Madhan.

Maybe you are looking for