HI Experts,Can anybody provide model programs for Aging analysis

Appriciate your service.
Thanks and Regards,
Viswanath

You can look at the transaction S_ALR_87012178.  But a sample code would be
    select bukrs kunnr gjahr belnr budat wrbtr WAERS XBlnR SHKZG
    zbd1t vbeln zfbdt
    into corresponding fields of table it_bsid from bsid
        where kunnr in s_kunnr
          and bukrs in s_bukrs
          and blart in s_blart
          and zfbdt le wa_budat.
"Aging to be considered based on baseline date not postingdate if not change appropriately.
  loop at it_bsid.
    add it_bsid-zbd1t to it_bsid-budat.
    if it_bsid-shkzg = 'H'.
      it_bsid-wrbtr = -1 * it_bsid-wrbtr.
    endif.
    move corresponding it_bsid to output.
    l_days = syst-datum - it_bsid-zfbdt.
    if l_days le 30.
      move it_bsid-wrbtr to output-thirty.
    elseif l_days le 60.
      move it_bsid-wrbtr to output-sixty.
    elseif l_days le 90.
      move it_bsid-wrbtr to output-ninety.
    elseif l_days le 120.
      move it_bsid-wrbtr to output-onetwenty.
    else.
      move it_bsid-wrbtr to output-over120.
    endif.
   append output.
  endloop.
Albert

Similar Messages

  • Can anybody provide some sample for http adapter.

    both http outbound and http inbound.
    invloves client side program and server side program.

    Hey,
    For HTTP adapter NO  need Sender Agreement,Since it talks to the Integration Engine (ABAP) directly & the HTTP request should contain all relevant header info insender side
      http://<server>:<port>/sap/xi/adapter_plain
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
    Cheers
    Agasthuri

  • Can anybody provide AIX shell script for Oracle Apps R12 instance backup

    Hi
    Can anybody provide AIX shell script for Oracle Apps R12 instance backup? Manually, i am able to backup but i donot have shell script to schedule through crontab.
    Help me please.
    Thanks

    Rman can be used for Database, not for Application tier. Again, I assumed you are looking for a script to backup the database. For the application tier, you can simply do a filesystem backup.
    I still do not understand your concern? Is it about using crontab? If so, then check here --> man crontab <--

  • Can anybody provide the SQL query to find the files uploaded in a particular folder?

    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

    Nevin,
    Be great if we could know the version of Portal. For Rel. 1, here's the query
    select id,masterthingid from wwv_things
    where siteid = &site
    and cornerid = &corner
    &site - Content Area id
    &corner - Folder id
    if you don't know the folder id, use
    select id from wwv_corners where siteid = &site
    and name = &folder
    Hope this helps. I have run into this situation before. Usually, the culprits were
    one of the following:
    1. Junk Characters in description of item (caused due to Copy-Paste)
    2. Special Characters in the File name
    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

  • I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    Adobe admits to a Flash problem here:
    http://forums.adobe.com/message/6285851#6285851
    YOu can apply the fix they show and tehn wait for them to fix the problem

  • Can anybody provide me the link between these tables

    Hello,
    Can anybody provide me with the link between these tables.
    Is there any link for the CTSNUMC and PNTPR
    1) /SAPSLL/CTSNUMC
             Fields: STCTS
                       CCNGN
    2) /SAPSLL/PRGEN
            Fields : ATTR20A
                      ATTR05A
                      ATTR10A
                      ATTR05B
    Common field -
    GUID PR
    3) /SAPSLL/PNTPR
            Fields : PRVSY
                    : GRVSY
    Common field -
    GUID PR
    4) /SAPSLL/PRODUCT_SELECT_UI_S  "This is Structure
             Fields : QUAL_STA  " Product Status
                   Common field : CCNGN, STCTS
    5) /SAPSLL/PR
               Fields : CRTSP  " Product Created on
                        : CHTSP " Product Changed on
    Common field -
    GUID PR
    6) /SAPSLL/PRT
          Fields : PRTXT  " Materail Desc
    Common field -
    GUID PR
    I have common fileds for all the tables to join them except for the tables /SAPSLL/CTSNUMC and
    SAPSLL/PRGEN.
    Any suggestions will be apprecaited.
    Regards,
    Kittu

    Hi,
    Thank you every body for your time...
    I am closing this thread as there was no response and I think I solved it.
    Regards,
    Kittu

  • Can anyone provide a pdf for starting with webdynpro

    can anyone provide a pdf for starting with webdynpro

    Hello,
    I would suggest to consult the web dynpro area here at SDN (<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">link</a>). Here you can find tons of information. (links to general information, example programs, pdf's, etc.). Once you got yourself familiar with web dynpro, another resource is help.sap for more detailed information.
    Regards,
    Christophe

  • Can anybody recommend a webcam for my G4 Powerbook..?

    Hi all,
    Can anybody recommend a webcam for my G4 Powerbook..? Can i buy an external iSight cam or stick to a logitech product for example.
    I would really appreciate several replies/suggestions to compare compatability, quality and price issues.
    Thx in advance,
    shane
    G4 powerbook 15inch   Mac OS X (10.4.7)   1.67GHZ 1MG Ram 100GB hard drive

    In addition to specific devices your options are:-
    Any Firewire DV output (6 pin to 6pin) Camcorder
    Any Firewire Web cam
    Any USB cam that has Mac drivers and this Utility http://www.ecamm.com/mac/ichatusbcam/
    The chances are that any USB cam is going to have Windows drivers (if you need them for a Intel)
    8:55 PM Wednesday; January 31, 2007

  • How can we provide F4 help for parameter field.

    Hi All,
    How can I provide F4 help for parameter field.
    Regards,
    Amar

    hi,
    different ways of applying search help are :
    you can use anyone:
    1)   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    or
    2) 
    can follow these simple steps for search help:
    go to se11==> put some name after ticking search help radiobutton==> create==>
    then tick " elementery search help " and press enter ===>then put description and table name in selection method ===>then put the field on which u want search help
    in search help parameter==> tick IMP EXP ==> write 1 in lpos and spos===>save and activate===> double click on table name ===>  select that field and press *search help tab* above===> then copy
    3 )
    methods of applyind search help:
    For search help sometimes we use MATCHCODE----->when we apply it directly to parameter or select option.they are obselete now ii.For search help sometimes we CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' ??------->if we want to populate data of internal table as search help.
    iii.For search help sometimes we declare tablename-fieldname in selection?------>if that field in that table is having seach help or check table ..F4 will be avaliable directly.
    also:
    Fixed value of domain can also work as search help.
    i hope it will help u a lot
    thaks and regards
    rahul sharma

  • Can i make a program for calender

    can i make a program for calender actually i have to run a calender logic and select the date and modify them with some value.
    I just need to ask is there any function module that runs a  calender logic by picking the input date .
    Eg if i put a input date say  03.04.2005 the program then automatically run for all the date of that month and year, i mean i can get  the all the dates for that month and year...
    Please help

    Hi Mave ,
    If you want an internal table with the dates of the month
    just try this -- . Instead of sy-datum you can pass any date and see the output .
    parameters Pdate like sy-datum.
    data : begin of itab occurs 0 ,
           date like sy-datum,
           end of itab.
    Data Month(2) type N.
    itab-date = pdate.
    itab-date+6(02) = 01.
    month = itab+4(2).
    do .
    if itab+4(2) NE month.
    exit.
    endif.
    append itab  .
    itab-date = itab-date + 1.
    enddo.
    loop at itab.
    write :/ itab-date.
    endloop.

  • Can anybody provide some documentation or SAP treasury management?

    Dear folks,
    Can anybody provide some documentation or books to learn SAP treasury management?
    Thank you very much in advance.
    Ray

    Hi Ray,
    to start with, check the wiki:
    Treasury and Corporate Finance Management - ERP Financials - SCN Wiki
    Treasury - Risk Management - ERP Financials - SCN Wiki
    Hope this helps.
    best regards,
    Johannes

  • TS3649 my mac (2012) did not come with idvd.where can i get this program for download?

    My iMac os lion 10.7.2 (2012) did not come with idvd program. Where can I get this program for download?

    Hi
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - a free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    • Free DVD Creator.app - free from Apple Store
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • Can you provide a FM for getting product information based on Contact ID?

    This is in CRM
    Can you provide a FM for getting product information based on Contact ID or Contact GUID?related to CRM
    I need to get product id from contract id or contact guid.
    please provide help in this

    Hi there. Please check if either of these function modules works for you:
    ISU_MDG_GET_PRODUCT
    ECRM_MDG_GET_ACTUAL_PRODID
    Hope this helps.
    - April King

  • Can anybody provide me with an example about using CSS to ADF Application ?

    Hi all
    can anybody provide me with a simple example about using CSS to ADF Application ?
    regards

    http://biemond.blogspot.com/2009/01/adf-skinning-in-jdeveloper-11g.html

  • Variables usage for ageing analysis ...

    Dear All,
        Pls let me know how do we create a variable in the query so that an ageing analysis can be done.
          e.g, I have ranges in the selection criteria (1-30, 31-60, 61-120, >120),  I need to filter the data based on my posting date and  the report run date.
         Depending on the conditions the values should be populated in the respective variables viz ., 1-30, 31-60 etc.
    TIA
    Mohd. Abdul Moghani

    Hi,
      Check the below link where I have provided a solution for aging....
    Re: Aging Report
    Hope this helps you....

Maybe you are looking for

  • Sync iPod after Hard Drive crash

    The Hard Drive in my daughter's Macbook recently died and was replaced. I was able to restore from Time Machine but the last time she backed up was about 6 months ago. She has several albums that she'd imported in the last 6 months and are now residi

  • Genrate xml header in abap

    I have to genrate a header xml file for using web service.it should be in this format soapenv:Header> wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" wsse:Usernam

  • How to access item renderer from main mxml?

    Hi, I have a datagrid which has item renderer. Code looks like this: <mx:DataGrid id="newsfeedgrid" width="100%" height="100%" visible="true" verticalScrollPolicy="auto"                               verticalGridLines="false" horizontalGridLines="tru

  • I could not restore my i phone it is in recovery mode

    i could not restore my i phone it is in recovery mode

  • Install 10gR2 RAC with RH4AS + VM Ware Server Beta (Free version)

    Have anyone ever tried to use VM Ware Server Beta (free download version) with RH4 for the 10g 2-node RAC installation - without use of the kit provided by Oracle? I just finished setup the VMWare server and wonder whether or not it will work with 10