Amount calculations based on customer
For example given the following situation (letu2019s assume it is AR):
Customer Doc num Item Doc date Clearing date Value DS0 Clearing Date - Doc date
9000000010 900000017 1 01.05.2010 31.05.2010 10,00 30
9000000010 900000017 2 01.05.2010 31.05.2010 12,50 30
9000000010 900000019 1 03.05.2010 31.05.2010 30,00 28
9000000010 900000020 1 04.05.2010 31.05.2010 34,00 27
9000000010 900000021 1 04.05.2010 31.05.2010 45,00 27
9000000010 900000022 1 04.05.2010 31.05.2010 66,00 27
The value is 197,50
The value for (10,0030)+(12,530)(30,00*28)(34,0027)+(45,0027)+(66*27)=5430,00
These both are used to calculate the DSO (actual): DSO= 5430/195.50
how can i calculate above requirement in BI?.
Hi,
Use SUMCT on the columns and then do it.
SUMCT u201CValueu201D (This is available in Data Functions of the formulas)
and
SUMCT u201CValue * (Clearing Date - Doc date)u201D (This is available in Data Functions of the formulas)
Hide unwanted columns and then do the actual calculations....
Thanks
Reddy
Edited by: Surendra Reddy on Jul 6, 2010 6:42 AM
Similar Messages
-
Shipment cost calculation based on HU's allowed packaging weight
Hi all,
I need to calculate a shipment cost based on the Means of Transport's Allowed Packaging Weight (MARA-ERGEW). After condition record determination of cost per ton in each case, the system must multiply this value times the allowed packaging weight.
I know that through customizing I can create a Condition Type with Calculation Base = 'C' (Handling Unit) and Calculation Type = 'D' or 'E' (Gross or Net Weight). This is almost what I need except for the Calculation Type, because Allowed Packaging Weight is not an option in the field's matchcode (Percentage, Fixed Amount, Quantity, Gross Weight, Net Weight, Volume, etc...).
Is there any way through customizing I can achieve this? Or how can I program a routine in the Pricing Procedure for the Condition Type in order to make the calculation based on the HU's Allowed Packaging Weight.
I appreciate your help!!Freight carriers charges weight on the basis of Weight / volume of the items.SAP shipment works on the same principle.
Cost of transporting ton of Potataoes is same as transporting 10 ton of aluminium between two known destinations.
Hence it is illogical to distributes cost on the basis of item value. However if still you want to distribute the same on value basis then maintain freight condition(%) in PO as per your prefined logic of distribution of freight cost.
It is well known fact that cost of freight % is always higher in Low value items & iis low in case of High value items.
Regards,
Sanjay Kohli -
Calculation based on date key figures in BEx
Hi Friends,
Hi Friends,
I need to creat report for sales order data, which involved the calculation based on dates.
In my cune iam having the data at the granual level with the dates as key figures. the calculation that i need to do is VTW = Actual PGI date - Customer want date.
1) whn i run the report at the granual level my VTW is working correctly. No issues.
2) when i run the report at higher levels the date fields are updated with X, as the system is unable to aggrigate the dates. The dates are at the material level in a sales order. I need to show the VTW at the sales order level (each one of the two dates are same for all the materials). So, when i run the report with out mataril at the sales order level...i wanto sea the bothe date fields in a single line and also the VTW calculated as the different between throse two dates.
3) Once we get the VTW correctly at the sales orde level. if i drill down the report for material, i want to sea both the dates in every record againest the matarial, but the VTW only aginest the first record...that is againest the sales order. I dont waht the VTW value repeated/duplicated for all the records againest the sales order,as VTW makes sence only at the Sales Order level.
Please suggest me hwo i can achive the resulsts by meeting both Point 2 and 3.
Thanks for ur help...in advance.
Thanks,
RenuHi..
I have the data from the extractore and in the cube as below.
SALES ORDER ITEM MATERIAL DATE1 DATE2
101 Item1 Mat1 01/01/2010 15/01/2010
101 Item2 Mat2 01/01/2010 15/01/2010
101 Item3 Mat3 01/01/2010 15/01/2010
I need the reports as below...
Report1:
SALES ORDER DATE1 DATE2 VTW (DATE2 - DATE1)
101 01/01/2010 15/01/2010 14
currently iam getting this Report1 output as below...
SALES ORDER DATE1 DATE2 VTW (DATE2 - DATE1)
101 X X 42
Report2: Out put required as below
SALES ORDER ITEM MATERIAL DATE1 DATE2 VTW (DATE2 - DATE1)
101 Item1 Mat1 01/01/2010 15/01/2010 14
101 Item2 Mat2 01/01/2010 15/01/2010
101 I tem3 Mat3 01/01/2010 15/01/2010
currently iam getting this Report2 output as below...
SALES ORDER ITEM MATERIAL DATE1 DATE2 VTW (DATE2 - DATE1)
101 Item1 Mat1 01/01/2010 15/01/2010 14
101 Item2 Mat2 01/01/2010 15/01/2010 14
101 I tem3 Mat3 01/01/2010 15/01/2010 14
As VTW is need to be measued at the sales order level and we always have the DATE1 & DATE2 as same for all the itesm, it should be shon as only 14 in the first record. It mean once iget the required output from Report one in a single line with VTW as 14, it should not repeat with every line , when i dril down the report for Items or materials.
Even if i can generate oly report2 as required in a single sheet ...that will be enough.
Plas kindly provide some solution as how we can achieve this,
Thanks,
Renu -
Calculation based on Internal Table Row ID
Hi,
I have internal table, i want to do some calculation based on Internal table Row ID, wich will create system automaticlly and this id will uniq. I want to use this id in my program.
So how can i do this.
Ranveer.hi,
if u want to create this id automatically,use transaction SNRO,
or u can create t through programming too.eg. suppose field is 'id' in table 'customer'.
select * from from customer.
itab-id = sy-dbcnt + 1.
modify customer from itab.
u can use this id in calculations too, -
Retreiving the last amount billed to a customer (dynamically in the Query)
Hi,
I want to retrieve the last amount billed to a customer.
For example :
r/3 data :
Customer____Billing date__Amount
1___________04/04/2006____5000
1___________05/05/2006____1200
2___________03/04/2006____400
The result i would like to get in the report :
Customer___Amount
1__________1200
2___________400
I tried many ways including Key figures agreg. Exception.
Do you have any suggestion ?
best regards,
ludo
Message was edited by: Ludovic Julen
Message was edited by: Ludovic JulenHi,
The date of the data loading has no impact on the selection of the last value. In december, you can load the historical data of 2005, 2004 and 2003. The data will be stamped on 2005, 2004 or 2003 (dates of reference from the documents).
So, in your case, the query would give you the first load as a result of the last value. But you are using 0CALDAY in your example. Of course, you would not be able to use 0CALMONTH in such scenario, because you do not bill only once a month.
Now, please notice that the last value is based as well on the execution of the query. Is your query analyzing all december? Imagine that your query is filtered from 01.12.2006 to 14.12.2006, then you get only the second load.
This is a double setting.
Regards
Laurent -
Urgent!!Average calculation based on a characteristic!
Hi guys
I have an average calculation based on a characteritic ..
Example:
This is a SRM Mgmt.It has an Organisation purchasing org,source purchase,PR,etc..
Report is a Survey rpt.
Average Score across Customer responded for each question for the particular PR...
Where weightage is applied for each question & based on which
total weightage of all Qns for a PR
Avg.Score= -
No of Questions.
How do u calculate using the exception aggregation??????????Pls revert ASAP.
thnx
BI LearnerSolving Myself
-
IExpense Reimbursable Amount Calculation
Hi All,
I have a requirement in iExpense. below the navigation path
*" iExpense,Standard-->Expenses Home-->Create Expence Report-->Cash and Other Expenses(Step 4 of 5)--->Mileage Expenses "*
From here when i press calculate then as per seeded it is calculating the Reimbursement Amount by multiplying Daily Distance * Distance Rate and sum all the Reimbursable Amount
_(but i have moved the server files to my JDEV Environment i couldn't find the Calculate Button Functionality if any one knows please let me know)_.
But in my requirement when i click the Calculate button it has to calculate the Reimbursement Amount as per my Custom Package, Package should takes the following Parameters
In Parameters
1.No of Days
2.Sum of Daily Distance(This Column is rendered in our seeded page)
3.Grade of the Employee(Which is assigned for the login User)
Out Parameter
4.reimbursable Amount
inside the package i will perform some calculations to get the reimbursable Amount now i have to get this Reimbursable Amount when i press calculate button
Could any one help me to resolve this As soon as Possible..
Regards,
SaroSaro,
Can you click on the page's about this page link (you will get when you enable FND: Diagnostics) and give me the PG version.
Between, extend the toplevel controller and in your extended ProcessFormRequest
Print the value for
pageContext.getParameter(EVENT_PARAM);
And
import java.util.Enumeration;
Enumeration enums = pageContext.getParameterNames();
while(enums.hasMoreElements())
String paramName = enums.nextElement().toString();
System.out.println("Param names " paramName " -----> Param Values " + pageContext.getParameter(paramName));
And find any relevant parameters being passed.
Thanks.
With Regards,
Kali.
OSSI. -
Report based on custom Query - Question about Data Source
Hello,
I am trying to create Crystal reports (EBO R3.1, Oracle 11g Database, CR2008) based on custom queries. Tried using different kinds of Data Sources but getting stuck once I export them to Infoview.
1. Using Oracle Server: This method works fine on my local & Infoview. But since I have lot of reports, I do not want the DB username/password associated to the report. I neither want BO to prompt username/pwd to my user.
2. Using ODBC(RDO):
Again, works fine on my local. Once I export to Infoview, it fails with this error: "Failed to open the connection"
Which makes sense, because the DSN is created on my local machine and not on the server.
How and what do I create on the server, so that the reports run?
I do not know if using ODBC(RDO) is even the right way for creating custom SQL reports.
I have been reading about Business Views, but not clear on how good they work.
My goal is to create multiple reports, using custom SQL queries which use some kind of connection to the database that can be managed on the
server in one place, and used by multiple reports.
Can any of you please help me here
Thanks,
Sowmya.
Edited by: SBat22 on Apr 13, 2011 5:58 PMThanks for moving it to the right forum!!
But, if I setup in CMC, a default username/password that the report needs....what would happen if my password changes?
I would need to go to each and every report and update the password.
I am looking for using one common "connection" for multiple reports. So that, when passwords change, all I update is in one central location.
Can anyone please help!
Thanks,
Sowmya. -
Interest calculation based on Net Due Date
Hi guys: I want the interest calculation based on net due date and not document date or posting date.
I tried to check the box "ALWAYS CALCULATE INT FROM NET DUE DATE in prepare item interest calculation step, but system gives me message
"Do not select "Calc.intrst from net due date" for this int.calc.type
Message no. F7128"
Here are my questions:
1- how can i make the system to calculate interest only after the item is due for payment - right now its calculating anyday after the document date
2- Is this the correct place in configuration to do this? (ALWAYS CALCULATE INT FROM NET DUE DATE )
3- Also in T code FINT, how can i run interest posting for only one item rather than all that show up in test run? I tried selecting/highlighting only one but it posts all.
thanks much
brianHI,
The system always calculates the interest from the document date of the invoice,
as of my knowledge there is no setting for the interest calculation from the net due date, so
what u need to do is when u are running the open item interest run u specify the period of only the date
from the net due date to required date as of u.
if u want to calculate the interest to paticular invoice and having two invoices
then u can run as per the document date and other thing is u can block the invoice for dunnig.
Regards,
Padma -
Hi All,
How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
Assume Material is Pen.
While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
Kindly help me out.
Thanks,
Renjith JoseA good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
"Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded" -
PO with Total Price amount calculated is incorrect at the time of printing.
Hi Experts,
I have one PO with Total Price amount calculated is incorrect at the time of printing.
When my user took the first print out the PO shows the incorrect Total amount.
After 10 mins my user taken the printout again,that time it shows the Toatal Price value is correct amount.
How i can analysis this type of BUG..!!!
I am thinking it might be BUG...???
Please advice with you valuable inputs.
Best Regards,
RKHi,
Are you using the standard programm and print form or are you using your own?. Most of the printing issues happens because of own programms. Try with the standard and then you will be able to see why is this happening.
Best Regards,
Arminda Jack -
Populate Material no in sales order based on customer material no
Hi,
We have to pass material no from a custom table based on customer material no in each line in the sales order. I tried using couple of userexits to pass vbap-matnr and the material no is passed in that line but I am not able to enter quantity etc on that line. I'm using USEREXIT_MOVE_FIELD_TO_VBAP to populate vbap-matnr but I think this is not the right place to populate matnr in the line item. Can you please help.
Regards,
SAHi,
Can you help me where to pass customer material no to derive material no as my company is not using knmt but a custom table?
Yeah, if we maintain an entry in knmt, the customer part no derives the material no but I don't know where to pass material no so that the appropriate tables are populated automatically.
Regards,
Sheel -
How to Get Down Payment Amount associated to one customer invoice
Hello Experts,
I have an issue and i need your help.
I have one customer invoice in FI (Transaction FB70).
In my form, i need to print the Down Payment Amount associated to this customer invoice. How can i get this information? I mean this amount. There is a table or MF that can give me this amount?
Thank you in advance.Get from BSEG table
-
Function module to get Conditions based on Customer & Material
Hi,
Is there any function module such that the list of conditions are displayed, based on Customer & Material given?
Thnx in advance,
Shivaa.....actualy Jan this report is based on GL account no..GL acount no.s dat we required are not there in bsid n bsad...we need bank related GL account no..IN BSID n BSAD all GL account no. are customer GL account no.s...
-
Query field calculation based on a characteristic field
Hi
I have a req wherein the query has a field "Balance". Now here the value of the Balance field is calculated based on another characteristic "0bal_flag". 0bal_flag has values "X" or blank. The 0bal_flag is actually a attr of 0gl_account and i have it as a nav attr in my cube.
The calculation goes like this....
If 0bal_flag = 'X' then "Balance" = balance (there is a balance field in underlying infoprovider)
else "Balance" = Debit -credit (these fields are also there in underlying infoprovider....)
So how do i achieve this...?
Since 0bal_flag is a char I cannot use it directly in a formula....
Thanks
GauravHi Gaurav,
Create a replacement path formula variable on the 0bal_flag with evaluate as boolean checked, you will get the values 1 when flag is X and 0 when the flag is initial, now you can use this 'formula variable' in the formula
((0bal_flag==1)balance)+((0bal_flag==0)(debit-credit))
hope this helps,
Rk.
Maybe you are looking for
-
Does the IPod Nano sink with the nike fuel band
Does the IPod Nano sink with the nike fule band? I am getting the IPod nano for christmass and I was wondering if that is compatable with the fuel band? I have seen my firend sink his with his IPhone and was wondering if I could do the same?
-
How to validate the line item values in OFR - quantity , unit price and UOM
Hi All, Is there any possibility to validate the line items like quantity, unit price and UOM against the DB and stops those invoices at verifier (1 batch =10 invoices) level if yes could you please let me know the process how to proceed further. du
-
License recovery, Acrobat Pro 9.5 in Windows XP
Most of the discussions about using the license recovery tool are from Mac users. This is not the case here. After about 1-1/2 years, Acrobat Pro 9.5.0 suddenly stopped working and displayed the following error message: Licensing for this product h
-
AudioServices not linking correctly
For some reason whenever I try to run code that calls AudioServicesPlaySystemSound, or related methods, it fails to compile with this linker error: ld: symbol(s) not found collect2: ld returned 1 exit status Even Apple's Metronome sample code won't c
-
Finding voucher date in database
Hi, I have to built customized report "Cheque Payment Voucher", and want to add voucher number and "voucher date", I found voucher number in AP_INVOICES_ALL.DOC_SEQUENCE_VALUE table , Can any one tell me please where I can find voucher date.... Regar