Aging - 7 Buckets - By Account Report
Hi All,
I need sql script to get the same output of Oracle Standard Report 'Aging - 7 Buckets - By Account Report' as i am gone through the data model but the query is written in Dynamically and using Dual table.
Can anyone tell me how to write the sql script for this Oracle standard report.
Regards,
Sushant
Hi,
Oracle Standard Report 'Aging - 7 Buckets Report' giving output of Customer Name and Customer Number with Outstanding Amount of aging between 7 bucket(0-30 days, 31-45 days, 46-60 days, 61-90 days, 91-120 days, 121-150 days, 151-99999 days)
As i an able to get the aging colum by below query.
select a.*, b.*
from AR_AGING_BUCKETS a,
AR_AGING_BUCKET_LINES b
where a.aging_bucket_id=b.AGING_BUCKET_ID
and a.AGING_BUCKET_ID=1003
but how to relate the customer name ,customer no (RA_CUSTOMER table) and outstanding amount with this aging bucket table.
so i need to develop a report customer wise aging 7 bucket and their outstanding amount.
Please give me idea how to proceed .
if you need more information please update the forums.
Regards,
Sushant
Edited by: user605933 on Jun 11, 2009 9:17 AM
Similar Messages
-
Adding a filed to Aging - 7 Buckets - By Account Report
Hi,
I have a requirement to add a filed to standard Adding a filed to Aging - 7 Buckets - By Account Report.
I am fetching the new filed value in a formulae column,This column value i want to add to the layout to dispay that values on the report.
Is there any trick to identify from which layout the output is being dispalyed on the output file.
I am running the report with parameters
1 Operating Unit
2 SOB name
3 Currency
4 Bucket Name
5 risk option "Age"
I am getting the
the output format is
Accouting Flexfield: 61.000.000.111100.0000.0000.0000
Customer# Customer Name Outstanding Amount
1-53YHQ1 XXXXCUSTOMER NAME 23,255.82
AANA-GYNWC YYYYYCUSTOMER NAME 206,072.97
Now i want to add one filed after Customer # .
Could anyone please give some suggestion from which group/layout the above output is coming.
If so i will try to add the field to that group and i will try to display the values.
Thanks,
Malla
Edited by: user4254752 on May 18, 2009 11:43 AM
Edited by: user4254752 on May 18, 2009 11:43 AM
Edited by: user4254752 on May 18, 2009 11:44 AMYou are going to have to do this as a custom report. This is not one of those report exchange reports where you can change the format of the report on the fly.
John Dickey -
Ageing 7 Buckets - By Account Report - Unapplied Receipts Register
Hi Guys,
I am not a disco professional, just wanted to know if i want the following reports (Ageing 7 Buckets - By Account Report - Unapplied Receipts Register) to run from disco how do i achive this ?
Thanks
BalHi Bal
Does the report exist? If so you need to share it with a user that you have access to then log in as that user and run it.
If the report does not exist you will need to create it.
If you're asking whether Discoverer can create an aging report with buckets the answer is yes and the trick is to master the CASE statement. This might help:
CASE WHEN days_late < 8 THEN 'Within 1 week'
WHEN days_late < 15 THEN 'More than 1 but less than 2 weeks'
WHEN days_late < 22 THEN 'More than 2 but less than 3 weeks'
.... and do on until .....
WHEN days_late < 91 THEN 'some suitable bucket'
ELSE 'More than 90 days'
END
As you create the CASE statement the set of values remaining is decreased by that statement just processed. So for example if you start out by looking for anything less than 8 then once those have been determined there will be no more values in the set. Thus next we look for anything less than 15, and so on.
If you want to work the other way, from the top down you need to use the greater than symbol like this:
CASE WHEN days_late > 89 THEN 'More than 90 days'
WHEN days_late > 59 THEN 'More than 60 days'
.... and do on until .....
WHEN days_late > 7 THEN 'More than 7 days'
ELSE 'Within 1 week'
END
Best wishes
Michael -
Aging - 7 Bucket - By Collector Report
Hi ,
Can anyone help me how to create Standard Report 6i (Aging - 7 Bucket - By Collector Report) in Discoverer 10g.
Regards,
SushantCan i know the field which is generating the above value that containing the report name.Open the report in Report Builder and look at the source code.
-
Aging 7 Buckets - By Collector Report does not take RTF template
Hi All.
There is standard Receivables Report (Aging 7 Buckets - By Collector Report).
We needed to have output of this report in nice pdf format. we created a RTF template using XML publsher 10.1.3.2.
When we run the report from applications, It does not produce ouput (not taking RTF template during runtime)...completes with Warning message.
I checked concurrent program settings , Everything looks good, output format set to XML.
Can you please let me know anyone ever ran into this issue ? This is very urgent.
Thanks in Advance.You need to use XML Publisher Administrator responsibility to define Data Definition and Report Output templates. Unless this is completed, the conc pgm will not pick up the template.
Srini -
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,
MallaHi,
"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 -
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 -
AR Aging 7 Bucket Summary Report Outstanding Amount Query
Hi All,
Please help me on below query,
I want to do a report based on AR Customer Outstanding Balance/Amount and it should tally with AR Aging 7 Bucket Summary Report Outstanding Amount.
7 Bucket Report used Parameters - (1000, 2025, ARXAGS, 50308, , Customer, C, B, 2013/03/19 00:00:00, Collections, SUMMARY, , , , , , , , , , , , NONE).
I tried my maximum, But some customers are tallying and some are not.
Please help me to write the query, to find the Customer Outstanding Balance which is tallying with Aging 7 Bucket Summary Report Outstanding Amount.
ThanksA 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. -
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 DueHi
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 -
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,
AlI 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 -
Ageing wise vendor and customer report
hi....
Where i can get ageing wise vendor and customer report?
Thanks & Regards
Rekha shramaHello
First configure credit management & customise.
A/R Summary
Degree of ageing
You can set the allowed degree of ageing in Customizing for Sales, under Basic Functions ® Credit Management/Risk Management ® Credit Management ® Define Automatic Credit Control.
Under Checks in financial accounting/ old A/R summary, you can enter the permitted degree of ageing for the A/R summary, in the fíelds Permitted days and Permitted hours. Here, you can define how old the A/R summary can be, in order to be called up for a check. If the permitted degree of ageing for the A/R summary is exceeded in the credit check, then the document is blocked.
Fields allowed days and allowed hours are only available for entry if you have entered an X in field Read A/R Summary in Customizing. The path is: Accounts Receivable and Accounts ® Credit Management ® Credit Control Account ® Make basic settings for credit management.
Updating
The A/R summary is either sent periodically (with the help of the report RFCMCRCV) from central Financial Accounting to the decentralized Sales and Distribution units according to ALE distribution model or, if an obsolete A/R summary is presented, updated for the credit check by the system per remote function.
In order that the system is burdened as little as possible, SAP recommends you stick to the following order:
Program run: Incoming payments in central FI
Program run: Distribution A/R summary from central FI to decentralized Sales and Distribution units
Program run: Renewed credit check for blocked sales documents in decentralized Sales and Distribution units
Status Management for Obsolete A/R Summary
If the A/R summary is obsolete, the credit status Credit data obsolete is set. This means that the document is blocked, and appears in the credit representativeu2019s worklist. In Customizing for Sales, in the section Automatic Credit Control, for the single, aforementioned checks, for which FI data is necessary, you can define whether a warning appears in the obsolete data, or whether a status is set.
If you are working with the A/R summary, and would like to re-process obsolete data, it is recommended that you set a status.
Reg
suresh -
Business Content or Information for GR/IR Account Report
Hi All,
I have an R3 report called GR/IR Account Report by PO Mismatch.
Is there any business content available for this in BI.
The below tables are using in the report.
bsis, " Accounting docs by account
bsas, " Cleared accounting docs by acc
bseg, " Accounting doc line item
ekko, " Purchase Order Header,
ekpo,
mkpf, " Material Document
lfa1, " Vendor details
ekbe, " PO History
ekkn, " PO Acct.Assgnment
usr21,
addr3_val,
ad3_flags,
stxh.
Could you please provide me your inputs on this
Regards
SriniThe new additional fields need to be populated are
ZZAUFNR Order Number *
ZZBEDAT Purchase Order Date *
ZZCRE_FI FI Doc Created By *
ZZCRE_PO PO Doc Created By *
ZZEBELN Purchasing Document Number *
ZZEBELP Item Number of Purchasing Document *
ZZKOSTL Cost Center *
ZZMWSKZ Tax on sales/purchases code *
ZZPROJK WBS element *
ZZTXZ01 Short text *
ZZUSNAM User name *
ZZXBLNR Reference document number *
ZZHWSTE Tax Amount in Local Currency *
ZZSGTXT Item Text *
ZZHKONT Finance G/L Account *
when '0FI_AP_4'.
Declare the local data fields to store data temporarily
data : l_dtfiap_3 like DTFIAP_3,
mwskz like bsik-mwskz,
l_ernam like bapibname-bapibname,
l_address like bapiaddr3,
l_bseg like bseg,
l_bedat like ekko-bedat,
l_ps_psp_pnr like prps-pspnr.
data : gt_return type bapiret2 occurs 0 with header line.
loop at c_t_data into l_dtfiap_3.
l_tabix = sy-tabix.
*Select the tax Code for the particular record from BSAK TABLE
select single mwskz sgtxt into (l_dtfiap_3-zzmwskz,
l_dtfiap_3-zzsgtxt)
from bsak
where bukrs = l_dtfiap_3-bukrs
and buzei = l_dtfiap_3-buzei
and belnr = l_dtfiap_3-belnr
and lifnr = l_dtfiap_3-lifnr
and gjahr = l_dtfiap_3-gjahr
and zuonr = l_dtfiap_3-zuonr
and augbl = l_dtfiap_3-augbl
and augdt = l_dtfiap_3-augdt
and bldat = l_dtfiap_3-bldat
and blart = l_dtfiap_3-blart
and bschl = l_dtfiap_3-bschl
and budat = l_dtfiap_3-budat.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
else.
*If corresponding Document Number is not present in BSAK check BSIK
*TABLE
select single mwskz sgtxt into (l_dtfiap_3-zzmwskz,
l_dtfiap_3-zzsgtxt)
from bsik
where bukrs = l_dtfiap_3-bukrs
and buzei = l_dtfiap_3-buzei
and belnr = l_dtfiap_3-belnr
and lifnr = l_dtfiap_3-lifnr
and gjahr = l_dtfiap_3-gjahr
and zuonr = l_dtfiap_3-zuonr
and augbl = l_dtfiap_3-augbl
and augdt = l_dtfiap_3-augdt
and bldat = l_dtfiap_3-bldat
and blart = l_dtfiap_3-blart
and bschl = l_dtfiap_3-bschl
and budat = l_dtfiap_3-budat.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
endif.
select single hwste into l_dtfiap_3-zzhwste
from bset
where bukrs eq l_dtfiap_3-bukrs
and belnr eq l_dtfiap_3-belnr
and gjahr eq l_dtfiap_3-gjahr
and buzei eq l_dtfiap_3-buzei.
Select Created By and invoice Reference Number from BKPF table
select single usnam xblnr from bkpf
into (l_dtfiap_3-zzusnam,l_dtfiap_3-zzxblnr)
where bukrs = l_dtfiap_3-bukrs
and belnr = l_dtfiap_3-belnr
and gjahr = l_dtfiap_3-gjahr.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
move l_dtfiap_3-zzusnam to l_ernam.
refresh : gt_return.
Get the Fi doc Created By doing the function Module call
call function 'BAPI_USER_GET_DETAIL'
EXPORTING
username = l_ernam
IMPORTING
address = l_address
TABLES
return = gt_return.
move l_address-fullname to l_dtfiap_3-zzcre_fi.
if l_dtfiap_3-zzcre_fi is initial.
move l_ernam to l_dtfiap_3-zzcre_fi.
endif.
if not l_dtfiap_3-zzcre_fi is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
if l_dtfiap_3-blart eq 'RE'.
.....Get New Fields from PO linked to FI Document.....................
Select PO Number from PO Line item from BSEG TABLE
select buzei buzid ebeln ebelp
into corresponding fields of l_bseg
from bseg
where bukrs eq l_dtfiap_3-bukrs
and belnr eq l_dtfiap_3-belnr
and gjahr eq l_dtfiap_3-gjahr.
if l_bseg-buzei eq l_dtfiap_3-buzei.
.....Already read this line, therefore ignore it......................
continue.
endif.
if l_bseg-buzid eq 'T'.
.....Don't read automatically created lines - Tax Line................
continue.
endif.
if not ( l_bseg-ebeln is initial ).
move l_bseg-ebeln to l_dtfiap_3-zzebeln. " PO Number
endif.
if not ( l_bseg-ebelp is initial ).
move l_bseg-ebelp to l_dtfiap_3-zzebelp. " PO Line Item No
endif.
if not l_dtfiap_3-zzebelp is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
endselect.
.....Got PO Number from FI Document, Now get PO Details...............
.....Get Short Text...................................................
GET PO Line Item text
select single txz01 into l_dtfiap_3-zztxz01
from ekpo
where ebeln eq l_dtfiap_3-zzebeln
and ebelp eq l_dtfiap_3-zzebelp.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
.....Get Account Assignment...........................................
select ps_psp_pnr aufnr kostl sakto
into (l_ps_psp_pnr,l_dtfiap_3-zzaufnr,
l_dtfiap_3-zzkostl,l_dtfiap_3-zzhkont)
from ekkn
where ebeln eq l_dtfiap_3-zzebeln
and ebelp eq l_dtfiap_3-zzebelp.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
select single posid into l_dtfiap_3-zzprojk
from prps
where pspnr = l_ps_psp_pnr.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
endselect.
.....Get Name of Person who created PO................................
clear : l_ernam,l_bedat.
select ernam bedat into (l_ernam, l_bedat)
up to 1 rows
from ekko
where ebeln eq l_dtfiap_3-zzebeln.
endselect.
move l_bedat to l_dtfiap_3-zzbedat.
if not l_dtfiap_3-zzbedat is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
refresh : gt_return.
call function 'BAPI_USER_GET_DETAIL'
EXPORTING
username = l_ernam
IMPORTING
address = l_address
TABLES
return = gt_return.
move l_address-fullname to l_dtfiap_3-zzcre_po.
if l_dtfiap_3-zzcre_po is initial.
move l_ernam to l_dtfiap_3-zzcre_po.
endif.
if not l_dtfiap_3-zzcre_po is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
else.
.....Get new Fields from FI Document..................................
select buzei buzid ebeln ebelp projk aufnr kostl hkont
into corresponding fields of l_bseg
from bseg
where bukrs eq l_dtfiap_3-bukrs
and belnr eq l_dtfiap_3-belnr
and gjahr eq l_dtfiap_3-gjahr.
if l_bseg-buzei eq l_dtfiap_3-buzei.
.....Already read this line, therefore ignore it......................
continue.
endif.
if l_bseg-buzid eq 'T'.
.....Don't read automatically created lines - Tax Line................
continue.
endif.
if not ( l_bseg-ebeln is initial ).
move l_bseg-ebeln to l_dtfiap_3-zzebeln. " PO Number
endif.
if not ( l_bseg-ebelp is initial ).
move l_bseg-ebelp to l_dtfiap_3-zzebelp. " PO Line Item
endif.
move l_bseg-aufnr to l_dtfiap_3-zzaufnr. " Order Number
move l_bseg-kostl to l_dtfiap_3-zzkostl. " Cost Centre
move l_bseg-hkont to l_dtfiap_3-zzhkont. " GL Account
select single posid into l_dtfiap_3-zzprojk
from prps
where pspnr = l_bseg-projk.
if not l_dtfiap_3-zzprojk is initial
or not l_dtfiap_3-zzaufnr is initial
or not l_dtfiap_3-zzkostl is initial
or not l_dtfiap_3-zzhkont is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
endselect.
.....Get PO Short Text................................................
select single txz01 into l_dtfiap_3-zztxz01
from ekpo
where ebeln eq l_dtfiap_3-zzebeln
and ebelp eq l_dtfiap_3-zzebelp.
if sy-subrc = 0.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
.....Get Name of Person who created PO................................
clear : l_ernam,l_bedat.
select ernam bedat into (l_ernam, l_bedat)
up to 1 rows
from ekko
where ebeln eq l_dtfiap_3-zzebeln.
endselect.
move l_bedat to l_dtfiap_3-zzbedat.
if not l_dtfiap_3-zzbedat is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
refresh : gt_return.
Get PO Doc Created By
call function 'BAPI_USER_GET_DETAIL'
EXPORTING
username = l_ernam
IMPORTING
address = l_address
TABLES
return = gt_return.
move l_address-fullname to l_dtfiap_3-zzcre_po.
if l_dtfiap_3-zzcre_po is initial.
move l_ernam to l_dtfiap_3-zzcre_po.
endif.
if not l_dtfiap_3-zzcre_po is initial.
modify c_t_data from l_dtfiap_3 index l_tabix.
endif.
endif.
endloop.
Edited by: Srinivas Gogineni on Apr 19, 2009 11:10 AM -
Profit Center Accounting Reports - New GL
I've done the configuration and setup for the Profit Center accounting reports (new GL) in ecc 6 and I'm having an outstanding issue.
If I attempt to run the reports via their transaction code, ie S_E38_98000088 I have no problems. Access/authorization is fine and the desired result is achieved. If I navigate the SAP Easy Menu to Accounting -> Financial Accounting -> General Ledger -> Information System -> General Ledger Reports (New) I don't see the "Reports for Profit Center Accounting folder.
If I go to se43 and look at the S000 areamenu, the path is there. I've tried with a user account that has wide open access to everything and I still don't see it. Is there any configuration that needs to be done to get this menu path to display to the end user?
Any help/suggestions are greatly welcomed.
Regards,
ElderI think this comes with Enterprise Business Function FIN_GL_CI_1, t-code SFW5. Read the documentation in SFW5, those Reports are there.
Good luck. -
Hello Guys.
I have some doubts, in respect of Rogue Accounts Report, What the best way to solve users that can be showed at this report?
Thanks in Advance for any help.
Daniel.uhnnn interesting, I know these ways, but One thing that I do not know yet, by example...
I ran the Rogue Account Report, and this report showed me X, Y users, to solve that user, I made a attestation, but the user had been showed again when I ran the Report, Is there other way to solve this problem?
Thanks.
Edited by: user10365508 on Aug 15, 2012 10:06 AM
Maybe you are looking for
-
Simple question. VL31 allows me to create as many deliveries as I want against a Purchase Order, irrelevant of the quantity in the PO. The tolerance check against the PO quantity is performed at PGR. Same thing is true for MB31 : receiving against a
-
Create an applescript to automate PDF compare?
I need to create an applescript to automate comparing B4 and After PDF. Can this be done with applescripting.
-
Router activity does not evaluate conditions cases.
Hi all, I have a bounded taskflow as a region in a jspx page. This task flow has 3 activity. The default one is a router that evaluate two cases, and navigate to one page fragment. The two cases expressions are like this : <router id="router1">
-
I am able to purchase a new app from Apple App store using my current email address and password. I am not able to update a previously purchased app (for instance "Pages") that I purchased some time ago when I had a different email address. When I
-
I have a primary router for my fios connection on the main floor of the house. This router provides wireless to the whole house and gets the internet from a coax connection. In my office on the first floor I use my main pc via wireless but I do have