Running balance in grouped tablix??
I am trying to add a running total to a tablix in RS 2008 and can't seem to get it working.
Here is an example of what io want it to look like
RENT
Date Description Amount
Balance
01/01/2010 Balance brought forward £-100.00 £-100.00
01/01/2010 Debit £200.00
£100.00
05/01/2010 Credit £100.00 £0.00
01/02/2010 Debit £200.00
£200.00
05/02/2010 Credit £100.00
£100.00
01/03/2010 Debit £200.00
£300.00
05/03/2010 Credit £100.00
£200.00
NOW() Balance carried forward £200.00
COURT
Date Description Amount
Balance
01/01/2010 Balance brought forward £-20.00 £-20.00
01/01/2010 Debit £10.00 £-10.00
05/01/2010 Credit £10.00 £-20.00
01/02/2010 Debit £20.00
£0.00
05/02/2010 Credit £10.00 £-10.00
01/03/2010 Debit £20.00
£10.00
05/03/2010 Credit £10.00
£0.00
NOW() Balance carried forward £0.00
COSTS
Date Description Amount
Balance
01/01/2010 Balance brought forward £10.00 £10.00
01/01/2010 Debit £50.00
£60.00
05/01/2010 Credit £50.00 £10.00
01/02/2010 Debit £20.00
£30.00
05/02/2010 Credit £20.00
£10.00
01/03/2010 Debit £30.00 £40.00
05/03/2010 Credit £40.00
£0.00
NOW() Balance carried forward £0.00
The tablix is grouped by category (eg RENT, COSTS, COURT) and I need to find out how to produce a running balance for each group and put the final palance as an extra row underneath.
Any help would be fantastic!!
Hello,
Hello,
You need to use a matrix control.
Rows column is Date and columns are Description.
So it will look like
Balance brought forward
Debit
Credit
Subtotal
1/01/2010
-100
0
0
-100
1/01/2010
0
200
0
200
5/01/2010
0
100
-100
1/02/2010
0
200
0
200
5/02/2010
0
0
100
-100
01/03/2010
0
200
0
200
5/03/2010
0
0
100
-100
Balance brought forward
200
Sergei
Similar Messages
-
How to get a running balance on a report
How do I get a running balance for one customer. Please look at the data set as a example and advise.
Customer A Apples
1.00 Paid
Customer A Pears
2.00 Paid
Customer A Oranges
2.50 Open
Balance 2.50
What expression am I to use in report builder
ThanksHi,
Here is the example for getting running Value:
http://gerryhubi.wordpress.com/2010/03/16/ssrs-tips-runningvalue/
SSRS Tips – RunningValue
Posted on March
16, 2010by gerryhu2000
Running value is a very generic and useful function. All
the 3 parameters can be manipulated for different purpose.
· Expression
the target on which the aggregation is applied. Most of the time it’s the column name in a dataset, or a combination of a few columns, e.g. “Group1 & Group2”.
· Function
Aggregate functions, and the most often used functions include
Avg
Returns the average of all non-null numeric values specified by the expression
Count
Returns a count of non-null values specified by the expression
CountDistinct
Returns a count of all distinct non-null values specified by the expression
Max
Returns the maximum value of all non-null numeric values specified by the expression.
You can use this for specifying a chart axis maximum value to control the scale.
Min
Returns the minimum value of all non-null numeric values specified by the expression.
You can use this for specifying a chart axis minimum value to control the scale.
Sum
Returns the sum of all the non-null numeric values specified by the expression
· Scope
The scope can be dataset, table or table groups.
The sample report below shows some applications of RunningValue. The dataset uses this query
SELECT Company, Product, InvoiceNumber, InvoiceAmount from InvoiceTable
The table (SSRS table control) is configured to have 2 groups, “gCompany” and “gProduct”.
Here is a report featured with Running Value tips
Alternate
color for Product Group
Normally the “green-bar” (green background color for alternate rows) is implemented by setting
the back ground color of the detail row to
=IIF(RowNumber(Nothing)
Mod 2,"Green","White")
To set color for alternate groups, use the expression below for background color
=IIF(RunningValue(Fields!Product.Value,CountDistinct,Nothing)
Mod 2, "LightBlue", "White")
The RunningValue function works like a counter/index for the product group.
Running
Sum value
Cumulative sum is calculated in this expression:
=RunningValue(Fields!Amount.Value,
SUM, Nothing)
“Scope = Nothing” means the outermost data region. And for Running Sum by Company or Product,
the scope if set to the corresponding group name.
=RunningValue(Fields!Amount.Value,
SUM, “gCompany”) or
=RunningValue(Fields!Amount.Value,
SUM, “gProduct”)
Group
Running Number
The summary table uses the same dataset as the details table. Normally the row number uses the
function
= RowNumber(“table1”)
For this case, the row number is using the CountDistinct function. The expression is
=RunningValue ( Fields!Company.Value +
Fields!Product.Value,
CountDistinct, Nothing)
Notice that the 2 groups are both used, to prevent mixing products
from different company.
Thanks Shiven:) If Answer is Helpful, Please Vote -
Customer balances in Group Currency
Is there any way to get the Customer balances in Group currency - I am running TC S_ALR_87012172 for a UK Company Code. This TC provides me balances and details in GBP only and does not provide the option to get my USD balances. Is there any other transaction which would allow me to get the same type of report but in both LC and Group currency or at least only on GC? Same goes for TC S_ALR_87012082 for the payables side.
Hi
Can you try to edit the fields in layout in same t-code , also you can try to check the report in t-code: FBL5N if group currency filed is not avalible. -
Formula Column in Matrix Report (Running Balance)
Hi all. I hope somebody can help me.
I am working on a matrix report using multi-query data models. The report has 2 groups in the horizontal axis and 3 groups in the vertical axis. The intersection is not just a single row but may consist of multiple rows.
My problem is this. I want to create a column in the intersection which is obtained by using a column value from the lowest group in the vertical axis and a summary column obtained from the rows of the intersection.
Here's what my report looks like:
2002 (accross)
2002(down) january february (accross)
January (down) payments balance payments balance
loan #1 10,000 500 9,000 200 8,800
500
loan #2 5,000 100 4,900 200 4,700
February
loan #3 3,500 0 3,500 50 3,450
loan #4 4,200 0 4,200 0 4,200
As you can see, the loans are grouped by month and year. And the payments are grouped for the month and year too.
The data model is :
For Query 1 (Vertical Axis),
1st group - Loan Yr
2nd group - Loan Mo
3rd group - Loan # and amount
For Query 2 (Horizontal Axis)
1st group - Payment Yr
2nd group - Payment Mo
Intersection Group - Payment Amount
My problem actually is how to compute for the running balance of the loan for each month in the horizontal axis. Ive already created a cross product summary to get the running total of the payments made for the month. I tried creating a formula column to for the running balance by subtracting it from the loan amount but i get the error "incompatible frequency"
I hope i have described my problem well and thanks for the helpThe problem is that you're trying to reference dimension columns(loan Amount) in the calculation of matrix cell values. You can only reference other matrix cell values or cross product columns (summary, formula, placeholders) when calculating matrix cell values. Try moving the (loan Amount) column down to the matrix cell - something like:
For Query 1 (Vertical Axis),
1st group - G_LoanYear(LoanYr)
2nd group - G_LoanMonth(LoanMo)
3rd group - G_LoanNumber(Loan#)
For Query 2 (Horizontal Axis)
1st group - G_PaymentYear(PaymentYr)
2nd group - G_PaymentMonth(PaymentMo)
Intersecion /Detail Group - G_Details(PaymentAmount, LoanAmount)
Then create the following Matrix summary columns:
A running summary - CS_Payments:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- Source: PaymentAmount
- Function: Sum
- Reset At: G_LoanNumber
The total amount per loan - CS_TotalPayment:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber
- Source: LoanAmount
- Function: First
- Reset At: G_LoanNumber
The value of the loan after each payment - CF_Countdown:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- PL/SQL Formula:
function CF_CountdownFormula return Number is
begin
return(:CS_TotalPayment - :CS_Payments);
end;
You should then be able to display "CF_Payments" and "CF_Countdown" in the matrix cell to show how much has been paid and how much is still owed.
You can still have another "loan amount" as a dimension column - you just don't need to use it when calculating the values in the cell. -
Formula Columnn in Matrix Report (Running Balance)
Hi all. I hope somebody can help me.
I am working on a matrix report using multi-query data models. The report has 2 groups in the horizontal axis and 3 groups in the vertical axis. The intersection is not just a single row but may consist of multiple rows.
My problem is this. I want to create a column in the intersection which is obtained by using a column value from the lowest group in the vertical axis and a summary column obtained from the rows of the intersection.
Here's what my report looks like:
2002 (accross) 2003
januar february (accross
payments balance paymenst balance
2002 (down)
Januar (down)
Loan#1 10,000 500 9000 200 8800
500
Loan#2 5000 100 4900 200 4700
February
Loan#3 3500 0 3500 50 3450
Loan#4 4200 0 4200 0 4200
As you can see, the loans are grouped by month and year. And the payments are grouped for the month and year too.
The data model is :
For Query 1 (Vertical Axis),
1st group - Loan Yr
2nd group - Loan Mo
3rd group - Loan # and amount
For Query 2 (Horizontal Axis)
1st group - Payment Yr
2nd group - Payment Mo
Intersecion /Detail Group - Payment Amount
My problem actually is how to compute for the running balance of the loan for each month in the horizontal axis. Ive already created a cross product summary to get the running total of the payments made for the month. I tried creating a formula column to for the running balance by subtracting it from the loan amount but i get the error "incompatible frequency"
I hope i have described my problem well and thanks for the helpThe problem is that you're trying to reference dimension columns(loan Amount) in the calculation of matrix cell values. You can only reference other matrix cell values or cross product columns (summary, formula, placeholders) when calculating matrix cell values. Try moving the (loan Amount) column down to the matrix cell - something like:
For Query 1 (Vertical Axis),
1st group - G_LoanYear(LoanYr)
2nd group - G_LoanMonth(LoanMo)
3rd group - G_LoanNumber(Loan#)
For Query 2 (Horizontal Axis)
1st group - G_PaymentYear(PaymentYr)
2nd group - G_PaymentMonth(PaymentMo)
Intersecion /Detail Group - G_Details(PaymentAmount, LoanAmount)
Then create the following Matrix summary columns:
A running summary - CS_Payments:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- Source: PaymentAmount
- Function: Sum
- Reset At: G_LoanNumber
The total amount per loan - CS_TotalPayment:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber
- Source: LoanAmount
- Function: First
- Reset At: G_LoanNumber
The value of the loan after each payment - CF_Countdown:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- PL/SQL Formula:
function CF_CountdownFormula return Number is
begin
return(:CS_TotalPayment - :CS_Payments);
end;
You should then be able to display "CF_Payments" and "CF_Countdown" in the matrix cell to show how much has been paid and how much is still owed.
You can still have another "loan amount" as a dimension column - you just don't need to use it when calculating the values in the cell. -
Filtering transactions resulting in incorrect running balance.
Hi ,I am back with another simple problem.
I have a list of transactions which are with dates out of order.
The last column is a running balance(starts off with a balance of 2, ending with a balance of 41)
2
5 Apr 2008 Charles Food 8 10
5 Apr 2008 Harry Food 2 12
1 Apr 2008 Barry petrol 2 14
1 Apr 2008 Jim Petrol 6 20
1 Apr 2008 Steven Petrol 9 29
1 Jan 2008 Jack Food 12 41
However when I run a filter on ascending dates, I get the following
Which gives an incorrect balance.
What am I doing Wrong?
1 Jan 2008 Jack food 12 41
1 Apr 2008 Barry petrol 2 14
1 Apr 2008 Jim Petrol 6 20
1 Apr 2008 Steven Petrol 9 29
5 Apr 2008 Charles Food 8 10
5 Apr 2008 Harry Food 2 12
2
By the way I tried to insert a copy of the spreadsheet to show exactly what I am doing, without success.
How do I insert pictures on the discussion group?
Thanks-chatchpw1840 wrote:
Yvan's revised formula works beautifully when the E is replaced with another INDIRECT/ADDRESS segment:
=INDIRECT(ADDRESS(ROW()-1,COLUMN()))+INDIRECT(ADDRESS(ROW(),COLUMN()-1))
my late formula
=INDIRECT(ADDRESS(ROW()-1.COLUMN()))+E
works flawlessly
No need for indirect addressing for the value grabbed from the current row.
It's a side effect of the use of the single column letter in the cell reference.
One issue that has not been dealt with is the starting balance "2" which sorts to the bottom of the list. The final balance is correct, of course, but the intermediate cumulations do not reflect that value as one might expect. Placing an early, out of range date in the "2" row along with some statement like "Prior Balance" in column B would solve this problem.
Of course, I didn't insert the row containing the 2 in the range to sort;-)
Yvan KOENIG (from FRANCE mardi 17 juin 2008 21:41:31) -
How to calculate running balance
can we calculate running balance in
discoverer 3.1.36
thanx in anticipationHi Saloni,
to get the debit and credit you would be using a variable 0I_FPER(Fiscal year / period), which is a user entry interval variable.
now to get the opening balance you will have to create a customer exit valiable and the low value of 0I_FPER will have to popuplated by writied the code for the customer exit valiable. you will have to restrict the key figure DEB_CRE_LC for this customer exit variable with the operand as less than(< Fiscal Year /Period from 0I_FPER)).
If the above was useful please assign reward points.
Regards
Venkata Devaraj -
How can I see a running balance of my itunes spending?
Is there any way I can see my running balance of what I have spent on my account? For example if I had £10 in my account and I bought one item at 99p it would show running balance history of £9.01.
iTunes will always show the balance you have remaining when you're on the iTunes Store page in iTunes and are logged into your iTunes Store account.
You can see the purchases you've made if you log into your account and click the Purchase History button.
Regards. -
TableView - How to update a running balance column after any other column in the view is re-sorted
To keep this simple and to illustrate a problem that I am trying to solve let's say we have
a domain class that contains an income per day.
This class has two persistent properties - populated from a database table - date and income.
And there is one transient property - running balance - that shows the accumulated income
starting from the first record. This property is not persisted and it is used only to show
the running/accumulated income in a table view.
This domain object is shown in a table view with three columns:
- date
- income
- running balance
The first two columns - date and income - are sortable. When the user clicks on the column
heading these can will be sorted in ascending or descending order. The running balance
column needs to reflect this change and be correctly updated.
So the question is : how would you implement the running balance update after the data in
the table has been updated by the user?
Take 1)
=============
The obvious approach is to use "setOnSort" method to consume the SortEvent event and re-sort the
data but the sort-event does not contain any useful information that would tell from which column
the sort event originated.
Take 2)
=============
Found a possible solution:
- TableView.getSortOrder() returns a list that defines the order in which TableColumn instances are sorted after the user clicked one or more column headings.
- TableColumn.getSortType() returns the sort type - ascending/descending.
- This info can be used in the TableView.setOnSort() event handler to re-sort the data and update the balance at the same time.
Take 3)
=============
When the TableView.setOnSort() event handler is called the data is already sorted therefore the only thing that needs to be done is to update the running balance.I think I understand what you're trying to do. If I've missed it, apologies, but I think this will provide you with something you can work from anyway.
I would listen to the data instead of watching specifically for sorting. This will be much more robust if you add new functionality later (such as adding and removing rows, editing the data that's there, etc).
Specifically, for the runningBalance column, create a cellValueFactory that provides a DoubleBinding; this binding should listen for changes to the data and compute the value by running through the table's items up to the point of the item for which it's displaying the value. (Hope you can untangle that sentence.)
Example. The important part is the cellValueFactory for the cumulativeAmountCol. I guess I should mention that you shouldn't try this exact approach with very large tables as the performance might be pretty bad (computations of the order of n x m on changing data, where n is the number of rows in the table and m is the number of visible rows in the table).
import java.text.DateFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import javafx.application.Application;
import javafx.beans.Observable;
import javafx.beans.binding.DoubleBinding;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.scene.Scene;
import javafx.scene.control.TableCell;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableColumn.CellDataFeatures;
import javafx.scene.control.TableView;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
import javafx.util.Callback;
public class CumulativeTableColumnExample extends Application {
private final static int NUM_ITEMS = 20 ;
@Override
public void start(Stage primaryStage) {
final TableView<LineItem> table = new TableView<>();
// using the extractor here makes sure the table item list fires a list changed event if any amounts change
// this enables the cumulative amount column to keep up to date when the amount in a different row changes.
table.setItems(FXCollections.observableList(createRandomData(), new Callback<LineItem, Observable[]>() {
@Override
public Observable[] call(LineItem item) {
return new Observable[] {item.amountProperty()};
final TableColumn<LineItem, Date> dateCol = new TableColumn<>("Date");
final TableColumn<LineItem, Number> amountCol = new TableColumn<>("Amount");
final TableColumn<LineItem, Number> cumulativeAmountCol = new TableColumn<>("Cumulative Amount");
table.getColumns().addAll(Arrays.asList(dateCol, amountCol, cumulativeAmountCol));
dateCol.setCellValueFactory(new PropertyValueFactory<LineItem, Date>("date"));
amountCol.setCellValueFactory(new PropertyValueFactory<LineItem, Number>("amount"));
cumulativeAmountCol.setCellValueFactory(new PropertyValueFactory<LineItem, Number>("amount"));
cumulativeAmountCol.setSortable(false); // otherwise bad things might happen
final DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT);
dateCol.setCellFactory(new Callback<TableColumn<LineItem, Date>, TableCell<LineItem, Date>>() {
@Override
public TableCell<LineItem, Date> call(TableColumn<LineItem, Date> col) {
return new TableCell<LineItem, Date>() {
@Override
public void updateItem(Date date, boolean empty) {
super.updateItem(date, empty);
if (empty) {
setText(null);
} else {
setText(dateFormat.format(date));
cumulativeAmountCol.setCellValueFactory(new Callback<CellDataFeatures<LineItem, Number>, ObservableValue<Number>> () {
@Override
public ObservableValue<Number> call(CellDataFeatures<LineItem, Number> cellData) {
final LineItem currentItem = cellData.getValue() ;
DoubleBinding value = new DoubleBinding() {
super.bind(table.getItems());
@Override
protected double computeValue() {
double total = 0 ;
LineItem item = null ;
for (Iterator<LineItem> iterator = table.getItems().iterator(); iterator.hasNext() && item != currentItem; ) {
item = iterator.next() ;
total = total + item.getAmount() ;
return total ;
return value;
final NumberFormat currencyFormat = NumberFormat.getCurrencyInstance();
// generics hell.. can't wait for lambdas...
final Callback<TableColumn<LineItem, Number>, TableCell<LineItem, Number>> currencyCellFactory = new Callback<TableColumn<LineItem, Number>, TableCell<LineItem, Number>>() {
@Override
public TableCell<LineItem, Number> call(TableColumn<LineItem, Number> column) {
return new TableCell<LineItem, Number>() {
@Override
public void updateItem(Number amount, boolean empty) {
if (empty) {
setText(null) ;
} else {
setText(currencyFormat.format(amount));
amountCol.setCellFactory(currencyCellFactory);
cumulativeAmountCol.setCellFactory(currencyCellFactory);
BorderPane root = new BorderPane();
root.setCenter(table);
primaryStage.setScene(new Scene(root, 600, 400));
primaryStage.show();
public List<LineItem> createRandomData() {
Random rng = new Random();
List<LineItem> items = new ArrayList<>();
for (int i=0; i<NUM_ITEMS; i++) {
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_YEAR, rng.nextInt(365)-365);
double amount = (rng.nextInt(90000)+10000)/100.0 ;
items.add(new LineItem(cal.getTime(), amount));
return items ;
public static void main(String[] args) {
launch(args);
public static class LineItem {
private final ObjectProperty<Date> date ;
private final DoubleProperty amount ;
public LineItem(Date date, double amount) {
this.date = new SimpleObjectProperty<>(this, "date", date);
this.amount = new SimpleDoubleProperty(this, "amount", amount);
public final ObjectProperty<Date> dateProperty() {
return date;
public final Date getDate() {
return date.get();
public final void setDate(Date date) {
this.date.set(date);
public final DoubleProperty amountProperty() {
return amount ;
public final double getAmount() {
return amount.get();
public final void setAmount(double amount) {
this.amount.set(amount); -
Vendor-Customer balances in group currency-table/structure/function module?
Hi All,
Which table/structure/function module can be used to get balances for vendors and customers in group currency? We just wnat to extract balances in group currency so FBL1N and FBL5N are not options. Is there any SAP report which can provide these balances for both vendors and customers?
Thanks and regards,
PinkyHi Pinky,
I came across one report S_ALR_87012079 - Transaction Figures: Account Balance, Program RFSRRCUA, which extracts Account Balances of Vendor. Once the report is executed, you can do Currency Translation from one currency to different currencies. In the output screen, in the Top Menu, select 'Settings -> Currency' and you can convert to another currency. I am not sure, if this helps you. If this helps, kindly update your comments here.
Thank you.
Suresh Jayanthi. -
Customer/Vendor Balances in Group&Hard currencies
Hello friends,
F.23/F.42 gives us the balances in local currency forCustomers and Vendors, but i want balances in group currency(DMBE2) & hard currency(DMBE3) as well. So our ABAPer started to prepare a Z report, F.23 & F.42 reports fetching the data from KNC1/LFC1. There i can see the figures only in local currency(DMBTR), how can i retrieve the figures for group and hard currencies. Are there any other tables to retrieve the data.
Please guide me.
Thanks
SwapnaThank you Chintan ji for your reply.
but how can we know the open items, if we retrieve the data from BSEG.
Finally we want to see the opening figures in group & hard currencies for Vendor/Customer.
awaiting for your reply.
thanks -
BPC10NW: Error while running Balance Carry Forward
Hi,
I am trying to run 'Balance Carry Forward' (COPYOPENING) to copy opening balances from 2010.DEC to 2011.JAN.
The 'Opening Balances' package fails with "RUN_LOGIC:Cannot find document/directory" error.
The Copyopening.lgf is available and is been validated successfully.
We have refered to the below link but still the opening balances is failing with the same error.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70657540-106d-2e10-8393-d702056767a4?QuickLink=index&overridelayout=true
Any suggestions?
thanks in advance,
M.SHi,
I have found similar issues with business rules in v10.
Can you just try to include this in Default logic and see if you can get it to run from a sent record. I know that this is not necessarily the nicest approach as you would normally like to run the package from DM, but I could not get certain things to run from DM.
If (like me) you can get it to run via Default, you could then trigger this by sending a dummy record to a dummy account.
I know it's not ideal but until this is fixed (I think it may be a bug) then this could be a solution.
Let me know if this helps at all.
Tom. -
SAP Report to view GL Balances in Group Currency.
Hello,
Can any one help me out to know SAP reports which will help me out to know GL Balances in Group Currency.
Thanks,
BalaHi,
There are multiple reports wherein you can select the currency type while generating the account balances report.
e.g.
S_ALR_87012277 - G/L Account Balances
S_ALR_87012301 - Totals and Balances
Both these report have Currency Type as a selection criteria, which will help you generate the balances in Group currency, if required.
Regards,
Ramanand Bhatt -
"Balance in Group currency USD is too large for automatic correction" error
Hello Gurus,
Please help me..
When we post document from FB01, we want to enter amount in group curreny different than what SAP calculates, But when we enter different amount(than what sap calculates ) we are getting "Balance in Group currency USD is too large for automatic correction" error.
We want SAP to take whatever we enter on the Group Currency Amount field and not to calculate/validate anything itself.
Is it possible to disable this message?
I tried changing the hard error "E" to warning "W" using "Message Control" but it did not work.
Or is there any User exit/ BADI/ BTE, where i can change the tolerance meaning if SAP calculates Group Currency amount $1000.10 and SAP takes upto 1000.18, So if i change the tolerance to 90 cents instead of 8 cents and try to enter $1001 and SAP can take it? ( I know its so weird requirement, we are not using SAP as it is, but everyone really wants it here:(
Our Local/ Document currency: EUR
Group Currency: USD
Please suggest any solution.
Thanks so much in Advance!Hi Shrikanth,'yes I did checked the SAP note and for the correction,
'Import the corresponding Support Package or implement the attached advance correction'
frankly speaking, i didnt understood what the SAP note is trying to say What i can make out from it was that There is some Program error and that needs to be rectified.
Can You please tell me as to how to imoplement this SAP note.
Thanks
Manish -
SQL statement running balance query with previous balance taken into account
Hi Guys
I have a SQL statement which caclulates the running balance
for a list of transactions in a transactions table. This SQL
statement is as follows:
SELECT transID, debit, credit,
(SELECT SUM(debit-credit)
FROM transactions as D1
WHERE D1.transID <= D0.transID) AS balance
FROM transactions AS D0
The only problem I'm having is that I have to display
transactions between a particular date range. I have for eg.
transID, transDate, debit, credit fields in my db.
However the problem I'm having is that when the transaction
records are pulled out for the specified date range the balances
are only calculated for those records. I need someway of having a
balance b/f (brought forward) so that the selected records use that
as a 'starting' balance and then calculate the running balance as
normal.
Any easy solutions?
Many, many thanks for your help in advance.
All the best
WesleyYou'd need to determine the b/f then apply it against the
transaction records when they are pulled for a date range. So if
the date range is
Feb 1st, 2009 -> Feb 28th, 2009
You'd need to also get the previous balance in a separate
query, then use it to correctly display the running balance when
you output the date range.
I suppose a simpler way involving a little more DB work (and
possibly lots of coding) is to store the current balance as well
with each transaction; then when performing a date range you'd have
the balance as well and not have to calculate it on the fly.
Maybe you are looking for
-
Satellite U400 - restore to default settings
Q1. I want to restore my laptop to factory settings. I have a corrupted security suite and the provider cannot fix it, so now my only choice is to wipe all data and programs off the laptop and restore to factory settings. How do I do this? Q2. The la
-
Soap binding in wsdl and weblogic workshop
Dear newsgroup, I'm trying to develop a webservice with workshop 8.1. In my case, I already have a "WSDL" file for the service I want to develop. So I created a "Schema Project", imported the wsdl file in it (workshop automatically compiled it !!) an
-
Convert DocTime to datetime type and format of HH:MM
Hi Experts!! I am setting up an alert that will run every 5 minutes but would like only those docs created in the last 5 to be selected. In order to accomplish this i would like to use the DATEDIFF funtion. But have a problem in that the DocTime is a
-
Update "rendered" attribute via ajax
Is there a workaround to update the "rendered" attribute of a commandLink via AJAX? I'm getting an error 'malformedXML: During update: j_idt12:prevCmd not found'. code snippet: <h:commandLink action="#{controller.previous}"
-
I purchased the Photoshop CC and LR package earlier this month. Previously I was using the Trial for both so far no problems till now which trial says I am 0days LR won't let me EDIT IN photoshopCC because the trial pop-up comes up. How do I fix thi