How to do aging in Receivables 0FI_AR_4
Hi to all,
Can any one tell me the logic to calculate aging in Receivables?
Requirement is like that I have to create a query which has 7 buckets.
1 u2013 10 11 u2013 30 31 - 60 61 u2013 90 > 90 NotOverdue Overdue
And to calculate aging based on condition:
(SY-DATUM u2013 VBRK- FKDAT = number of days,
If number of days > 0NETDUEDATE (Due date for net payment) = Overdue
If number of days < 0NETDUEDATE (Due date for net payment) = notOverdue
I have created 2 DSO, from one DSO VBRK- FKDAT is coming and from other DSO for AR from where 0NETDUEDATE is coming.
Do I need to do logic in transformation from DSO TO CUBE via routine or formula?
Or do I need to do logic at Query level.
Also For rest bucket how i will find Receivables according to date range
or any thing else i need to do.
Please can any one suggest me the solution?
i will be great thankful to you.
Regards
Pavneet Rana
Edited by: pavneet rana on Jan 4, 2011 6:11 AM
Edited by: pavneet rana on Jan 4, 2011 8:42 AM
Thanks for Reply,
But there i am using 2 I have created 2 DSO, from one DSO VBRK- FKDAT is coming and from other DSO for AR from where 0NETDUEDATE is coming.
and Logic is like that.
SY-DATUM u2013 VBRK- FKDAT = number of days,
If number of days > 0NETDUEDATE (Due date for net payment) = Overdue
If number of days < 0NETDUEDATE (Due date for net payment) = notOverdue
Do I need to do logic in transformation from DSO TO CUBE via routine or formula?
Or do I need to do logic at Query level.
Requirement is like that I have to create a query which has 7 buckets.
1 u2013 10 11 u2013 30 31 - 60 61 u2013 90 > 90 NotOverdue Overdue
Also For rest bucket how i will find Receivables according to date range
or any thing else i need to do.
Please can any one suggest me the solution?
i will be great thankful to you.
Regards
Pavneet Rana
Similar Messages
-
How to do aging for Net Debit for 0DEB_CRE_LC
Hi to all,
i am doing aging for receivables(0FI_AR_4) for Net debit > 0.
I have created CKF excaption aggregation at query level to get Net debit greater than zero, via ( 0DEB_CRE_LC > 0 ) * 0DEB_CRE_LC for every customer.
it gives correct result .
but when i used aging via used of 0NETDUEDATE, for 1-10 and 11-30 bucket and i have restricted bucket with this CKF.
for some customer i get correct result if both debit and credit come is 1-10 bucket and net debit of this > 0.
But if customer debit come in 1-10 bucket and credit in 11-30 bucket it gives incorrect result.
how to do aging for such conditions.
Please can any one provide me solutions.
I shall be thankfull to you for this.
Regards
Pavneet RanaThanks for reply ,
my query format is like that
query rows = region and restricted with region value
query column = aging bucket 1-10 , 11-20, and every bucket is restricted with CKF 0DEB_CRE_LC > 0 and 0NETDUEDATE and division value
and drill down by customer and region
format looks like that
division1 division1 division1 division2 division2 division 2
1 - 10 11 - 20 21-30 1 - 10 11 - 20 21 - 30
Region1
Region2
so report purpose is to calculate aging for NET DEBIT VALUE .
so if i drill down by customer for net debit value, net debit value according to bucket is correct if debit and credit of customer lies in same bucket
and if customer credit and debit comes under different bucket net debit value is incorrect for bucket wise.
and if dont use aging bucket net debit value according to customer and region wise is getting correct , but i need aging also for net debit value.
please can you provide me solutions to get netdebit according to bucket wise for every customer , when drill down.
I shall be thankfull to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Feb 7, 2011 3:02 PM -
How to do aging for AR by 0DOC_DATE
Hi to all,
Please can any one tell me, how to aging for Receivables (datasource 0FI_AR_4), by use of BLDAT and SY-SYSTEM date difference.
I knew 0NETDUEDATE is used to find the aging for (datasource 0FI_AR_4).
But I need to use BLDAT (0DOC_DATE) u2013 SYSTEM DATE difference to get bucket.
I shall be thankful to you for this.
Regards
Pavneet RanaHi rana,
inorder to pic the sys date you can use the sap standard variable 0DATE or you can create a variable of type replacement path with customer exit and write the below logic for the variable in CMOD to pic the sys date.
IF i_step = 2.
CASE i_vnam.
WHEN 'ZCURDATE'.
CLEAR: l_s_range.
l_s_range-low = sy-datum.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDCASE.
ENDIF.
Now create one more formula varaible for the 0DOC_DATE with replacement path.
for ex: zdocdate
next create a Kf to cal the difference of days
Diff of days = zCURDATE -zdocdate
now create a Kf where use the logic
KF1 = (diff of days<=10)*0DEBIT_CREDIT_LC
you can rename this Kf as 1-10 days...
create KF2,KF3 ... based on your need.
Hope this helps you
regards
KP -
How do I shut off receiving phone and text messages when I am out of the country. I still want to be able to email and receive email on wifi
Enable Airplane mode followed by turning on wi-fi access.
-
How to restrict number of received e-mails
how to restrict number of received e-mails at iOS 7 ( at previous iOS there were options to receive last 50 or 100 or 200 messages ) ??
I have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.
-
hi friends
How to create ageing reports.If any one has documents/links pls provide me..Hi,
Check in..
http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy -
How do I send and receive email with my @me email account
I want to drop yahoo as my email provider, so how do I send and receive email using my @me account. Using yahoo, you go to yahoo, then mail and your good to go. I'm not a tech expert and fairly new to apple products and would like the improved security of an apple address.
Hi stephraerae,
Welcome to the Support Communities!
The article below may be able to help you with this.
Click on the link to see more details and screenshots.
iOS: Adding an email account
http://support.apple.com/kb/ht4810
iCloud is one of the options you can choose for your email provider.
iCloud: Set up iCloud Mail on your devices
http://support.apple.com/kb/PH2621
This article includes the specific iCloud server settings:
iCloud: Mail server information
http://support.apple.com/kb/HT4864
Hope that helps ...
- Judy -
How do i save a received voice memo
How do I save a received voice memo off my phone?
did you get an answer? I'm havng the same problem.
-
Good afternoon, I bought a box of PEV in the game the sims 3 worth € 8.99 and I was not credited in the game despite me out of the account. How can I cancel or receive the PEV?
Try contacting iTunes support via this page and ask them to help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
-
When I open Live Mail using the Firefox browser, how often is new mail received?
Firefox 13, Windows Vista, I use Thunderbird as my default email program and in past versions of Firefox I was able use a custom button to open Thunderbird to receive mail. In the options menu - applications - there is a mailto content type but no option to open Thunderbird inbox?
-
ABAP-HR MODULE(HOW TO CALCULATE AGE & YEARS OF SERVICE)
HI,
HOW TO CALCULATE AGE & YEARS OF SERVICE means for example
I AM USING PNPCE LDB.
(1) whose age is greater than 52.833 years with 7.833 years of service, with annual rate of pay $170,000 or more, or
(2) age plus employment service is 65 or more, with annual rate of pay of $ 170,000 or more.
Note that the $ 170,000 parameter would be a variable that could change annually when this report would be generated. In the past, age and service value were determined as of the run date. The determination date would also be a variable that would change when the report would be generated.
Thanks&Regards
Rahul.Hi Rahul,
This is the 2nd warning !!! Please... use the correct or most appropriate forum.
The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
This thread will be moved from to .
You're asking this question in two thread, so the duplicated thread will be deleted.
Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos -
How to Calculate AGE by getting difference between two Date Fields
HI Gems
I need to calculate AGE from getting difference from two date fields. But when i am trying to wrte fromula as Current date - date1(some date field) then it is showing error.
How can i get values.
Thanks
ManuYou already asked this question:
How to calculate AGE from two different date fields -
How to calculate age in oracle
Hi,
T was trying do calculate age as on todays date in ORACLE but after a lot of brain storming i didn't get it.
Kindly tell me how to calculate age as in years month days.
For ex.. My DOB- 02-feb-1984 so my age should get as 27 Years 2 months 8 days
How to do it.
I tried this
select
TRUNC( months_between( sysdate, TO_DATE('02-02-1984','DD-MM-YYYY') )/12 ) Year,
TRUNC( mod(months_between( sysdate, TO_DATE('02-02-1984','DD-MM-YYYY') ),12) ) Month,
mod(months_between( sysdate, TO_DATE('02-02-1984','DD-MM-YYYY') ),12) /30 Days
from dual
but days are not calculating correctly...
RGds,
PCsorry..i didn't chck your query..it is right but give wrong answer..
WITH got_months AS
SELECT TO_DATE('02-02-1984','DD-MM-YYYY')
, FLOOR (MONTHS_BETWEEN (SYSDATE, TO_DATE('02-02-1984','DD-MM-YYYY'))) AS months
FROM dual
SELECT TO_DATE('02-02-1984','DD-MM-YYYY')
, TO_CHAR (FLOOR (months / 12)) || ' years, ' ||
TO_CHAR (MOD (months, 12)) || ' months, ' ||
TO_CHAR ( CEIL ( SYSDATE
- ADD_MONTHS ( TO_DATE('02-02-1984','DD-MM-YYYY')
, months
) || ' days'
FROM got_months
o/p
TO_DATE('02-02-1984','DD-MM-YY TO_CHAR(FLOOR(MONTHS/12))||'YE
1 2/2/1984 27 years, 7 months, 9 days
1 day more..1 it sud be.. 2/2/1984 27 years, 7 months, 8 days
if i make correction with add_months like below..
WITH got_months AS
SELECT TO_DATE('02-02-1984','DD-MM-YYYY')
, FLOOR (MONTHS_BETWEEN (SYSDATE, TO_DATE('02-02-1984','DD-MM-YYYY'))) AS months
FROM dual
SELECT TO_DATE('02-02-1984','DD-MM-YYYY')
, TO_CHAR (FLOOR (months / 12)) || ' years, ' ||
TO_CHAR (MOD (months, 12)) || ' months, ' ||
TO_CHAR ( CEIL ( SYSDATE
- ADD_MONTHS ( TO_DATE('02-02-1984','DD-MM-YYYY')
, months
)-1
) || ' days'
FROM got_months
then o/p is..
TO_DATE('02-02-1984','DD-MM-YY TO_CHAR(FLOOR(MONTHS/12))||'YE
1 2/2/1984 27 years, 7 months, 8 days
correct but cdnt understand why sud -1? -
How to cancel the No receiver found messages in XI
Hi Experts,
Could you please help me here, how to cancel the no receiver found error messages in XI?
I have tried to cancel it , but it is not working. Please let me know know the process?
Thanks in Advance.
Best Regards,
Madhu.Hi,
If the error message is of red flagged, then you can cancel the message.
You can use the report 'RSXMB_CANCEL_MESSAGES' to cancel the error messages.
If the message is of synchronous, it cannot be cancelled.
Thanks,
Kanda -
Post Author: SunilKanta
CA Forum: General
Hi,
I am new to crystal reports, i am designing a report i.e cross tab report as shown below,
AGE TABLE
0-5
6-10
11-15
16-20
21-25
26-28
CLASS A Count
7
15
CLASS B Count
7
15
CLASS C Count
109
155
120
96
89
Now my questions are,
How to display age ranges i.e 0-5, 6-10,........?
How to group ages in range and get the count or any summarized value ?
Here i am passing three parameters to the report which are
1. prmLowAge
2. prmHighAge
3. prmAgeBand
Above shown sample is characterised with prmAgeBand = 5, prmLowAge = 0 and prmHighAge = 28.
And if possible please try to find the solution for variable age bands.
Please i am very desperate. Please help me in solving this .Post Author: Ishe
CA Forum: General
You can use a Do...While loop. You can use the funtion below:
LOCAL STRINGVAR AGEGRP;LOCAL NUMBERVAR AGECNT := 0;
DO (AGEGRP := CSTR(AGECNT,0) + '-' + CSTR(AGECNT+5,0);AGECNT := AGECNT + 5)WHILE AGECNT < ;
AGEGRP
Also, you may want to use the following funtion to get , because the formula you were going to use would only compare the year of birth to the current year and ignore the number of months and days difference.
Int(DateDiff("d",{table.BirthDate},CurrentDate)/365)
Maybe you are looking for
-
I have an ipad that I can not get to connect to anything.Keep getting "server stopped responding" after ipad tries to connect for 5 minutes.I have wi-fi enabled and password given and enabled with strong signal.I have restored to factory settings onc
-
Want my current ipod to synch to a new itunes library
Hi there - wondered if anyone can help? I had itunes installed - ipod and itunes all working fine. then my computer got a virus and had to have everything wiped. Now when I plug my Ipod in it tells me that it is synched to a library alreday (which wa
-
Drill through report examples/steps
Hi Gurus I am trying to create report with Drill through functionalities. I want to know the steps to create report with drill through functionalities. I have understood the set up for Drill through but still not able to visualize how to use it in
-
Error when creating a database diagram
Hi, this is the error that I receive when I try to create a database diagram with aprox. 20 tables: BME-99003: An error occurred, so processing could not continue. Cause: The application has tried to de-reference an invalid pointer. This exception sh
-
Compiling AXI DMA linux drivers in SDK.
Hi guys, I think I'm doing something wrong and It's making me crazy. I've got: Vivado 2015.2 w/ SDK. Zynq zc702. Tested in Linux 14.04 and Windows 7. And I want to use the axi dma drivers in a Linux application so that I downloaded the axidma_test.c