Detailed AP and AR aging needed

I have searched the forum, but found very little on this topic.  Is there a way to run a detailed AP or AR aging for a range of vendors or customers?  The AP and AR aging reports in the system seem to only produce summary balances and then the users have to drill back to the business partner master data window to get the details.

I git this query form this forum, it works for me, you can modify it to limit customers and you can chnage the table from AR to AP Table.
select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb 'Debit Amount',syscred 'Credit Amount', (sysdeb - syscred) as 'Balance Due',
case JDT1.transtype
when '13' then 'INV'
when '14' then 'AR CN'
when '24' then 'INCOMING'
else 'Other'
end 'Type',
Ref1,
fccurrency 'BP 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 "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 "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 "61 to 90 days",
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
then
case
when syscred= 0 then sysdeb
when sysdeb= 0 then syscred * - 1
end
end "90 + days"
from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'c' and intrnmatch = '0'
ORDER BY OCRD.CARDCODE, taxdate

Similar Messages

  • Join between Header & Detail tables based on age and group

    To find the age & group  amount in detail table based on  age & group_id in header ?
    Example: Let's take the seq_id =1 from header,it has age= 60 & group_id=23 (23 Months).
    In the detail table xx_detail,the age column represents the age of the person (0-65 represents the age in between 0 to 65 and so on).
    If the age is null,then that row indicates the group (0-12 represents the group in between 0 to 12 months ).If the age is not null,then the group1,group2,group3 have the amounts data.
    So Now i have to get the amount as 240(as my header seq_id=1,age=60,group_id=23 as it falls under 0-65 age & 13-59 group ).So i need a sql query to find the correct amount in detail based on header record. We have to pass the parameters age & group_id and get the amount from detail tables.Can anyone provide inputs how to achive this in the simplest way.
    SQL> select * from v$version  
      2  /  
    BANNER  
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production  
    PL/SQL Release 11.2.0.3.0 - Production  
    CORE    11.2.0.3.0      Production  
    TNS for Linux: Version 11.2.0.3.0 - Production  
    NLSRTL Version 11.2.0.3.0 - Production  
    SQL> desc xx_header;  
    Name                                      Null?    Type  
    SEQ_ID                                             VARCHAR2(6)  
    AGE                                                NUMBER  
    START_DATE                                         DATE 
    GROUP_ID                                           NUMBER  
    SQL> select * from xx_header;  
    SEQ_ID        AGE START_DATE   GROUP_ID  
    1               60      01-JAN-12            23  
    2               89      01-JAN-12            23  
    3               95      01-JAN-12            23  
    SQL> desc xx_detail;  
    Name                                       Null?    Type  
    SEQ_ID                                              VARCHAR2(10)  
    AGE                                                   VARCHAR2(10)  
    GROUP1                                             VARCHAR2(10)  
    GROUP2                                             VARCHAR2(10)  
    GROUP3                                             VARCHAR2(10)  
    SQL> select * from xx_detail;  
    SEQ_ID     AGE        GROUP1     GROUP2     GROUP3  
    1                                0-12              13-59       60-126  
    1           0-65               120                 240         300  
    1          66-135             100                 80          400

    Hi,
    Is this the same question that you asked 3 days ago
    https://forums.oracle.com/thread/2606197
    Whether it is or not, post the information requested in that message, which is also listed in the Forum FAQ:
    https://forums.oracle.com/message/9362002
    If it is the same question, don't post a new thread.  Mark this thread as "Answered" right away, and continue in the original thread.

  • Some problem about SAP R/3 ~ I need some detail solutions and suggests

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    •     Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    •     Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    •     Problem 1.3: Oracle 9i database automatically shutdown by itself.
    •     Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.
    Problem 2: Problems in User Maintenance and Security of the SAP R/3 System
    •     Problem 2.1: Super user account password was lost (e.g. SAP* password was lost)
    •     Problem 2.2: Super users DDIC and SAP* were dropped in table usr02 in Oracle.
    •     Problem 2.3: Some users have been locked or deleted by an ABAP programmer who has been granted with almost superuser profiles.  For example, an ABAP programmer has been granted a profile of SAP_ALL and SAP_NEW but the system administrator would like to restrict all programmers form using SU01, SU02, SM01, so that no programmers can maintain other user's accounts.
    Problem 3: Problems in the configuration of client copy
    •     Problem 3.1: A copied client from the Client 000 cannot be customized.
    •     Problem 3.2: No sample data in IDES after a successful client copy.
    •     Problem 3.3: Logging on without being authorized.  A new client is created and client copied and transported successfully.  However, anyone can log into the system using user SAP* with the default password PASS.
    Problem 4:  Problems in the installation of SAP R/3 Server
    •     Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    •     Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
    •     Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.
    Problem 5: Problems in the backup and recovery of Oracle 9i Database
    •     Problem 5.1: A redo log file was lost and the database could not be started.
    •     Problem 5.2: A group of data files were accidentally deleted and the database could not be started.
    •     Problem 5.3: Both the online redo log files and archived redo log files have been damaged.
    Problem 6: General problems regarding the general operations and the connection to the SAP R/3 System
    •     Problem 6.1: After a reboot of the Windows 2003 Server, SAP service is not automatically started.
    •     Problem 6.2: Some users complained that the performance of SAP R/3 is really very slow.
    •     Problem 6.3: A user complained that his/her password was correct but he/she could not lock on the client because it was locked.

    Problem 2
    2.1  If user account of the sap* is lost u can retrive by loging into os level as sidadm type this command
    DELETE  SAP<sid>.USR02 where BNAME='SAP*' AND MANDT=100
    This 100 is the client in which u want to delete the sap*
    after that restart the server and login as sap* with the default password as pass
    there is also another way of doing this if needed u can catch me at [email protected]

  • HT5622 why is it when I log into my id it comes up with reveiw and then put my bank details in, it says I need another way of payment even though all im doing is signing in

    I tryed to log into my id so I can download apps but I had to put my bank details in and even though I was just signing in it said I had to use a diffrent payment option even though it was all right,  I need help with what to do

    Hi connor00015,
    In order to access the iTunes Store, even for free apps, the billing information associated with the account must be up to date and correct. If you are being prompted to correct or update your billing information, you may find the following article helpful:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    Regards,
    - Brenden

  • I just purchased a mac, I've made an apple id. But now when i try to update my mac. I need to login to itunes stroe.Whenever i try that i can login, then i need to confirm my details. And suddenly the mail adress is no longer valid.

    I just purchased a mac, I've made an apple id. But now when i try to update my mac. I need to login to itunes stroe.Whenever i try that i can login, then i need to confirm my details. And suddenly the mail adress is no longer valid.
    How do I solve this problem?

    You've posted to the iTunes Match forum, which your questions do not appear to be about. Perhaps you would get better help by posting in the iTunes for Mac forum.

  • I just started using fire fox and I cant figure out how to add a new folder to my bookmarks. Can anybody explain how in detail (I'm bad with computers so I need real detail) Please and thank you. :)

    I just started using fire fox and I can't figure out how to add a new folder to my bookmarks.
    Can anybody explain how in detail (I'm bad with computers so I need real detail)
    Please and thank you. :)

    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    You can use one of these to start Firefox in <u>Safe mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    If it works in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I need some detail solutions and suggests about below these problems ?

    I need some detail solutions and suggests about below these problems:
    Problem 1: SAP Management Console cannot start successfully
    • Problem 1.1: Click on SAP Management Console, but yellow light continues for a long period of time.
    • Problem 1.2: In DOS, startsap command cannot start SAP R/3.
    • Problem 1.3: Oracle 9i database automatically shutdown by itself.
    • Problem 1.4: There is very low disk storage left (say less than 50MB) in the hard disk where Oracle 9i database is installed in the server.

    3.1 - If you client copy from client 000, you need to go to SCC4 and set the client to customizing chnages allowed;
    3.2 - If you do a client copy from client 800 (the one that SAP delivers data in) you should have data. Client 000 is empty (almost).
    3.3 - You should be able to change the password of SAP* PASS user.
    I am not sure which version you are dealing with, but ERP2004 and ERP2005 allow you to change the password suring installation.
    Also, there is a parameter that can be maintained that allows you to log on as SAP*. If you set as not available, no one can log on.
    Hope it helps,
    Leonardo De Araujo

  • I bought iPhone 5c, did backup of my iphone 3gs did restore to 5c, all ok except social games like modern war and kingdom age data did not restore. need to restore data so dont lose game progress.  also no game center app on 3gs and 5c how do i get game 5

    I bought iphone 5c did backup of my 3gs did restore to 5c, all ok except social data did not restore. i do not want to lose games progress in modern war, crime city and kingdom age. how do i get game data to new phoen. also 3gs and 5c both dont have game center app how do i get game center app on 5c

    I bought iphone 5c did backup of my 3gs did restore to 5c, all ok except social data did not restore. i do not want to lose games progress in modern war, crime city and kingdom age. how do i get game data to new phoen. also 3gs and 5c both dont have game center app how do i get game center app on 5c

  • How can the dunning letter shows O/S amt and corresponding aging bucket?

    Hi,
    I am going to implement the dunning letter setup in R12. Our user request to have the dunnng letter layout which should show all regular dunning details but also the aging info of the outstanding invoices, i.e. which aging bucket the outstanding amount will be shown. Anybody have idea and help? Thanks a lot.
    Edmond

    Thank you Nagarajan.  I have a dunning letter created in Crystal Reports for our client.  It is fairly limited in scope, it just has the customer name and address, invoice numbers and dates, amounts due and the text they wanted in it.
    I can import it into B1 9.0 and set it as the default for Dunning Letter #1 and it runs, but unlike other formats where there is a DocEntry and/or ObjectID and a ?DocKey@ or ?ObjectId@ parameter, how do I limit the report to just one customer?  Typical document layouts run for the document that's on the screen.  In the dunning process, the report runs once for every customer when the Dunning Letter Method is set to "One Letter per BP".  I have to limit the report to one customer at a time.  Right now, each dunning letter based on the Crystal report is identical and it contains all the data for every customer.
    So, does anyone have any ideas for what selection criteria needs to be included in the Crystal report to have it select just one customer from the dunning wizard tables?  Thanks.
    Michael
    Edit: I created a ?WizardID@ parameter and a ?CardCode@ parameter to limit the report to a single dunning wizard event and a single customer.  While it works fine in Crystal itself, it doesn't work in B1 at all.  I had thought that by limiting the report in this way, it would only create dunning letters for a single customer.

  • HT2534 When I try to set up an Apple ID, it's asking for a credit card, and there is no "None" option, like this page suggests. How can I bypass this? This iPad is for a younger child who has no credit card, and will not need to make any purchases.

    When I try to set up an Apple ID, it's asking for a credit card, and there is no "None" option, like this page suggests. How can I bypass this? This iPad is for a younger child who has no credit card, and will not need to make any purchases.

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • DOES ANYONE KNOW HOW I CANT DELETE MY APPLE ID I JUST GOT A NEW AND NO LONGER NEED THE OLD 1 HELP PLEASE

    DOES ANYONE KNOW HOW I CANT DELETE MY APPLE ID I JUST GOT A NEW AND NO LONGER NEED THE OLD 1 HELP PLEASE

    As far as I know they can't be deleted, just remove any personal info from it (credit card details etc) and stop using it.
    If you downloaded any content via it then you will need to remember it and it's password, as content is tied to the account that bought/downloaded it, so if you move to a new computer you'll need to authorise the account on it if you want to use any of its content there (or if you bought apps with it you'll only be able to download updates to them via that account)

  • HT203176 i have a slow macbook, i ran live disk utilities and said I need to repair disk from a cd. did that, I got volume repaired from the external disk. when I reboot from hdd, then run disk utility, I get the same error message i did b4 repair

    i have a slow macbook, i ran live disk utilities (from hard drive), turned out I needed to repair disk from a installation disk. Did that, I got the volume (Hard drive) repaired from the installation disk disk. To this point, great!
    When I reboot from hdd, then run disk utility, I get the same error message i did b4 repair. I went thru two rounds of this.....
    Can anyone help? thanks

    Sorry guys, I don't see how to reply to you so I use reply to "me" basically.
    So the error I get is "volume header needs minor repair" and then you need to perform repair from the installation disk message.
    I did repair not verify from the disk twice. Every time ending in the "the volume had ha been successfully repaired". Then I reboot from the internal disk. Run disk utilities from it, do verify and get the same error message I got before repair. I hope this can shed some light fr you guys. Sorry I didn't include details in the original
    MEssage.

  • Vendor due date analysis and vendor aging wise analysis

    Could u please explain vendor due date analysis and vendor aging wise analysis. what is the differnce between and with t code y specify

    Hi Venkatkumar,
    Vendor due date analysis refers to the date on which the bill becomes due for payment based on the payment terms and base date. It gives a detailed report of all vendors whose bill have become due for payment on a particular date (Key Date).
    Vendor agewise analysis refers to the grouping of amounts due to vendors for various periods, for e.g. 0-30 Days, 31-60 Days, 61-90 Days & so on.
    T code for Vendor due date analysis is S_ALR_87012078 - Due Date Analysis for Open Items.
    T code for Vendor agewise analysis S_ALR_87012084 - Open Items - Vendor Due Date Forecast
    Thank You.
    Regards,
    Ameet

  • Vendor and customer ageing analysis

    Hi Gurus
    i am in a project and my client wants vendors and customer  age vise analysis to be shown in balance sheet that's less than six months and more than six months  kindly help me for doing the same
    Thanks
    venkat

    hi,
    you can use SAP standard report. S_ALR_87012178 - Customer Open Item Analysis by Balance of Overdue Items. This gives an wide option by the customer where in you can choose the aging period by the day i.e. 10, 15, 20, 60, 90 days etc based on your requirement.
    when you perform your data migration make sure that the baseline date and payment terms are correct so the aging will be correct for the line items you load. You dont need to bring over cleared line items, as they wont affect the aging, all they will provide is payment behaviour.
    Some data migration projects assign a due immediately payment term and have the due date in the baseline date.
    Regards,
    Greeshma

  • Blank space between Detail section and Page Footer - How to remove it ?

    below is the problem.
    We make  report as followspage header Section details
    Employee Information    
    Report Footer
    Page Footer                   
    Other Information
    whenever we run this crystal report it leaves space in between  after employee information (Detail Section) and before Page Footer.We don't know its a problem  of footer or any other else.
    When i preview and print out the reports
    it showing Detail section 10 Rows (which satisfying condition) and then Blank space and then at the bottom of page shows Page Footer (which contain 2 subreports).
    Let me know if you need aditional information on this.
    pls provide suggestions.

    Try with this
    1. Suppress any unused sections in both sureports and in the mainreport.
    2. Check all the fields fits the sections. Select all the fields in the section and give align top and make all the fields of same height and make it fit to the section.
    Hope this solves your problem.

Maybe you are looking for

  • Service ticket not found in the subject

    Hi, I've got simple authorisation working from Java to an Linux MIT KDC. I've also got tickets via kinit from the kdc on the Linux server. I'm trying to use JAAS sample code: Does anyone know how I can get this to work? MY login.conf file is GSSClien

  • Nokia E72 - Problem with Lotus Traveler 8.5.1.3

    I have 2 Nokia E72 correctly configured with Lotus Traveler that don't send outgoing the email... This is my test and configuration: a) Scenario with emails/calendar without contacts to sync The devices work perfectly without contacts... ( I receive

  • I need to configure public IP in a few devices

    Hi, I have a few devices that the manufacturer told us we have to set with a public IP (No Natting) We have Internet ->ASA5510-> Switch 3550 with 3 vlans.  Up to now we have always use Natting to configure internet access to specific devices. Now we

  • Screen went gray need to be fixed under international warranty?!

    Hello, I just bought Macbook Pro 13.3 inch, md 101 i believe is the 2010 model from Dubai last month. I bought it in Computer Plaza which is the place most people in Dubai go for a good deals. After using 1.5 month the screen went blank, after power

  • AirPort Extreme receives weak to no signal to desktop (but MacBook  rocks!)

    First off, I have a MacBook (10.4.7) and Linksys wireless router that work together flawlessly. I recently purchased an AirPort Extreme card and installed it into my G5 (10.4.5). Through internet Connect I sometimes see my network and receive a very