How to calculate the costs of every item categary in costing run
Hello Experts,
Could anyone explain how to calculate the costs of every item categary when I carry out the costing run. For example, item categary: M, E, G.
Thank you in advance.
Maria
This Applesctipt will add comma's to the file count:
(Copy into Applescript Editor, and Save as File Format: App, then just click the App to run)
set x to choose folder with prompt "Choose Folder to Count Files" default location alias (the path to pictures folder as text)
set filecount to do shell script "find " & POSIX path of x & " ! -type d ! \\( -name \".*\" -or -name \"Icon*\" \\) | wc -l"
display dialog "File Count: " & comma_delimit(trim(filecount))
on trim(someText)
repeat until someText does not start with " "
set someText to text 2 thru -1 of someText
end repeat
repeat until someText does not end with " "
set someText to text 1 thru -2 of someText
end repeat
return someText
end trim
on comma_delimit(this_number)
set this_number to this_number as string
if this_number contains "E" then set this_number to number_to_text(this_number)
set the num_length to the length of this_number
set the this_number to (the reverse of every character of this_number) as string
set the new_num to ""
repeat with i from 1 to the num_length
if i is the num_length or (i mod 3) is not 0 then
set the new_num to (character i of this_number & the new_num) as string
else
set the new_num to ("," & character i of this_number & the new_num) as string
end if
end repeat
return the new_num
end comma_delimit
Similar Messages
-
How to Calculate the total orders for Items with supplier
How do I write a function or SQL query that will give me the total quantity of an item that an organization has on order with other suppliers? Any help would be greatly appreciated. Thank you.
It would help if you provided the description of the tables.
To do totals by say item_id
select item_id, sum(quantity)
from supply_table A
where org_id = 1
and exists (select 1 from supplier B
where a.org_id = b.org_id )
group by item_id
How do I write a function or SQL query that will give me the total quantity of an item that an organization has on order with other suppliers? Any help would be greatly appreciated. Thank you. -
How to calculate the Current APC (Acquisition and Production Cost)
Hi,
Please help me how to calculate the Current APC.
The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line Acquisition Value and column Posted values.
I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic.
Please help me.
Thanks in advance,
SatishHi,
you'll find the logic in fm FI_AA_VALUES_CALCULATE
A. -
How to delete the Cost center line item data
How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
Is there any way to delete the line items in that cost center.
Can data archiving & deleting can help us..........
does it have any effect over other cost center data....
any input needed.........
regards
rajeshHi,
i found 2 reports for you:
1) CO_TOTAL_WRI - Archiving CO Totals Records
2) RKCOITW1 - Archiving CO Line Items: Write Program
from 2) is a linlk to customize archiv-parameters
-> start it with transaction se38 / sa38
A. -
Ck11n:how to calculate the Quantity?
Dear all.
I use the tcode ck11n to create material cost estimate with quality structure.
And input the parameter like below:
Material = 600000-000000-0012
plant = 1000
Costing Variant = PPC1
Costing Lot Size = 1
After press return,the sap show the Itemization for material like below:
20.11.2008 Dynamic List Display 1
Itemization for material 600000-000000-0012 in plant 1000
Material 600000-000000-0012
Plant 1000
Costing Variant PPC1 Standard Cost Est. (Mat.)
Costing Version 1
Costing Date from-to 01.12.2008 - 31.12.9999
Lot Size 1 KARCarton
Cost Base 1 KARCarton
Cost of Goods Manufactured
ItmNo
ItemCat
Resource
Cost Eleme
Total
Fixed
Currncy
Quantity
Un
1
E
J0103033 WC1 A03
1001
14,400.00
7,200.00
CNY
3,600
CAR
2
E
J0103033 WC1 A01
1001
25,200.00
10,800.00
CNY
3,600
CAR
3
E
J0103033 WC1 A02
1001
14,400.00
7,200.00
CNY
3,600
CAR
4
E
J0103033 WC1 A04
1001
14,400.00
7,200.00
CNY
3,600
CAR
5
E
J0103033 WC1 A05
1001
14,400.00
7,200.00
CNY
3,600
CAR
6
M
1000 600000-000000-0013
40000002
9.00
0.00
CNY
3
CAR
7
G
CC_AT01 41000001
41000001
2.25
0.00
CNY
82,811.25
39,600.00
CNY
At the first line,the Resource was "J0103033 WC1 A03",and the Quantity was "3600".
I don't know why the Quantity was "3600" or where the Quantity come from?
So I need someone tell me how to calculate the Quantity?
Thank you so much.
Regards
YodaHi,
Pl note the Item Category, " M "- Material - The 3 quantity has been picked up from BOM correctly.
You are referring to Quantity 3600, which is against item category - E. Item category " E" means Internal activity allocation i.e the date flows through assignment to Routing. Check the Work center, Cost center & Activity types J0103033 WC1 A03 1001.
Now i think it is clear.
Cheers !
Siva
Cost of Goods Manufactured
ItmNo ItemCat Resource Cost Eleme Total Fixed Currncy Quantity Un
1 E J0103033 WC1 A03 1001 14,400.00 7,200.00 CNY 3,600 CAR
2 E J0103033 WC1 A01 1001 25,200.00 10,800.00 CNY 3,600 CAR
3 E J0103033 WC1 A02 1001 14,400.00 7,200.00 CNY 3,600 CAR
4 E J0103033 WC1 A04 1001 14,400.00 7,200.00 CNY 3,600 CAR
5 E J0103033 WC1 A05 1001 14,400.00 7,200.00 CNY 3,600 CAR
6 M 1000 600000-000000-0013 40000002 9.00 0.00 CNY 3 CAR
7 G CC_AT01 41000001 41000001 2.25 0.00 CNY -
Posting of Commission Exp to calculate the Cost of Goods Sold
Hi Team,
I do work in an automobile manufacturing organization and is new to SAP FI module. I have a business requirement which I need to fulfill; I would appreciate if all you gurus help me with finding the solution.
Business Scenario: at present, we are posting the following entries to record the commission we paid to dealers for selling vehicles.
Commission Exp (DR)
Customer (CR)
Customer (DR)
Dealer (CR)
With these entries we are not been able to track the commission based on vehicle variants i.e. Toyota GLI, XLI etc.
New Requirement:
To calculate the Cost of Goods Sold for a variant, I need to track the commission expense based on vehicleu2019s variants. Please help me in finding the solution.
ThanksThanks for quick response.
Let me give little more details of type of commission entries we have
1) Normal Commission - Fixed commission variant wise and is derived from SD.
2) Additional Commission - No predefined formula, this is totally based on top management discretion. Management decides how much would be paid to a particular dealer.
3) Sliding Commission deduction - Deduction of certain amount from commission on late payments.
4) Additional Sliding Commission - Payment of additional commission based on early payment terms.
Currently, FI department is calculating all these figures on Excel sheets and then post a JV for each type of above mentioned commission.
How can I configure the system to calculate these amounts automatically without involving Excel Sheet help?
and how to post these amounts variant wise along with dealers and customers. -
How to calculate the Current APC
Hi,
Please help me how to calculate the Current APC.
The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line Acquisition Value and column Posted values.
Thanks in advance,
SatishHi,
I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic where it is being done.
Please help me.
Thanks in advance,
Satish -
How to calculate the average inventory in ABAP
Dear All,
Please find the below formula and this formula how to calculate the Average inventory at value.Please let me know the abap base tables and the corresponding fields.
Formula
Inventory Turnover = Cost of Goods Sold (COGS) / Average Inventory at value.
Thanks
Regards,
SaiHi Arivazhagan,
Thanks for your quick response .
The field MBEWH from the table is fulfill the average inventory at value.
For Eg :I want to calculate Inventory Turnover = Cost of Goods Sold (COGS)/
Average Inventory at value.
so shall i take Inventory Turnover = Cost of Goods Sold (COGS)/MBEWH
The above formula will meet my requirement to find the average inventory Turnover.
Thanks
Regards,
Sai -
Hi Experts,
I have doubt, i have an internal table now i want to calculate the total for every group. How to do that?
value type
5,439.01 ; ZMP0
509.60 ; ZMP0
4,749.26 ; ZMP0
9,053.95- ZPNL
732.70- ZPNL
66.30- ZPNL
18.10- ZS03
63.90 ; ZS03
According to the type i need a total for ZMPO, ZPNL, ZSO3 separately.
how to do that?
5,439.01 ; ZMP0
509.60 ; ZMP0
4,749.26 ; ZMP0
ZMPO total =
9,053.95- ZPNL
732.70- ZPNL
66.30- ZPNL
ZPNL total =
18.10- ZS03
63.90 ; ZS03
ZSO3 total =
Like that i need, can any one help this?
Regards,
MohanaHello,
Use the COLLECT.
DATA:
wa LIKE LINE OF itab,
itab_sum LIKE itab.
SORT itab BY key.
LOOP AT itab INTO wa.
COLLECT wa INTO itab_sum.
ENDLOOP.
The itab_sum has the same structure like the itab where is the data to me summarized, and the wa has the line structure of the itab.
Regards. -
Hello everyone ,
I need a quickly help that as below :
I am trying use PCI-6220 to acquired six signals from one rotation encoder (channel A, channel B,channel Z ,and their non-signals) .The encoder out signals will be square wave and 4000pulses per revolution. I set it rotation at 300rpm speed. I need show every square wave of six out channels in waveform and measure the A-B phase difference to check if the value is correct (designed value should be 90deg) .
I have no idea how to measure or calculate the phase difference of two square wave base on synchronizate to acquire these two square wave from two channel on the PCI-6620....
Anyone can give a idea how to calculate the phase difference with two square wave ?
Thank a lot and Thanks again...
TimTim,
Here is a simple rising edge detector for one channel.
Lynn
Attachments:
Rising edge.vi 15 KB -
Without Production order confirmation How to settle the cost of prd order
Dear all,
How to settle the cost production order with out production order confirmation.Any setting is there Or program.
Regards,
Naresh Redddy.Dear Naresh,
To settle the cost of production order, you need not to confirm it. But on the same time if you want to settle the order when its not confirmed then WIP amount will be posted. WIP value will be posted if your order does not have DLV or TECO status. In your case, if you not confirmed the order, only material cost if any issued for order will be calculated, no activity cost will be calculate. And if you want to post the variance then order status needs to be either DLV (Completely Delivered) or TECO (Technically Completed). Here also the cost of activity will not be considered as you didn't confirmed the order.
So if you want to settled the order without confirmation, then Activity cost will not be added in your settled cost. So your product costing will not be accurate.
Please revert if you have any other doubts.
Regards,
Hiren Ramani -
Can JDBS calculate the cost of a query ?
In the past I worked with DB2 and I know that it has a feature that can calculate the cost of a query before executing it. Now I have to work with sybase.
I would like to know if there is any way to get that cost in order to decide whether to execute the query or not. In the same way, I would prefer a standard method:
Does JDBC provide a way? Is there any other standard way, using java? Is there any way possible way?, it may be not standard or not java.
Thanks a lot.Most databases provide a way to do this. The most common verbage for this is "EXPLAIN".
Some of them might expose it via SQL. But that depends on the database.
I suspect there might also be problems with capturing the output.
The most likely way that I can think is if you can encapsulate it in a stored procedure. At the very least you could just call the stored procedure. Or doing it that way might allow you to figure out how to do it via direct SQL calls. -
How sap calculate the arrears interest?
Hi All,
I am doing the configuration about arreas interest.
My configuration:
Interest Type:Item interest calculation
Calendar type:30/360
Time-based Terms:
Credit interest: arrears interest calc
Premium:0
Reference Interest Rate Values:1.0
I make some tests.
overdue day: 1 day
overdue_amount |interest|increased_interest
1000 | 0.834 |
2000 | 0.917 | 0.083
3000 | 1.001 | 0.084
4000 | 1.084 | 0.083
Could you help me to find how sap calculate the arrears interest?
Many Thanks!
Message was edited by:
Chen ZhonghuaHi
First u have to define interest calculation types ( i.e. Item interest calculation typeP)
u have define GL accounts Interest Recevied account
then u have to define prepare interest areas calculations in that u have to define interest indiacator .
then
u have to define refeence interest rates
define time based terms
enter interest values
then u have to define AR calculation of interest on arrears in that u have to define business transactions
then u have to assign interest indicator to customer master
then execute the Interest calculation F.24
Regards
Suresh -
How to calculate the difference of two totals which are of the same group?
Post Author: mingli
CA Forum: Formula
Hello,
I have an existing report which has a group defined. The group generates two set of data, at the footer of each set of data, the total is calcuated. Now I need to calculate the difference between the totals. For example:
value
set 1
item 1 100
item 2 200
item 3 300
set 1 total 600
set 2
item 1 200
item 2 20
item 3 300
item 4 40
set 2 total 560
difference 40
My question is: how can I do this? I'm thinking about create a formula. But the problem is, these two totals have the same field name. Could someone help me out?
Thanks.Post Author: deejayw
CA Forum: Formula
Hi,I have a similar type of query...my Sets only ever contain two entries but there is an unknown number of sets. value
set 1
item 1 100
item 2 200
difference (item2 - item1) = 100
set 2
item 1 200
item 2 20difference (item2 - item1) = -180
Set 3, Set 4, etc, etc I need to figure out how to calculate the "difference (item2 - item1)" total above. I am really confused by this and need assistance. Many thanks. -
How to find the cost center group from cycle/ segment in CO module?
Hi All,
I need to fetch the list of cost centers in the cost center group against the cycle.
Is there any table which will store the list of cost centers against the cycle?
or else, what I was thinking is use of BAPI BAPI_COSTCENTERGROUP_GETDETAIL, which will give me the list of cost centers,
but we need to pass the controlling area + cost center grp to fetch the cost centers from BAPI, I have controlling area with me but not the cost center grp name, only I have Cycle info lke cycle name, segment name, seq number. so how to find the cost center grp name from the cycle name?
Regards,
MrunalFM: RK_AL_CYCLE_READ
CHECK TABLE: T811K
Maybe you are looking for
-
Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know
-
My HP Officejet 6500A Plus all in one printer recently stopped functioning and printing. First the Wireless network stopped working (Wireless Status Disconnected) and the Wireless Netwok Test Report advice was "contact HP support". Then I started
-
How to use add row button of a tabuler form.
Hi all, I have created a Tabuler form in my application.Could you please tell me 'How can i use the add row button of this form' as When i click the button "NOTHING HAPPENS". Thanks Regards, Neha
-
Question about using iMac 2011 as a monitor
hi ,, i have imac 2011 21'5 can i use as a monitor to play xbox 360 on it using mini displayport to hdmi cable ?? if no then is there way else i can play xbox on my imac screen
-
Where do I find the black apple logo in System- Library ?
On 10.4 and 10.5 the blue apple was in System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/Extras.rsrc Where is the black apple from the Snow Leopard menu bar?