‎2008 Mar 19 3:29 PM
Please give the code snippet for the following case.
aging analysis program for open items:-
payments not receivecd for 15 days,30 ,60 ,90days
imput:
custno range
sales area
days 30,60,90 selection sort by cust no,sales organization
output :report program ALV grid format
my eid: <REMOVED BY MODERATOR>
Many Thanks in Advance.
Edited by: Alvaro Tejada Galindo on Mar 19, 2008 4:23 PM
‎2008 Mar 19 3:40 PM
‎2008 Mar 20 4:27 AM
hello Ishwar-
For open G/L items refer to the table BSIS.
Logic:
First fetch all the docs from bsis(open items) based on the selection.
Use FM:HR_HK_DIFF_BT_2_DATES to find the difference between P.date and Sy-datum.
Till here you will get all the openitems based on the given selection.
One important thing to note,the reversal documents will not be present in BSIS.
If this logic not OK or any problems in understanding send me your requirement to my mail id srinivas.oota@eds.com
i will build the report.
cheers,
~Srini...