Aging Report, variable for Days Outstanding
Does anyone know the Variable for the 'No. of Days Outstanding' in the Aging report?
Thanks,
Marisa
Hi Marisa......
It is Variable No. 40 for no. of Days Outstanding.......
Hope this will work.....
Regards,
Rahul
Similar Messages
-
Urgent!!Variable for days not displaying properly!!!
Hi
When executing the Query,Variable for displaying Aging in days are not displaying between the selection.Pls any one help with regard to it.Pls tell wht r the main thing to be taken to consideration for this issue.
ThanksHi
We have 2 formula var.
<b>Current Cal day</b> which is based on SAP exit ,single val ,mandatory & dimension is date
Another Formula var--<b>PR Info date</b> based on Replacemtn path ,replace with infoobject ,key,Interval value from,offset 0 to 8,single val ,optional & dimention tab as date.
So calculating Ageing as <b>Var Current Cal day</b> Minus <b> VarPR Info date</b>
Then u have condition for Ageing Selection, with above calculating ageing -
operator between, another var as AGING Frm & aging TO which is form var by manual input ,interval is From val & Offset start & length as 0 & 0, single val & optional..
These r the selction made for the variables.
Pls if u can get idea,tell where the problem is??????????URGENT
ASAP...When I select range, Calculate COlumn for Ageing ..........displays all different days values not as per the selection range. -
Vendor ageing report data for all doc type needed(urgent)
hello everyone
once again i need ur help guys.
in the vendor ageing report i am getting data for only one document type and not of other.
ex- see i have two documents type-
1.KD 2. EJ
so i am getting data for document type KD only.
so how to get the data of document type EJ along with KD.
below is my code .
so tell what modifications i have to made .
*& Report Z_VENDOR AGEING *
*& in this repoet I am calculating the vendor ageing
which is depending on formula
AGEING = Current Date(or any date entered by user) Bline Date(BSIK-ZFBDT) *
REPORT z_vendor NO STANDARD PAGE HEADING
LINE-SIZE 200
LINE-COUNT 65(3).
TABLES : bsik.
DATA : BEGIN OF t_out OCCURS 0,
bukrs LIKE bsik-bukrs,
saknr LIKE bsik-saknr,
bldat LIKE bsik-bldat,
wrbtr LIKE bsik-wrbtr,
lifnr LIKE bsik-lifnr,
zfbdt like bsik-zfbdt,
zbd1t like bsik-zbd1t,
ageing type i,
END OF t_out.
parameters : p_date1 type d.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
s_saknr FOR bsik-saknr,
s_lifnr FOR bsik-lifnr.
SELECT bukrs saknr bldat wrbtr lifnr zfbdt zbd1t
FROM bsik
INTO TABLE t_out
WHERE saknr IN s_saknr
AND bukrs IN s_bukrs
AND lifnr IN s_lifnr.
Loop at t_out.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_date1
i_datum_von = t_out-zfbdt
I_KZ_EXCL_VON = '0'
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = ' '
I_KZ_ULT_VON = ' '
I_STGMETH = '0'
I_SZBMETH = '1'
IMPORTING
E_TAGE = t_out-ageing
EXCEPTIONS
DAYS_METHOD_NOT_DEFINED = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Modify t_out.
Clear t_out.
Endloop.
LOOP AT T_OUT.
IF T_OUT-SHKZG = H.
T_OUT-WRBTR = T_OUT-WRBTR * -1.
T_OUT-WRBTR = T_OUT-DMBTR * -1.
ENDIF.
DATA: TOTAL(16) TYPE P DECIMALS 2.
TOTAL = TOTAL + T_OUT-DMBTR.
Endloop.
LOOP AT t_out.
WRITE : / t_out-saknr,
t_out-lifnr,
t_out-wrbtr,
t_out-zfbdt,
T_OUT-DMBTR,
t_out-ageing.
AT LAST.
WRITE:/ TOTAL.
CLEAR TOTAL.
ENDAT.
ENDLOOP.
Message was edited by: sanjeev singhSanjeev,
Can you tell what is document type EJ representing...Secondly, if you check couple of documents of EJ type and check if data is available as per you WHERE clause filters.
Regards
Anurag -
R12 AR Reconciliation AR Aging Report 7-Bucket(Different Outstanding Amts)
Hi,
I'm new to Oracle Apps and right now i'm working on an issue where the total outstanding amount in AR Reconciliation Report and AR Aging 7-Bucket Report differ. Right now i'm clueless as to how to approach this problem in order to resolve it. Reconciliation is something i'm not much familiar with. So, any help towards resolving this issue would be greatly appreciated.
The following are the details of the instance i'm working upon,
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.1
System Date : 29-OCT-2012 17:21:00
Please guide me through the process to resolve this difference in total amounts outstanding.Hi.
The report has the parameters GL Date From and GL Date To. Don't know which is your case but let's suppose you are getting a difference in the period 01-sep-12 to 30-sep-12. Run the report for a shorter period, let's say 01-sep to 15-sep and see if the difference remains. If yes, run it for a shorter period within this one until you get the exact period where the difference occurs. Then you can identify which transactions are causing the difference.
Octavio -
Can using query create aging report for GL Account
Hi all expert,
I have a challenge scenario which customer request print out aging report for the following GL Account.
This is not a business partner account. However, customer want display like aging report.
30 days aging report for the following GL accounts by projects:-
i) WIP (Work In Progress) account
ii) Accrued Revenue account
iii) Accrued Cost account
Examples:
Current Balance 30 day 60 day 90 day 120 day
Account WIP 10000 2000 3000 5000 0
Any idea or example given? If yes, can you provide a query here?
Regards,
Eric TanHi Eric
In standard SAP Business One this is difficult as the reports are 2 dimensional. To achieve this you will need to write multiple select statements into a temporary table and then select the final result from the temp table. Here is a sample for you to test:
USE [*DATABASE_NAME*]
GO
/****** Object: StoredProcedure [dbo].[REPORT_NAME] Script Date: 04/24/2009 13:17:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[*REPORT_NAME*]
as
set nocount on
begin
DECLARE @Day_no varchar(2)
DECLARE @Month_no varchar(2)
DECLARE @Year_no varchar(4)
DECLARE @Start_Date Datetime
SET @Day_no = DAY(GetDate())
SET @Month_no = MONTH(GetDate())
SET @Year_no = YEAR(GetDate())
SET @Start_Date = @Year_No + '/' + @Month_no + '/' + @Day_no -- + '/' + @Year_No
IF OBJECT_ID(N'tempdb..#CRDAGEING', N'U') IS NOT NULL
drop table #CRDAGEING
SELECT T0.[CardCode] AS [CardCode], T0.[CardName] AS [CardName], -T0.[Balance] AS [Balance], CAST(0 AS MONEY) AS [Current], CAST(0 AS MONEY) AS [1Week], CAST(0 AS MONEY) AS [2Weeks], CAST(0 AS MONEY) AS [3Weeks], CAST(0 AS MONEY) AS [4Weeks], CAST(0 AS MONEY) AS [5Weeks], CAST(0 AS MONEY) AS [6Weeks], CAST(0 AS MONEY) AS [Over6Weeks], CAST(0 AS MONEY) AS [Avg3Months], CAST (0 AS MONEY) AS [Onhand] INTO #CRDAGEING FROM OCRD T0 WHERE T0.[CardType] = 'S' -- and T0.[CardCode] <> '' --and T0.[DocDate] >= @FromDate AND T0.[DocDate] <= @ToDate
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] <= @Start_Date GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] >= DATEADD(DAY,1,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,8,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,8,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,15,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,15,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,22,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,22,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,29,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,29,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,36,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,36,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,43,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,43,@Start_Date) GROUP BY T1.[ShortName]
SELECT SR.[CardCode], MAX(SR.[CardName]), SUM(SR.[Balance]) AS [BalanceOwing], SUM(SR.[Current]) AS [Current], SUM(SR.[1Week]) AS [1Week], SUM(SR.[2Weeks]) AS [2Weeks], SUM(SR.[3Weeks]) AS [3Weeks], SUM(SR.[4Weeks]) AS [4Weeks], SUM(SR.[5Weeks]) AS [5Weeks], SUM(SR.[6Weeks]) AS [6Weeks], SUM(SR.[Over6Weeks]) AS [Over6Weeks] FROM dbo.#CRDAGEING SR GROUP BY SR.[CardCode] ORDER BY SR.[CardCode]
END
Go to Microsoft SQL Studio manager and select your company database. Then expand the list and select Programmability > Stored Procedures. Right click on Stored Procedures and select New Stored Procedure. Copy the above code over the code in the edit window and change the database name as well as report name. Then select Execute to create the stored procedure. If you make changes, remember to change the word CREATE to ALTER (with other words CREATE for the first execute, and ALTER thereafter). Then in SAP Business One create a new query and leave everything blank. Click on execute and select the pencil to change to edit mode. Remove the words SELECT and type in EXEC REPORT_NAME (change the REPORT_NAME to the name you used in SQL). Then execute again and the results will be displayed in SAP Business One.
Let me know if you get stuck. Remember the above is an example and will need to be changed to use your tables and fields as required. The basic idea is to move across by one column with each select statement. So for example the first select statement does the CURRENT column, the second one the 30DAYS column, and so on.
Kind regards
Peter Juby -
Version: (Please provide the current version)
SBO 8.8 Patch: 10
Description of requirements: (Please provide a detailed description)
In mentioned patch level, the result/outstanding balance of Aging Report in System Currency was difference when selected 'Display Reconcilied Transactions' or not. The outstanding balance should be be same on both selection.
Valid as of: (Date that this legal requirement is applicable)
N/A
Business needs: (Please describe the impact on your business, if the functionality is not realized)
If the Aging Report cannot disppay the outstanding documetns for reconcile with customer, they cannot check with customers.
Examples: (Please describe a typical example, how the functionality should work.)
Generate the Aging report in System Currency
selected 'Display Reconcilied Transactions' including all transactions and balance is same as Trail Balance
un-selected 'Display Receoncilied Transactions' does not inclding the transactions that Local Currency is zero amount, but System Currency is not zero. The outstanding balance is different to the result of the above selection and Trail Balance as well.
Current Workaround: (Please describe the workarounds you are using at the moment)
Print the Aging Report with selected ' Display Reconcilied Transactions' to show ALL transactions to reconcile the transactions.
Proposed solution: (Please suggest how the new functionality should work)
selected 'Display Reconciled Transactions' or not, the outstanding balance should be the same.Hi Kit,
The problem was not solved yet, even I posted DFQ.
Best regards,
Michael -
Missing Function - Aging Report not match in System Currency in SBO 8.8
Dear all,
Version: (Please provide the current version)
SBO 8.8 Patch: 10
Description of requirements: (Please provide a detailed description)
In mentioned patch level, the result/outstanding balance of Aging Report in System Currency was difference when selected 'Display Reconcilied Transactions' or not. The outstanding balance should be be same on both selection.
Valid as of: (Date that this legal requirement is applicable)
N/A
Business needs: (Please describe the impact on your business, if the functionality is not realized)
If the Aging Report cannot disppay the outstanding documetns for reconcile with customer, they cannot check with customers.
Examples: (Please describe a typical example, how the functionality should work.)
Generate the Aging report in System Currency
selected 'Display Reconcilied Transactions' including all transactions and balance is same as Trail Balance
un-selected 'Display Receoncilied Transactions' does not inclding the transactions that Local Currency is zero amount, but System Currency is not zero. The outstanding balance is different to the result of the above selection and Trail Balance as well.
Current Workaround: (Please describe the workarounds you are using at the moment)
Print the Aging Report with selected ' Display Reconcilied Transactions' to show ALL transactions to reconcile the transactions.
Proposed solution: (Please suggest how the new functionality should work)
selected 'Display Reconciled Transactions' or not, the outstanding balance should be the same.
Best regards,
MichaelBapi's do not set sy-subrc. The only way to check if it was succesfull is to loop into the return table for error messages:
You have to use BAPI_TRANSACTION_COMMIT after calling BAPI_PO_CREATE1:
READ TABLE errmsg TRANSPORTING NO FIELDS
WITH KEY type = c_e.
IF NOT sy-subrc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
ENDIF. -
Regarding Customer ageing report logic in R/3.
Dear
Experts
i have requirement to develop customer ageing report logic for input 30,60,90,180,360
i don' t have any idea hw can i take these values in input& hw can i caluclate the values
i searched in sdn, i did n't get any suitable answer..
Regards
SpandanaHello,
Go to transaction code FDI4
Select Form Type RFFRRD20 Line item analysis
Give your form name and description
Structure (Two axis) - as defaulted
Click on Create
You will have lead column
Delete the rows 2, 3 and 4
Double click on column 1
Enter the customer numbers from 1 to 999999
First column double click (A)
Slelect following values
Due date analysis 1
Days for net due date 0 to 30
Give the short name, medium name and long text for the column.
Repeat this step in next columns like 31 to 60, 61 to 90, 91 to 120 and 121 to 99999 days etc in other columns and select due date analysis 1. (B,C,D,E)
Create one more column by way of formula. To create a new column you need to double click on blue line. Put formula add all five columns you have created above. (F = ABCDE)
You prepare one more column with
Due date analysis 2 (G)
Now you prepare one more column add (F+G) = This will be total open items = over due and not due.
Now go to FDI1 and prepare a report - assign the form created in FDI4 to the report.
Characteristics you need to select are
Account Type (Select Account Type as D for customers)
Currency
Customer
Document Type
Special G/L Ind
Company Code
Change the output types and options according to your requirement.
Refer FDI2 and FDI3 for other standard reports created.
Refer FDI5 and FDI6 for other standard forms created.
Save your report and execute.
Regards,
Ravi -
F-32 residual payment is affecting my ageing report.
When I am doing the residual payment using f-32 then we are getting two document generated out this, one for the incoming payment and the other for the balance amount as new invoice with new posting date, this is affecting my ageing report.
For Example: My old invoice is 01.01.2010 with 1000 USD, when I am applying the residual payment method on 08.03.2010 with 500 USD then two documents are generated out this, one for the incoming payment i.e. for 500 USD and the other for the balance amount as new invoice with new posting date i.e. 500 USD on 08.03.2010.
My original invoice ageing is under over 81 days, but when we applied the residual payment method then it got changed to less than 21 days, which is incorrect. When we analysis the issue and found that due the residual payment method we are getting this problem i.e. during this process new invoice which is generated ahs replaced my original invoice with the new invoice with new posting date, system is taking that as base and doing the ageing analysis. Which is incorrect?
We just want to have the original invoice date 01.01.2010 in the new document which is generated on 08.03.2010, so that this may not affect my ageing report.
Thanks a lot in advance.
Rajesh Kumar Mantri.When you post a residual payment, SAP creates 1 document with 2 line items for the customer. One line item clears the original invoice and the other posts the difference (residual) as a new open item on the customer. With the settings in OBA3, you can transfer the baseline date and payment terms from the original invoice to the residual item. The baseline date is normally used for aging, so with the baseline date and payment terms transfer, the residual will have the same aging as the original invoice. Also, since the original invoice is cleared when a residual payment is created, it will not show on the aging.
If you want the original invoice to remain open, not cleared, after the payment, then you need to do a partial payment instead of a residual payment. With a partial payment, the original invoice and the payment will both be open items on the customer. The payment will reference the original invoice so that when the remaining payment is made, the two items will be cleared together.
Regards,
Shannon -
BW Query variable default value put in Crystal report variable question
Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable value.
pho:
[http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
[http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
Edited by: flying on Oct 29, 2009 8:20 AMI Know what to do .
but Crystal report date variable value are Garbage characters "###".
PHO:
[http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif] -
How to create a conditional report variable, which displays the conditional
Hi Experts,
Could you please guide me how to build a conditional report variable
For ex:
I have the data for ATM and POS in the table. I will only get the data of ATMS because of the filters, I still want to display the POS in the report and the values for the POS will be 0.
Actual Output:
Description Vaule
ATM 100
Desired Output
Description Vaule
POS 0
ATM 100
Thanks in advance...
Regards,
Sadiq.Hi Gaurav,
I have a table which has columns and data as follows
Year Description Trans.Amount Trans.Count
2009 ATM 1000 50
2010 ATM 5000 200
2010 POS 1500 100
If I build a report and fetch the data for year 2010, report will display ATM and POS transaction amount and count.
Whereas, for 2009 there are no POS transaction, report will display only ATM transactions. But user needs the POS also to be displayed in the report with 0's for trans.amount and Trans.count.
Could you please guide me how to achieve this, if it is possible
Regards,
Sadiq. -
Crystal Reports AR aging report template
Is there a free Crystal Report template to do an AR Aging report somewhere for B1?
Reported it to SAP support + they plan to fix it in a future patch.
-
(Invoice aging report = Cash Requirement Report)
hi,
The total balance for cash requirement report for specific supplier not match with the balance for Invoice aging Report also for specific supplier
The expected behavior:
It must to match the balance between the two reports
(Invoice aging report = Cash Requirement Report)
But this not happen when I compare the balances between the report’s
Kindly , Advise .
ThanksHello.
The Invoice Aging Report shows unpaid invoices, which may be not due yet. Use the Cash Requirement Report to forecast your immediate cash needs for invoice payments.
Octavio -
Crystal Reports 2008 Customer Details Aging Report Example / Sample
Hello!
Anyone willing to send me a customer details aging report example for SAP Business One? (or give me a link?)
I've been looking all over and have found examples of things, but not specifically for B1.
Anything would be useful I am pretty flexible, I just want some bones to work from. In return I can send you back what I build from it.
Thanks in advance,
MikeHi Mike, you might have better replies if you post your question to the B1 forum. They would be familiar with the B1 functioanlity and data sources.
-
SAP Query (SQ01) Customer ageing report
Dear All,
My Customer want Customer ageing report only for" Due amount" open document in Sq01.Customer ageing report based on Document date+Payment term.
thanking you,
Rupang shahHi
We also required the same. Since no standard report available, we have developed ABAP report for the same.
regards
Ravi
Maybe you are looking for
-
Has anyone had problems connecting iPad mini to Jawbone speakers via Bluetooth?
Has anyone had problems connecting iPad mini to a Jawbone speaker system via Bluetooth?
-
Hi, I want to build a query which shows all accounts. What I mean even if there is a 0 value for that account in that period i want to see all the values for the account number. Can anyone help me? Thanks
-
SPA122 FW upgraded to 1.2.1 (004) now all incoming calls are droped
I upgraded my SPA122 to Version 1.2.1 (004) and Now all my incoming (inbound) calls are dropped "Status: 480 Temporarily Not available" Outbound calls are working Ok. With the same config and with FW 1.1.0 (011) all was working Fine. Is there any way
-
Filing sent messages real-time
A new & happy iMac owner, i am organizing and just set up Mail folders. While it is easy to file incoming messages into my folders, I can't find an easy (i.e. one-click) way to file my sent messages that I want to retain in a folder. After sending, I
-
SPA3102 - Help getting started please
I've just added an SPA3102 to my home network and configured to work with an existing (Sipgate) VOIP account. Everything is connected and working, and I'm able to make and receive calls via the VOIP and PSTN lines without issue. As I'd eventually lik