Zreport on ageing & GR/IR report

I have 1 zreport called ZAGEING.
user have following query on this
"Attached for reference is the GR/IR Report that I need help with.
For example GR 5000021442 on PO 4502027464 has had a 102 movement which should reverse this GR therefore shouldn'd show on report.
This seems to have happened through out this report that GR and IR have not cleared.
Also is there anyway that I can run this report showing the GR that we see when viewing PO with transaction ME23N."Reports have column as
Company Code / Business Area/ Vendor / PO No. / PO Item  / GR/IR Document / Item / year / ageing >60/ageing >90 / ageing >120 / Total Value
GR 5000021442  is under column GR/IR Document .
I am not getting clients requirement.
Where I can see GR/IR Document . I am not able to see it in tcode MR11SHOW.
Can we we gr ir document in Purchase order history of purchase order.
Edited by: KiranCG on Jan 3, 2012 10:37 AM

Hi,
The user requirement is simple in this report.
Normally a PO will have toget posted with a GR and a IR document whih is called as invoie report.At the same time , a PO will have a delivery date upon which the goods need tobe delivered tothe PO plant and once the goods are deliveered an invoice will be sent for IR.Also PO will have a PO creation date.
Here what you need to ask the user is about the ageing .Like the age should be based upon the Delivery date of the PO or the PO creation date. Bases upon this date you cancalulate the GR document aging or IR document aging.
In eah PO there will be a tab called POhistory ,where inyou can see the GR and IR doument and if any GR/IR clearing is done , the learing doument too. The related table is EKBE where in you canview all the transactions happened for the PO.
MSEG, rbkp , bseg ETC tables are useful in idenntifying the fields. you can write the logic for aging,This is a simple report straight you can ask to code.
Please comeup back with your requiremjent fully so that correct guidance will be given.
Regards,

Similar Messages

  • How to change AR aging 4-bucket report to 7-bucket

    hi 2 all
    how to change AR aging 4-bucket report to 7-bucket  in oracle apps r12 . in AR module 7 bucket report also exist but it include all collection (applied & unapplied) my requirement is that aging create on applied collection just like 4 bucket. thanks
    Regards ,
    Zulqarnain.

    the planning book transport as mentioned by Ian will get your time bucket profiles   to production
    ....along with macros
    Producton systems are usually closed to make planning book changes (the system would be locked - its not an authorization issue)
    its better to transport the planning book with the correct time bucket profile
    P,S: there is a quick and dirty way to make the change you want though without going though the transport...  but if you can transport... do that

  • Aging - 7 Buckets Report needs to display by Calendar month not by days

    The requirement is to display the Aging - 7 Buckets Report display by calendar month not by days. So is it suggestible to customize it or write a new custom report?
    Please let me know if you have any solution on how to do it? i appreciate your help and time.
    EX:If this is OCT and the report is run during this month
    OCT-10 SEP-10 AGU-10 JUL-10 JUN-10 MAY-10 APR-10
    Customer Amount Current Past Due Past Due Past Due Past Due Past Due Past Due

    Hi
    Could you please let me know if you were able to achieve Aging by bucket months?
    Can we create aging bucket that is monthly and not on the basis of days?
    Regards
    Divya

  • Aging 7 Buckets Report ARXAGMW  error REP-1212 Object Body is not enclosed

    Hi
    I am customising standard AR Aging 7 buckets report by account(ARXAGMW).
    I just need to add 2 fields,That i have added successfully.
    But the report output format is not printing properly.
    I mean if there are 4 columns custname,custno,endcustname,endcustno.
    it is printing the output as
    custname custno endcustname endcustno
    abc communications inc 1234 abc communicatio 1234
    xyz communications inc 5678 pqr communicatio 9657
    but i want to print with full name(endcustname) as how it is printing for custname.
    So itried to increase the report width to 300 and try to run the report,but i am getting the error.
    I tried with standard report also by increasing the width but same error.
    Could anyone please tell me when we increase report width what else i should change.
    The error is
    REP-1212: Object 'Body' is not fully enclosed by its enclosing object 'P_REPORTING_ENTITY_NAME'.
    Thanks,
    Malla

    Hi,
    "Not allowing" means? Do you get any error?
    Is this the same style used by this concurrent program? I assume that the report type is text.
    If the report type is bitmap, size the page size in the "Execution Options" field as "PAGESIZE= <width>x<height>" and submit the report again.
    Note: 297522.1 - How to investigate printing issues and work towards its resolution ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=297522.1
    Regards,
    Hussein

  • Customer/Supplier Ageing Screens and Reports

    Hi
    We have a request for change in the Customers/Suppliers Ageing screens and reports.
    Our clients require the appropriate transaction date field to be available on the detailed screen and the detailed report and statement.
    eg. If they are ageing by document date - they need to see the document date against each transaction and it is very important that the reports have it. 
    We have more than one case where this has been requested.  It is quite usual and an expected piece of information for credit control operators.
    Thanks

    Hi Adrian
    Would the XLR you have produced solve  the following problem I have.
    When producing an ageing report the value date used is not the due date of the document but the due date using the BP's terms. 
    I've tried to create an XLR but cannot resolve the fact that items reconciled after my ageing date are excluded.
    Any help would be appreciated.

  • SQL for AR Aging 7 Buckets Report

    Hi,
    I am currently working on producing a query to produce the same results as the Aging 7 Buckets report in the AR module of Oracle Enterprise Suite.
    I have take the code from the Oracle report and produced my query but it is slightly out.
    Has anyone come across this before??
    Rgds,
    Al

    I had a couple of reasons to rewrite the Aging 7 Buckets Report. First of all it just looked like a mess, especially to me who is still fairly new to Reports. We had rows labeled as type Paym that would show up even if they were not selected in the report parameters. The last reason I forget, but I know I had one at the time. I think it may of had something to do with the functionality of the date parameter.

  • Customizing AR Invoice Aging 4 buckets Report

    Hi,
    I have a need to customize Invoice Aging 4 bucket report. Output type has to be XML (which is taken care of)
    The main difficulty I'm facing is adding 3 extra columns. Customer type, Property Number and Company.
    I have modified the G_C query accordingly but when I run the report, it says no data found.
    Can anyone help me with this?
    Thanks ahead !

    Hi All,
    I was able to customize. We have to specify different aging_type present in ar_aging_buckets table so that we will be able to get the required periods.
    Thanks and Regards,
    Mahesh

  • AR Aging reort In Report Painter

    Hi Gurus,
    i need to create a AR Aging report with report painter with the following template:
    "custno"-"custName"-"Total Due"-"current due"-Past due 1-30"-"past due 31-60"-Past due 61-90"....up to "past due 180 days and above"
    can any one suggest me detailed steps to customize this report in report painter.
    Points will be given for sure.
    thanks,
    anand

    compare report RFDOPR00
    A.

  • Regarding Aging / Net dues report another way

    Hi,
    I have seen aging report for customer in SAP B1, its okay but not serve my purpose. i want this report little difference.
    when i run this report system will ask to put the date and all customer will show.
    example for one customer below:
    i put the date 15-01-2011 then Net Dues will show like below:
    Customer name--   Date      -Ivoice Num  Invoice AmtDue days--
      Balance
    ABC--01/01/2011INV001 1000--
    14     
    ABC      -
    03/01/2011-- INV002  4000--
    12     
    ABC -
    07/01/2011-- INV003 5000--
    8     
    ABC-- 15/01/2011 INV004  80001--
      18000
    Now, Incoming payment made on 16-01-2011 amt     4500     
    now i want to see net dues on 16-01-2011, it should come like below;
    Customer name--   Date      -Ivoice Num  Invoice AmtDue days--
      Balance
    ABC      -
    03/01/2011-- INV002  500--
    13     
    ABC -
    07/01/2011-- INV003 5000--
    9     
    ABC-- 15/01/2011 INV004  80002--
      13500
    look what has happened, INV001 has paid fully and INV002 has partial paid. ( 4500-1000-3500=500 for inv002)
    if it is possible to make query report please help me about this.
    Regards,
    Mizan
    Edited by: mizan700 on Apr 25, 2011 4:50 PM

    Hi Zal,
    Thanks for your hard work.
    please see the link below  and which i have marked red color. actually i want to know   Bangladesh Lamps Ltd total balance due is 2071528.90. against which Invoice.
    http://www.sendspace.com/file/cy9j92
    Below is my SQL query
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    -- =============================================
    -- Author:          <Mizan>
    -- Create date:      <26  Apr 2011>
    -- =============================================
    ALTER PROCEDURE [dbo].[@BGWL_NetDues]
         (@Age DATETIME)
    AS
    BEGIN
    --DECLARE @Cardcode varchar(12)
    --DECLARE @Cardname     varchar(50)
    --DECLARE @CardFName     varchar(100)
    --DECLARE @Itemcode     Varchar (8)
    --DECLARE @Dscription     varchar(100)
    --DECLARE @Quantity     FLOAT
         SET NOCOUNT ON;
         IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE NAME ='Temp_NetDues')
    Drop table Temp_Netdues
    CREATE TABLE Temp_Netdues (Cardname varchar(100),
    DocNum int, InvDate datetime, Days int, InvAmt Float, Balance FLOAT )
    INSERT INTO Temp_Netdues
    Select A.Customer [Name of Customer], A.DocNum [Invoice#], A.InvDt [Date],
    datediff(dd, A.InvDt, @Age) [Days],
    A.InvAmt [Invoice Amount],A.[balance] from
    SELECT  T0.[CardCode], max(T0.[CardName]) [Customer], T0.[DocNum],
    max(T0.[DocDate]) [InvDt], T0.[DocDueDate], T0.[DocTotal], T0.[PaidToDate],
    Doctotal - paidtodate [InvAmt], 0 as balance
    FROM OINV T0 where datediff(dd, T0.[DocDate], @Age)>0
    group by cardcode, docnum, docduedate, doctotal, paidtodate
    having ((doctotal -paidtodate) > 0)
    union all
    SELECT  T0.[CardCode], max(T0.[CardName]) [Customer], 0 as [DocNum],
    '' as  [InvDt],  '' as DocDueDate, 0 as [DocTotal],0 as [PaidToDate],
    0  as [InvAmt],T1.balance  [Balance]
    FROM OINV T0 , OCRD T1 where datediff(dd, T0.[DocDate], @Age)>0 and
    T1.[CardCode]=T0.[CardCode]
    group by T0.cardcode,T0.[CardName],T1.balance
    having ((sum(doctotal) ) > 0)
    ) A
    order by  [Name of Customer],[Invoice Amount] desc
    update Temp_Netdues set InvDate='', days=0 where docnum=''
    --delete  from Temp_NetDues where docnum=''
    SELECT  *  FROM Temp_Netdues   order by Cardname,Balance asc
    END
    Regards,
    Mizan
    Edited by: mizan700 on Apr 26, 2011 2:44 PM

  • Default Ageing Business Partner Report PLD by Busines Partner Type

    Hi Experts!
    I am hoping you can help me with a PLD query I have.
    I have two PLDs setup for the Business Partner Ageing Reports. 
    One PLD is for Debtors and contains a text field showing 'Debtor' and the other PLD is for the Creditors and contains a text field showing 'Creditor'.
    When the Customer Receivables Ageing report is required, the PLD containing 'Debtor' has to be selected, and when the Supplier Liabilities Ageing report is required, the PLD containing 'Creditor' has to be is selected.
    My idea was to set the 'Creditor' PLD to all the Supplier Business Partners and the 'Debtors' PLD to the Customer Business Partners, thus eliminating the need to select a PLD each time. 
    But when I go to the PLD and select set as default, I don't have the option to set by Business Partner, the only option I have is to set the PLD by User.
    Can you help me on this one please?
    Many thanks!
    Caroline

    Hi,
    It is not possible for USER Default Print method for Aging Report.
    it is possible only for Marketing and Banking Document.
    It is possible on PLD but it is not possible in Page Header on Aging Report PLD.
    Try this,
    ->> Open the Aging Report PLD.
    for example,
    BP Code Field ID in Repetitive Area -> F_110
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    ex. Field ID -> F_160
    Substring(F_110,0,1)=='C'
    ex. Field ID -> F_161
    ->> Create 1 formula Field in Repetitive Area Header and put the below formula in that field.
    Substring(F_110,0,1)=='V'
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    ->> Assign Link to Option in General Tab on Properties Window.
    Customer Aging Report
    Link to - F_160
    ->> Create 1 TEXT Field in Repetitive Area Header and type the below text(for Title).
    Vendor Aging Report
    Link to - F_161
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • AP Aging by usinf report Painter FKI0

    Dear  all
       My clinet has created the AP Aging report by using report painter in the T Code FKi0 in that  output, we dont have doument date and  transaction currency, which theyare  expecting to be there in the report. I had seen the report when i was trying add some chracteristics iam not able to do that is that any way of doing that
    Regrds
    VIMal

    age wise vendor report t.code S_ALR_87012085
    Edited by: yps y on Sep 25, 2009 3:55 PM

  • Reg: vender age analysis standard report

    HI experts,
    We  have standarrd report custmer aging  analysis :RFDOPR10
    like do we any report for  vender aging analysis ?
    and please provide where can  we get SAP FICO related standerd reports
    how to search ...
    thanks in advance.
    you will get rewards  if suitable answere.
    Thanks and regrads
    Rex

    Hi,
    To find out the SAP Standard Reports, in each sub module like General Ledger, Accounts Receivable, Accounts Payable in SAP Easy access menu, you will find the Tab for Information system, under this tab you will find the SAP standard reports either for balances, or master data etc.
    Hope this helps
    assing points if helpful
    regards,
    radhika

  • Age calculation in report builder query

    I am using SQL reporting services 2008 and report builder I have setup a report where I want to calculate the age of each student. 
    I have table called Students with a DOB field. 
    I want to display the age of each student and also use the age field in a parameter. 
    Any one have any ideas on best way of doing this.

    Hi,
    Below is my query and at the end I am trying to work out the age of student but when I run this I get an error "ORA-00933: SQL command not properly ended". Any one got any ideas.
    SELECT  s.forename, s.surname, to_char(s.DOB,'dd-Mon-yyyy') DOB, s.gender,s.ethnic_or, s.post_code,p.prov_name,e.term_desc,e.fin_yr,e.age_calculation_date,lc.paid_amt,       lc.paid_hrs_term,lc.paid_status,lc.paid_hrs_wk,lc.yearlyentitlement,lc.act_hrs_term,lc.act_hrs_wk,lc.act_wks_term,lc.oth_settings,lc.unpaid_hrs
    FROM     student s, provider p, ey_term e, la_service_provider lp, la_service_provider_detail ld, la_service_provider_service ls, la_serv_prov_child_hours lc, corresp_address c
    WHERE   lc.term_id = e.term_id
    AND             lc.stud_id=s.stud_id
    AND             lc. LA_SERVICE_PROVIDER_DETAIL_ID =ld.LA_SERVICE_PROVIDER_DETAIL_ID
    AND              LD.LA_SERVICE_PROVIDER_SERVICE_ID = LS.LA_SERVICE_PROVIDER_SERVICE_ID
    AND      ls.LA_SERVICE_PROVIDER_ID = lp.LA_SERVICE_PROVIDER_ID
    AND      lp.EARLY_YEARS_PROVIDER_ID = P.PROVIDER_ID
    AND S.STUD_ID =C.entity_id (+)
    select DATEDIFF(YEAR, '20121231', CURRENT_TIMESTAMP) as Age

  • Calculate  a person's age to the report

    HI I have a field that contains the Patient's birthday. The report is looking for the Patients age.
    I was looking for a formula that would give the years between 2 dates, with the to date being of course today's date. I guess that we don't want to round up, that is, someone is not the next year until the actual date match.
    There is a command in other script languages called Subdur (subtract duration) that would give the time between two dates. I was wondering if something like this can be had in Crystal as well.

    It's possible that the problem is that the field is not only containing the date but also the time. DOn't ask me why someone's birthday field contains the time.
    This is because a DateTime field in a database is allways Date+Time. I believe the next SQL server will have separate fields for Date and Time, but for now we're stuck with it.
    A quick google gave these results,
    [http://kenhamady.com/form06.shtml|http://kenhamady.com/form06.shtml]
    [http://www.forumtopics.com/busobj/viewtopic.php?t=112815&start=0&postdays=0&postorder=asc&sid=47492f323ddca688b00cb63fb45a001d|http://www.forumtopics.com/busobj/viewtopic.php?t=112815&start=0&postdays=0&postorder=asc&sid=47492f323ddca688b00cb63fb45a001d]
    [http://www.crystalkeen.com/articles/crystalreports/agecalculation.htm|http://www.crystalkeen.com/articles/crystalreports/agecalculation.htm]

  • AR Aging 7 Buckets Report

    select rpad('a',50,'-') cust_name_inv,
    rpad('a',30,'-') cust_no_inv,
    rpad('a',4000,'-') sort_field1_inv,
    rpad('a',4000,'-') sort_field2_inv,
    0 inv_tid_inv,
    0 contact_site_id_inv,
    rpad('a',60,'-') cust_state_inv,
    rpad('a',60,'-') cust_city_inv,
    0 addr_id_inv,
    0 cust_id_inv,
    0 payment_sched_id_inv,
    rpad('a',20,'-') class_inv,
    sysdate due_date_inv,
    0 amt_due_remaining_inv,
    rpad('a',30,'-') invnum,
    0 days_past_due,
    0 amount_adjusted_inv,
    0 amount_applied_inv,
    0 amount_credited_inv,
    sysdate gl_date_inv,
    'x' data_converted_inv,
    0 ps_exchange_rate_inv,
    0 b0_inv,
    0 b1_inv,
    0 b2_inv,
    0 b3_inv,
    0 b4_inv,
    0 b5_inv,
    0 b6_inv,
    rpad('a',25,'-') company_inv,
    rpad('a',30,'-') cons_billing_number,
    rpad('a',32,'-') invoice_type_inv
    from dual
    where 1=2
    UNION ALL
    &common_query_inv
    when I add
    sysdate trx_date
    I get an error message: ORA-01789: query block has incorrect number of results
    common_query_inv - is a user parameter
    Would you have any idea what I should do?
    Thank you
    Edited by: Olga12 on Jul 11, 2012 5:54 AM

    A UNION needs to have the same data types and number of columns in all of the SELECT statements. You added to the top half of the select, but not the bottom half. In your case it looks like there is a package generating dynamic SQL for the bottom half of the UNION. This code must be defined by a package:
    &common_query_invYou will need to track down the package and see if you can determine what it is doing. Looks like you may have to copy this report if it is seeded, because you are not going to want to modify the seeded Oracle package.

Maybe you are looking for

  • How do i use flash controls in android?

    what should be simple isnt. if i double click a flash ibject/video it maximizes. how do i click the controls like pause or full screen? occasionally it works but mostly it jumps to the link of the video instead. long press brings up a context menu of

  • AiO app cannot find printer

    Although ePrint connects happily to my wireless Photosmart printer, the All in One app is completely unable to discover it. Please advise how I move forwards.....L

  • Error while calling hr_psbuffer_initialize

    Hi, I have a scenario where, I need to call FM RH_PM_GET_TIMECONSTRAINT, followed by some code which calls to FM HR_PSBUFFER_INITIALIZE. For Some Infotypes like PA0014 where TimeConstraint need to be read from T582A, the FM RH_PM_GET_TIMECONSTRAINT s

  • Strange Timer class behavior

    I got following problem: when i create new Timer object with default "repeatCount" = 0 argument and fire my timer it doesn't work ! if i test it with any other value it works. Added some traces to see what's going on but everything seems to work ok s

  • Wired Headsets not working with Galaxy S5

    I have a number of wired 2.5mm headsets that I use with other Android based smart phones (Droid 4 most recently). I use multiple 2.5mm to 3.5mm adapters, and they have all working fine for all of them. When I try to use any of my wired headsets + ada