Detailed Aging Report from SAP B1 v2007A

Hello all,
I have SAP Business One v 2007 A in my company. The auditors are coming in next week and I was trying to get the Aging report for both vendor and customer. The default summary looks good. To get the details, I have to go into each customer/vendor and collect them. Is there a way to get all the details in one shot (like an executing an SQL)?
Thank you all so much.
Manoj.

Hello Manoj - maybe try this since it uses the actual General Journal entries found in the JDT1 table.  PS - I have no idea why it does not show the NOT EQUAL characters of < and > in the last CASE.  The CASE calculation should be the same in all instances - make sure you add that before running. I used the appropriate coding for the SQL - something about SAP forums!!!
For Vendors, just change the CardType to S in the WHERE clause, the Transtype, and change the column headings to what you want them to say.
Hope this helps...
Regards - Zal
--F-BP AR Aging Report Detail Ver 1 ZP 2011 04 16
--DESCRIPTION:  SQL uses General Ledger Detail to create an Aging Report which shows
actual invoices, credit memos, and payments by reference date in the JDT1 table.
--AUTHOR(s):
--Version 1 Zal Parchem 16 April 2011
SELECT
T1.CardCode AS 'Cust Num',
T1.CardName AS 'Cust Name',
T0.SysDeb AS 'Debit Amt',
T0.SysCred * -1 AS 'Credit Amt',
CASE
WHEN T0.TransType = 13 THEN 'AR Invoice'
WHEN T0.TransType = 14 THEN 'AR Cred Memo'
WHEN T0.TransType = 24 THEN 'Payment'
ELSE 'Other'
END AS 'Trans Type',
T0.Ref1 AS 'Reference',
FcCurrency AS 'Currency',
CONVERT(VARCHAR(10), RefDate, 103) 'Posting Date',
CONVERT(VARCHAR(10), DueDate, 103) 'Due Date',
CONVERT(VARCHAR(10), TaxDate, 103) 'Doc Date' ,
CASE
WHEN (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 <  31 THEN
CASE
WHEN SysCred < > 0 THEN SysCred * -1
ELSE SysDeb
END
END AS '0-30 Days',
CASE
WHEN (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 > 30
AND (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 < 61 THEN
CASE
WHEN SysCred < > 0 THEN SysCred * -1
ELSE SysDeb
END
END AS '31 to 60 Days',
CASE
WHEN (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 > 60
AND (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 < 91 THEN
CASE
WHEN SysCred < > 0 THEN SysCred * -1
ELSE SysDeb
END
END AS '61 to 90 days',
CASE
WHEN (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 > 90
AND (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 < 121 THEN
CASE
WHEN SysCred < > 0 THEN SysCred * -1
ELSE SysDeb
END
END AS '90 to 120 Days',
CASE
WHEN (DATEDIFF(DD,RefDate,Current_Timestamp)) +1 > 120
THEN
CASE
WHEN SysCred != 0 THEN SysCred * -1
ELSE SysDeb
END
END AS '120 Plus Days'
FROM JDT1 T0
INNER JOIN OCRD T1
ON T0.ShortName = T1.CardCode
AND T1.CardType = 'C'
WHERE
T0.IntrnMatch = '0'
AND T0.BalDueDeb != T0.BalDueCred
ORDER BY
T1.CardCode,
T0.TaxDate
FOR BROWSE

Similar Messages

  • AP aging report from SAP

    We found that AP aging report from SAP  is not tie with Balance in Balance sheet.  Please advise how to find the report which match with our requirement.
    Concept of the AP aging report is to age outstanding AP as at the end of month (Open item date).  We found that A/P aging report which we currently use is cannot match to balance per G/L. (Please see detail in attached file). And the balance in AP aging report is always changes if we retrieve data on difference timing.
    Additionally, this report is not show the reconciliation account, please advise whether it is possible to show summary line which sum by reconciliation account.
    Please advise if you have another SAP transaction or any advise on this.
    kindly suggest

    Hi,
    For ageing report please go to fbl3n and go for change layout there is a option for ageing and posting period choose those two and subtotal it according to posting then you will get period wise meand month wise ageing  report for vendor.
    S_ALR_87012078 - Due Date Analysis for Open Items
    Hope this is clear if yes assign points
    Regards,
    Sankar

  • Crystal Reports 2008 Customer Details Aging Report Example / Sample

    Hello!
    Anyone willing to send me a customer details aging report example for SAP Business One? (or give me a link?)
    I've been looking all over and have found examples of things, but not specifically for B1.
    Anything would be useful I am pretty flexible, I just want some bones to work from.  In return I can send you back what I build from it.
    Thanks in advance,
    Mike

    Hi Mike, you might have better  replies if you post your question to the B1 forum. They would be familiar with the B1 functioanlity and data sources.

  • Creation of Vendor Aging Report in SAP BI.

    Hello,
    There is requirement to create the Vendor Aging report in SAP BI Cube.
    In order to show the Aging of the Vendor in different buckets.
    Can anyone help me out with the Links/Blogs/Wiki  ... URL's .
    I tried finding in net couldnt get anything related to this.
    Thank you for the help in advance.
    Regards,
    Adhvi

    Hello Obaid,
    Thanks for the reply.
    got the URL for Vendor Aging Report ..which has better detailed information.
    http://help.sap.com/saphelp_nw70/helpdata/EN/69/b4e9503d6a4f39b66e67b1cedf41af/frameset.htm
    0FIAP_M30_Q0003 not found in the BI Content
    Creation of Vendor Aging Report in SAP BI.
    Vendor Ageing formula
    If you come across any further Customization of the Reports related to the Vendor ageing reports based on the URL mentioned below...let me know.
    Thanks & Regards,
    Adhvi

  • Data missing while running a crystal report from SAP B1 2007A

    Dear All,
    I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
    Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.

    Dear All,
    I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
    using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
    Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
    facing issues in running it. Rest of the reports are running fine.
    I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
    Client machines, but the problem is not resolved yet.
    Server Machine Details
    Version : SAP B1 2007A Server SP01 PL08
    OS: Windows Server 2008 R2 (64-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Client Machine Details
    Workstation 1
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows Vista Enterprise (32-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Workstation 2
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows XP
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio

  • Extract a report from SAP to see the POs' recommended ship date

    Hi there,
    Can I extract a report from SAP, to see the recommended ship date of my POs, based on the MRP? As I need it to do the pull in and push out.
    Edited by: Cindyye on Jul 20, 2011 8:22 AM

    Refer ME80FN report wherein you can list out PO delivery schedule by clicking on change view icon after executing the report.
    In Change View options select Del. sched this will list out POs with detailed delivery schedule. You can export the same to excel also.
    Njoy SAP...

  • Webi report from SAP BW

    Dear all,
    We have requirement to crate report from SAP BW to get some materials. (query 1 in cube 1) In second query we would like to have details for this materials from query1 from cube2. From SAP NOTE 1367620 you can't use subqueries. How can we solve this problem?
    Thank you for help!
    Regards,
    Gregor

    Hi Ingo,
    Thank you for reply but I'm looking for solution that query 1 retrive me materials that we sold to specific customer and this is imput for second query...
    If I understand with merge I need to merge materials from query 1 with all materials in BW cube to get that data?
    Can you tell me more about hyperlinks?
    Thank you for understanding and help,
    Regards
    Gregor

  • No. of days outstanding variable in aging report for SAP 8.8

    Hi All,
    Would like to check whether anyone knows what are the variable numbers for 'No of days outstanding' column in aging report? I would like to include this field in the detail aging report print out. Thanks.

    Hi....
    Check this link: [PLD_Variables_8.8|https://websmp105.sap-ag.de/~sapidb/011000358700000449672010E/HowTo_PLD_Variables_88.zip]
    Regards,
    Bala

  • Detailed Aging Report

    Hi
    Does anybody no the system variable to include the Customer/Supplier Ref No. in the Detailed Aging report.
    Thanks
    Jenny

    Jenny,
    The system variable number is 152.
    I don't know the reason for this question?
    But, if you are not seeing the BP Ref No on the Detailed Aging Report, it is probably because you are running the report using By Journal Postings Tab
    The BP Ref No will be visible if you run your Aging Report from By Sales Documents tab in the Customer Receivable Aging - Selection Criteria screen
    Suda

  • S_ALR_87011990 - Problem in downloading report from SAP to Excel.

    Hi All,
    I am facing an issue in report S_ALR_87011990, while downloading a report from SAP to excel. In SAP, report is comming out to be in different format than what it is getting generated in excel.
    I am attaching screen shots for your reference.
    Request you all to kindly help me in this regard, As this report is required urgently.
    Thanks in advance....
    Regards
    Rajat Kumar

    Hi Priya,
    Sorry for the delay.. here
    Simple explanation...
    ABAP - OLE Automation using MS-Excel - Code Gallery - SCN Wiki
    You can find a detail doc here
    http://www.heyiamonline.com/abap/pdf/ABAPOLEAUTOMATION.pdf
    Regards

  • Due date in Detail Aging report

    Dear all,
    I would like to ask if it is possible to add the Due date for each document displayed in the Detailed Customer Receivable Againg report ?
    I tried, but it seems impossible to do so, even I set the field as System Variable (as the Due date in Dunning module).
    Thanks a lot

    Hi,
    'Due Date' column of the documents is available in:
    Aging Report - 'Customer Statement Report (One Page per Customer)'
    The same is unavailable in the Details Aging Report.
    Regards,
    Jitin

  • Issue running a report from SAP Business One

    I have an issue running a particular report from SAP Business One. I am using Crystal Reports Add-On, all of the reports are working fine except one. When accessing the last page of the report or any page from inside the report the followiong error appears in the dialog box:
    Error in the File CollectionDate_Branch_wise {609BA059-89AF-41E9-9AEB-28CB16D13852}.rpt:
    The request could not be submitted for background processing.
    Edited by: Iqbal Faisal on Feb 22, 2010 6:03 AM

    Hi,
    Do you mean you have a Main report that is written based on SQL Command and there are 8 subreports linked to the main report?
    If that is the case, I assume when user select 'Document Type" eg invoice, it will pass that to the subreport and retrieve information?
    This is how I will approach it.
    1. Make sure the connection is consistent, if you are using ODBC(RDO) then make sure that is the same for main and subreport. You can check that in Set database connection. Right click on the connection, look at the Properties.  Don't assume that the name is the same, eg: SBO_DemoUS, they are all ODBC(RDO) for instannce.
    In Crystal, when you are using different connection, it will just prompts you a warning message and it will still run.
    2. Delete all and only keep one subreport, example AR invoice and see it will still give a problem.
    Replace the parameter with a set value in Record selection in subreport and see what happen.

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • How to delete a report from SAP BO?

    is there a way to delete a report from SAP BO that won't be right clicking on it, organize, then delete. Something from the database because I have a report that for some reason has more than 2 million iterations trying to run and is making my server to crash and preventing that other scheduled reports to run.

    Following is an excerpt from the above KBA Janos mentioned.
    Important Note: It is strongly recommended to take backup of your CMS database and Filestore before performing the steps mentioned below.
    1.Navigate to http://<appservername>:8080/AdminTools
    2.Login with administrator account.
    3.Use this query to find number of pending instances (Name and ID of instance) in your environment:
    4.SELECT SI_NAME, SI_ID FROM CI_INFOOBJECTS WHERE SI_SCHEDULE_STATUS=9
    5.Connect to the CMS System Database with the proprietary database client (e.g., SQL Plus for Oracle).
    6.Execute the SQL statement to delete all pending instances in your environment.
    For SAP BusinessObjects Enterprise XI 3.1
    DELETE FROM CMS_INFOOBJECTS6 WHERE SCHEDULESTATUS=9
    For SAP BusinessObjects BI Platform 4.0
    DELETE FROM CMS_INFOOBJECTS7 WHERE SCHEDULESTATUS=9
    Regards,
    Onkar

  • Extracting a Report from SAP Spool into a Useful Excel 2010 Format

    Hi All,
    Extracting a Report from SAP Spool into a Useful Excel 2010 Format.  I'm currently running the following report in SAP  and would like the
    ability to set this report up as a recurring report running weekly and
    subsequently access this report in a useable Excel 2010 format without
    much data manipulation.  Can you please assist me.  Below, I've tried to
    provide an example of what I'm encountering.   Thanks, beforehand for
    your assistance.
    Here goes:
    Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
    Inventory
    Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter  the
    desired company code and period I want thre report to run for and update
    the currency, if necessary. Having input my desired criteria, I believe
    I can either execute immediately, run in the background, preset to run
    at date in the future. For this example let's just execute, immediately.
    This is where the difference originates. Given, I run this report
    immediately, I'm able to simply extract the result to Excel via the list
    selection noted in the tool bar below.  The result is a data friendly
    excel 2007  report is automatically generated.
    Export to Excel via list:
    Select save and Excel 2007 opens automatically:
    That said, the method outlined above works perfectly fine if you want
    the report immediately.  Now let go back and run the exact same report
    with exceptoin of running it in the background and having to retrieve it
    from the Spool (SP01) uisng my user ID.  Given the report generated in
    the background,  I would now access the report via the spool and make
    the following selections:
    SP01 + execute to see my report
    I would hit the sunglasses to see the actual report, then want to
    extract this report to Excel by selecting the export option.
    I would at this point select spreadsheet and be given an option to save
    the spreadsheet to local file. However, upon trying to open the
    spreadsheet I will receive an error messageindicating that the format is
    different than that which the file I am currently trying to open it
    with.  I'm currently running Excel 2010 on my computer.  The currency
    format and other issues arrise with this extract.  Please help. 
    Thanks,
    Chowadary.

    Update to Latest GUI.
    Use   List -> Export -> Spreadsheet  to get the output to excel.
    I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
    Check your fieldcatog for header lengths.
    -Satya

Maybe you are looking for

  • Add Fields in Operations Maintenance Order

    Hi Experts, I want to Add field in Operations on tab Enhancement for 200 Characters Field. Is that possible?If that possible, what user exit can be used? Thank you for the helpful answer. Best Regrads, Bernardus Jalu

  • Com.sapportals.connectors.SAPCFConnector.

    Hi ALL, When I am trying to call RFC which returns four tables in output i am getting TAB1=com.sapportals.connectors.SAPCFConnector.execution.structures.RecordSetWrapper@5a5068, TAB2=com.sapportals.connectors.SAPCFConnector.execution.structures.Recor

  • Has anyone needed to use AppleCare for the AppleTV2?

    My complimentary 90-day support ends soon, and I'm wondering if it's worthwhile to buy the extended care for this particular device?

  • Enhancement points in ECC 6.0

    Hi, Pls let me know how to find the enhancement points and how to plug-in  our own code there. Regards, Kavitha

  • Central Contract in Classic Scenario

    Hi Friends, I have done the central contract scenario in Ex classic  where Local contract will be distributed to ECC . Can we use the central contract concept in Classic Scenario and is there any limitation based on scenario. As in classic the docume