Calculations based on characteristics?
hai
i have doubt that can we do calculations using characteristics?
tel me scenarios if we can do?
bye
srinu
Hi Srinu.
That was quite a rude answer! People are trying to help you here.
Take a look at these documents, they might clarify your doubts:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/content.htm</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af</a>
You should consider assigning some points in your threads too, then you might get some more answers.
Hope it helps.
BR
Stefan
Similar Messages
-
Change Key Figure Value based on Characteristics
Hi,
I have a report where based on characteristics value I have to change the value of the key figure either to + (Positive) or -(Negative).
Is it possible through virtual keyfigure?
Can anyone give me details of the same.
If anybody can send me complex reporting document, please send it to
[email protected]
Thanks,
MoonHi.. Do u want to implement this only in the report or store the sign back into the cube ?
If u just want to use the value of the masterdata as a key figure for calculation (i.e. u can read the value of the masterdata or attribute and write a formula variable that uses this value and returns a sign), use a formula variable with replacement path and u've got ur results.. in case u want to store this in the cube, the transformations would help..
let me know if this helps and it would help further if u explain the exact scenario...
Cheers,
- Aditya -
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 -
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 -
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. -
Select Materials based on Characteristics
Hello,
I would like to select specific materials (<b>MARA</b>) based on the assigned characteristics and values (<b>AUSP</b>).
My first approach would be the following: select table AUSP with the characteristic and value, then select MARA with <b>MARA-CUOBF</b> = <b>AUSP-OBJEK</b>.
But, the problem is, that there is no index on the field <b>MARA-CUOBF</b>.
Is there another way to select material based on characteristics and values? Does there any index table or reference table exist?
Thank you for your assistance in advance.
Best Regards,
Kurt.Hi Kurt,
there is a way if u know the characteristic of the material.
give characteristic in AUSP-ATINN field in AUSP table.
collect all OBJEK's for that characteristics.
then go to table INOB, select objek from inob into itab where cuobj = ausp-objek.
INOB-OBJEK gives u a combination of material number and batch number for that material number. ( there might be different batches for one material).
so collect inob-objek and split into matnr and batch.
there u get all materials according to ur characteristic
and also collect those objeks where ur matnr is there.
and regarding to that matnr and batch in MSEG table u can do rest of the stuff....
reward if it helps
Regards
Message was edited by: srinu k -
Calculation based on radio box Help PLEASE....
I am trying to make a text box perform a calculation based on whether or not a radio button is checked or not.
If the radio button named "Basting" in the "Quilting Type" group is checked then the text box "Basting Charge" should find the value of the "Total Square Inches" field and multiply that total by 0.015 and show the new total in the text box as a dollar value, if the radio button "Basting" is not checked the value in the "Basting Charge" field should be "-0-".
I can get the calculation I want from this:
var v1 = getField("Total Square Inches").value; event.value=v1*0.015;
but how to include the radio button function and the "-0-" ?Okay, I have now made a "check box" with the name of "Basting", not in a grouping.
This is the set up:
Text Field = Total Square Inches
Check Box = Basting
Export Value = Yes
Text Field = Basting Charge
Calculation for "Basting Charge" should be "0" unless the "Basting" check box is used, then it should get the value of the "Total Square Inches" and multiply that number by 0.015 and show this value in the "Basting Charge" box displaying as a dollar figure.
So if the value in the "Total Square Inches" is 12,000
and the "Basting" check box is used
The "Basting Charge" should read "$180.00"
if the check box is not used then it should read "-0-" -
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, -
Prorate calculation based on Martial status
Dear Experts,
We have two types of the minimum of Housing Allowance(IT0014 - HA01WT):
1. 1000 Monthly for Single
2. 1500 Monthly for Married
And this changeable based on Marital Status Key on Info Type 0002. However; if the change of Marital Status happened in the middle of the month the Housing Allowance should be calculated on a pro rata basis.The System gives the employee the new Housing Allowance in full. Please provide me the logic or operation that we can use in the PCR
Pls let me know for any further clarification
Regards
SBI found solution on my own. please find below the rule
TABLEP0002 Read table fields
VARGBFAMST Tab.field VVVVV v.ky
1
WPALL?LAST ID = LAST?
N
Y
AMT?IZSHNG Comparison
ADDWT * OT Output table
<
RTE=FZ7N Set
RTE?1 Comparison
=
ZERO= NRA AmtNumRteTime = 0
RTE=FZ7T Set
AMT=IZMHNG Set
MULTI RAA Multipl.amt/no/rate
AMT/TKDIVI Division
ADDWT 1001 OT Output table
RTE-TKDIVI Subtraction
RTE*-1 Multiplication
AMT=0 Set
AMT=IZSHNG Set
MULTI RAA Multipl.amt/no/rate
AMT/TKDIVI Division
ADDWT 1001 OT Output table
>
AMT=IZMHNG Set
ADDWT * OT Output table
Now its calculating based on prorate basis for both single and married status...
Regards
Sanjai -
Query for Auto Calculation based on input of 2 Fields
Hi,
I would like to write a sql query to allow for auto calculation based on the Inputs of 2 other fields before Adding the Order.
For example. A query on Sales Order where I have Item 040634 (Code for a Flower) and Quantity 200.
I have a UDF (Bunching) where the value is 10, 15 or 20.
Based on the Bunching the result should be given in another UDF (Noofsleeves).
(Quantity) 200 / (Bunching) 10 = 10 (Noofsleeves)
The Order will be having multiple items where the Bunching can differ for each item.
Is it also possible to remove the calculated noofSleeves from Inventory.
I am using 2007A SP01 PL05Hi ,
You may try this: Apply this fms on other udf and auto refresh on the udf mentioned in the query (in your case Bunching).
SELECT $[RDR1.Quantity.number] / $[RDR1.U_UDF.number]
You may check these too.
cALCULATION OF udf ON UNIT PRICE
FMS
Thanks,
joseph
Edited by: Joseph Antony on Jul 8, 2010 12:31 PM -
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
-
Based on Characteristics, populate variants/article through custom search help
Dear Experts,
In IS-Retail, MM43 transaction, based on characteristics how to display variant number/s(matnr) through custom search help.
Regards,
Abbas.Hi Syed,
This is possible, if you set the field attributes of the screen as given below.
Program Attirbutes:
Check the checkbox for 'Output Field'
Check the checkbox for 'Output Only'
Display Attributes:
Check the checkbox 'As label on right'
Regards
Gangadhar -
Moving average price calculation based on year to date figures
Hello,
I've been working for months on the stock valuation at month end closing for the Finance department. We discover a situation where the moving average price is not calculated as we expected.
The situation is as follows:
2 purchase orders for the same material at different periods and with different purchase order prices
the invoice of the first pruchase order has been recorded after the good receipts of the 2 purchase orders with purchase price variance, good issues have been recorded between the good receipts and the first invoice receipt, therefore the stock quantity is lower than the quantity invoiced
the invoice of the second purchase order has been recorded as well with price purchase variance after the first invoice and after good issues, therefore the stock quantity is lower than the quantity invoiced.
Here is an example with figures:
SAP Calulation
Good entry
Good Issue
Before Posting
After Posting
Good receipt
Invoice receipt
Date
Movement
Quantité
Price
Value
Quantité
Price
Value
Quantité
Value
PMP
Quantité
PMP
Value
Quantité
PMP
Value
01.01.2014
Intial Stock
2000
11
22000
16.01.2014
Purchase Order 1
10000
10
100000
2000
11
22000
12000
10,17
122040
20.01.2014
Good issue
2000
20340
10,17
12000
10,17
122040
10000
10,17
101700
18.02.2014
Purchase Order 2
20000
9
180000
10000
10,17
101700
30000
9,39
281700
22.02.2014
Good issue
22000
9,39
206580
30000
9,39
281700
8000
9,39
75120
30.03.2014
Purchase Order 1
10000
9,5
95000
8000
9,39
75120
8000
8,89
71120
21.04.2014
Good issue
2000
8,89
17780
8000
8,89
71120
6000
8,89
53340
31.05.2014
Purchase Order 2
20000
7
140000
6000
8,89
53340
6000
6,89
41340
- When the first invoice is recorded, SAP calculate the MAP this way: ( 8000*9,39 + (95000-100000) * (8000/10000) ) / 8000 = 8,89
- When the second inoice is recorded, SAP calculate the MAP this way: ( 6000*8,89 + (140000-180000) * (6000/20000) ) / 6000 = 6,89
Moving average price calculation requirement
Good entry
Good Issue
Before Posting
After Posting
Good receipt
Invoice receipt
Date
Movement
Quantité
Price
Value
Quantité
Price
Value
Quantité
Value
PMP
Quantité
PMP
Value
Quantité
PMP
Value
01.01.2014
Intial Stock
2000
11
22000
16.01.2014
Purchase Order 1
10000
10
100000
2000
11
22000
12000
10,17
122040
20.01.2014
Good issue
2000
20340
10,17
12000
10,17
122040
10000
10,17
101700
18.02.2014
Purchase Order 2
20000
9
180000
10000
10,17
101700
30000
9,44
283200
22.02.2014
Good issue
22000
9,44
207680
30000
9,44
283200
8000
9,44
75520
30.03.2014
Purchase Order 1
10000
9,5
95000
8000
9,44
75520
8000
9,28
74240
21.04.2014
Good issue
2000
9,28
18560
8000
9,28
74240
6000
9,28
55680
31.05.2014
Purchase Order 2
20000
7
140000
6000
9,28
55680
6000
8,03
48180
- When the first invoice is recorded, SAP should calculate the MAP this way: (2000*11+10000*9,5+20000*9)/(2000+10000+20000) = 9,28
- When the second inoice is recorded, SAP should calculate the MAP this way: (2000*11+10000*9,5+20000*7)/(2000+10000+20000) = 8,03
Could you tell me if you know how to set up the calculation based on this formula (Intial stock value at MAP + Year to date Purchasing value) divided by (intial stock quantity + quantity purchased)?
Thank you in advance
RegardsArti,
MBEWH table will get you the MAP of a material monthwise,I guess you need to get the logic which will use those details to arrive on MAP for a paritcular date.
Check the SDN Forums with the keyword "MOVING AVERAGE PRICE REPORT" to get some lead.
moving average price report
K.Kiran. -
Pro-Rata Allowance Calculation based on WSR
Hi,
We need to perform an enhancement for a allowance to be calculated based on their WSR. Could any one please advise what would be the best approach to perform this customisation.
Following are the details:
A calculation needs to be made based on an employees 0007 & 2003 records for a given month to determine what percentage of the planned hours for the month that a person has worked and then apply that percentage to the Monthly Staff Supplementary Allowance applicable for the Work Schedule Grouping.
Example A Employee on Work Schedule for the Whole Month Employee has a 0007 infotype record that has them on Work Schedule SC112 for the whole of April 2008. System pays 100% of the allocated payment of $166.67 per month
Example B Employee on Work Schedule for part of the Month, Employee has a 0007 infotype record that has them on Work Schedule SC112 for the part of April 2008 as they only started on 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 108 hours which is 60% (=108/180). System pays 60% of the allocated payment of $166.67 per month which results in a payment of $100.00 for the employee.
Example C Employee on Work Schedule for part of the Month Employee has a 2003 infotype record that has them on Work Schedule SC112 for the 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 12 hours on SC112 which is 6.67% (=12/180). System pays 6.67% of the allocated payment of $166.67 per month which results in a payment of $11.11 for the employee.
Example D Employee on 2 eligible Work Schedules for the Month Employee has a 0007 record for Work Schedule SC112 from 01.04.2008 to 14.04.2008 and then for SC412 from 15.04.2008 to 31.12.9999. This person has spent 100% of the month in an eligible Work Schedule grouping System pays 100% of the allocated payment of $166.67 per month which results in a payment of $166.67 for the employee.
Example E Employee on 2 eligible Work Schedules for the Month, Employee has a 0007 record for Work Schedule SC112 from 01.04.2008 to 14.04.2008 and then for SC512 from 15.04.2008 to 31.12.9999. This person has spent 100% of the month in eligible Work Schedule groupings The period on SC112 represents 40% of the hours for SC112 for April 2008, 72 of 180 hours. The System calculates 100% of the allocated payment of $166.67 per month which results in a payment of $66.67 for the employee. The period on SC512 represents 50% of the hours for SC5112 for April 2008, 96 of 192 hours. The System calculates 50% of the allocated payment of $0.00 per month which results in a payment of $0.00 for the employee. Overall this employee receives a Staff Supplementary Allowance of $66.67 for April 2008.
Your help would be really appreciated.
Regards
Ranjith YamaHi Guys,
Could you please advise on this,
I'm trying to build a rule to get the Actual worked hours so that I can use the SSOLL and constant from T511k table to calculate the alowance.
I'm pretty new in writing rules, your help would be really appreciated.
Regards
Ranjith
Maybe you are looking for
-
Is there any way to recover photos if you didn't back up using iTunes or Photostream?
I'm really really hoping there is a way around this... I tried to update my iPhone 4S to the iOS6 operating system and when it restarted it went into recovery mode. I've only had this phone for a few months but never turned on Photostream (never knew
-
HP 3052 scanner doesn't work with Mountain Lion
So I upgraded MacBook Air to Mountain Lion and everything seems fine except I can't use scanner function on my HP 3052 AiO. The printer still prints OK but I can't see scanner anymore. Can anybody help me?
-
Docking/Using as alarm clock
Hi all, This is my first post here so I apologise if I seem a bit simple - I've only had my iPhone 3G 8 days. I'm looking for a number of accessories for my iPhone. I have the case and the car adaptor sorted but would like a dock. What I need in my d
-
How to get rid of iTunes 9 Tutorials welcome screen
EVERY time I open iTunes on my new iMac, I get the iTunes 9 tutorial splash screen. I haven't seen any option to prevent this from happening, so I suspect it's a bug. Has anyone else experienced this? How can I get rid of it?
-
Reverting layer of still images sent to Motion back to still images
Hi, I drag selected a series of still images on a layer in FCP then sent that selection/layer to Motion for editing. How can I revert the layer back to the still images? Or, alternatively... The problem is these still images appear squarish in FCP's