How to calculate ACTUAL QUANTITY for a given PM order
hello all,
i have an ALV report requirement like below...
(for given Pm order AUFK-AUFNR)
i need to display
material no material desc requirement quantity Units of measure Actual quantity
these fields i have taken from RESB table (matnr from RESB ,maktx from MAKT, bdmng from RESB, units of measure from RESB ),
now my question is from where do i get actual quantity ....
in which table does this actual quantity will be stored....
thankq....
Check with field RESB-ENMNG as mentioned by Custodio.
He meant this field only by saying
If so, it's also in RESB-DENMNG.
I guess.
This will only give you the quantity withdrawn.
But for Actual Consumption Based on date you can use AUFM ( this table gives the Material Movements carried out for Prod. Order ).
Similar Messages
-
Total actual cost for a given PM Order
hello all,
how do i get total actual cost for a given PM order (in IW33 under cost tab we have total actual cost)..
is stored in table or do i need to use any function module.....
thanks in advance....Hi Vinay,
You can use the following logic for extracting the Actual cost of a PM order.
Pass the Order No (AUFNR) in Table AUFK and fetch the Object number (OBJNR).
Pass OBJNR value in table COEP.
You can get the actual cost of the order in COEP table.
Please mark this as correct if it resolves your issue.
Regards,
Joydeep -
How to find Handling unit for a given Sales order...
From which table can we find the Handling unit for a given Sales order?
hi this will help u.
SALES AND DISTRIBUTION TABLES
KONV Conditions for Transaction Data
KONP Conditions for Items
LIKP Delivery Header Data
LIPS Delivery: Item data
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
VBBE Sales Requirements: Individual Records
VBEH Schedule line history
VBEP Sales Document: Schedule Line Data
VBFA Sales Document Flow
VBLB Sales document: Release order data
VBLK SD Document: Delivery Note Header
VBPA Sales Document: Partner
VBRK Billing: Header Data
VBRP Billing: Item Data
VBUK Sales Document: Header Status and Administrative Data
VBUP Sales Document: Item Status
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VEPVG Delivery Due Index
with regards,
Hema Sundara,
pls reward if u find it helpful. -
How to findout lot number for a given sales order number
Hi,
My requirement is to display lot numbers for a given sales order number.
Thanks,
Bala.select a.line_number, c.lot_number from oe_order_lines_all a, mtl_material_transactions b, mtl_transaction_lot_numbers c
where a.line_id=b.trx_source_line_id
and b.transaction_id=c.transaction_id
and a.line_Id=&your_line_id;
and b.transaction_type_id in (33, 34, 52) sales order shipment or internal order shipment or staging etc.,
If this is for shipped sales order, you can alternatively get it from wsh_delivery_details (does not work for dropships and inventory interface cases)
Thanks
Nagamohan -
How to Calculate End-Date for a given Startdate in business hours without holidays
Hello Experts,
I need to create a plsql function where we need to determine end date for a task. For this, input will be only start date & number of hours allocated for that task. Based on this input we need to exclude Business hours & need to include only Business hours. and in the end we need to achieve the end date after the hour addition to the start date.
Example : INPUT: 03-OCT-2013 12:00:00 PM /
Hours Allocated 30 Hrs.
Business Hours - 11 AM to 9 PM.
So time starts from or Startdate is Friday 03-OCT-2013 12:00:00 PM.
So If I want to calculate the end-date by adding 30 hours to it, it should come WednesDay 09-OCT-2013 12:00:00 PM because I excluded Weekends & considered only business hours that is 11 am to 9 pm.
I am not able to get any such guidance in Internet as most of the docs are having start & end date as input.
Please help!
Thanks in advance !!Hi,
As Christ said, there's no nuilt-in Oracle function to tell whether a given DATE is a holiday or not, partially because there's so much local variation in holidays. You can write a function like that (see http://forums.oracle.com/forums/message.jspa?messageID=3351081 ), but creating a table will be simpler and more efficient.
I suggest creating a row for every date, whether it's a work day or not; that way, you can have variations in the schedule (e.g., schedule changes and
partial holidays).
CREATE TABLE work_calendar
( dt DATE PRIMARY KEY
CONSTRAINT work_calendar_dt
CHECK (dt = TRUNC (dt))
, day_type VARCHAR2 (8) NOT NULL
CONSTRAINT work_calendar_day_type
CHECK ( day_type IN ( 'HOLIDAY'
, 'WEEKEND'
, 'WORK DAY'
, start_time DATE
, end_time DATE
, work_hours NUMBER
, work_hours_since_1970 -- or some point earlier than you'll ever need
NUMBER
, CONSTRAINT work_calendar_start_time
CHECK ( TRUNC (start_time) = dt)
, CONSTRAINT work_calendar_end_time
CHECK ( TRUNC (end_time) = dt)
This will let you do a lot of the calculations you need without a function. -
How system calculate Exchange Rate for material?
I have some doubt how system calculate exchange rate for material when doing GR.
For example, standard price of material is 0.01 USD per ea. PO is created in foreign currency (THB) with qty: 40,000 ea (THB 2,852.00)
Actually when I do GR ea then accounting doc is:
Dr. Inventory 400 USD (12,800 THB)
Cr. GR/IR 88.64- USD (2,852.00- THB)
Cr. Variant 311.36- USD (9,948.00- THB)
for 2nd and 3rd line item, exchange rate M (THB -> USD) is 0.03108 which is correct.
Could anyone advise where system get exchange rate for 1st line item?Hi
First of all, as mentioned by you, the exchange rate for Item 2 and 3 is not 0.03108.. It is as below, based on the figures given by you...
Dr. Inventory 400 USD (12,800 THB)........ Exch rate is 0.03125
Cr. GR/IR 88.64- USD (2,852.00- THB)....... Exch rate is 0.03108
Cr. Variant 311.36- USD (9,948.00- THB).... Exch rate is 0.0313
I guess the item 3 is just a derivation from Items 1 and 2.. The Price diff results as a difference between std cost and purchase price...
I believe, the exchange rate would have been 0.03125 at the time of GR... You need to check this in your system... For sure, it uses exch rate type M in the standard... Check if 0.03125 (USD -> THB) or 32 THB -> USD exists in your system at all
Item 2 is based on your PO negotiated rate...
Regards
Ajay M -
Revision: 10545
Author: [email protected]
Date: 2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
Log Message:
Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
QE Notes: 2 Mustella tests fail:
components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
Doc Notes: None
Bugs: SDK-15241
Reviewer: Darrell
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/browser/DataGrid
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-15241
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.asHi Matthias,
Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional). We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files). We also use VIPM Enterprise to distribute new VI Packages over the network.
Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
Please feel free to contact JKI if you have any specific questions about these products.
Thanks,
-Jim -
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 -
I need to display planned quantity and actual quantity for Plant in quarter
Hi,
I need to display planned quantity and actual quantity for Plant in quarter AND month wise as below.
Q1 Q2 ....... M1 M2 .........................................
PLANT MATERRIAL UNIT PLTY ACTQTY PLTY ACQTY PLTY ACQTY PLTY ACQTY
P1 M1 EA 20 15 30 25 40 35 50 45
P1 M2 EA 20 15 30 25 40 35 50 45
P2 M2 EA 20 15 30 25 40 35 50 45
I will keep plant and material infoobject as row. Can you please suggest how i should design column section to display like above
Regards
Deep.Hi Deep,
Assuming you have an InfoObject for Quarter (say 0CALQUARTER) & Month (say 0CALMONTH), drag the Quarter InfoObject & Month InfoObject below in the Columns. Drag your KFs i.e. Planned Qty & Actual Qty below the Month InfoObject to form a KF structure. If you don't want Qty Unit to be displayed alongside your KFs, use NODIM() function & display Unit in the Rows.
--Priya -
How to calculate Opening balance for a customer?
Hi Experts,
How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
Thanks in Advance.
Sharat Chandra.Say for example ..
Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
First get all items from BSEG ..
Select * from BSEG where KUNNR eq 'K'
and BUKRS eq 'C1'
and GJAHR eq '2008' .
Sum all the DMBTR values (This is the total value).
Second get the cleared items form BSAD for the above entries;
Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
Sum all DMBTR values ( this is cleared value).
Third substract the cleared value from total to get Open value.
This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
Thanks,
Aditya. V -
How to calculate Average balance for an account
Hi,
How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
I'm using the following query :
SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
FROM gl_code_combinations cc,
gl_je_lines l
WHERE cc.code_combination_id = l.code_combination_id
AND l.set_of_books_id ='XX'
and code_combination_id = replace it with code combination_id for account_xx
AND l.effective_date <= '31-Jan-12' (january period end ??)
GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
There are some discrepancies in "average balance" after end of month (Jan-12)?
How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
Thanks,
KiranKiran,
Please let me know first, is Average Balancing feature enabled in your GL Ledger?
Regards
Muhammad Ayaz -
How to calculate acquisition value for specified day
Hi,
in my z program I have a problem how to calculate acquisition value for my asset for specified day.
Example:
I have asset created 8.7.2008 with TTYPE 104 (External asset acquisition) with value 5950.
30.11.2008 there is another TTYPE 272 (Retirement of current-yr acquis., w/o revenue) with value 950.
So BEFORE 30.11.2008 acquisition value is 5950. After is 5000. Is there any function module (or something else) in SAP system where I can send asset number and date a it return to me acquisition value for that day?
Many thanks for any answer!Hi,
your suggestion means that I have to compute acquisition value by myself (sum all TTYPE 1** - sum all TTYPE 2**). So SAP does't provide such functionality (LDB ADA have it, because it can compute acquisitiob value for specific day)?
Mant thanks for answer -
FM to get actual line items, budget and actual amounts for a given IO num.
Hello Experts,
I am currently doing a report to show the actual and budget amounts for a given internal
order number. Now, my processing takes a long time so I need to know if there are any
available FM's for this.
I am checking transactions: S_ALR_87013019 and KO03.
Hope you can help me guys.Thank you and take care!Hi Rob,
I am actually modifying my colleague's program and based on my checking, it is taking a very long time to fetch the relevant line items for a given IO(internal order) in tables BSIS and BSAS. Below is the code:
SELECT bukrs
belnr
budat
aufnr
dmbtr
shkzg
INTO TABLE it_pdate1
FROM bsis
WHERE bukrs IN s_bukrs
AND budat IN r_budat_p
AND aufnr IN s_aufnr.
SELECT bukrs
belnr
budat
aufnr
dmbtr
shkzg
APPENDING TABLE it_pdate1
FROM bsas
WHERE bukrs IN s_bukrs
AND budat IN r_budat_p
AND aufnr IN s_aufnr.
SORT it_pdate1 BY aufnr.
DELETE it_pdate1 WHERE aufnr EQ space. -
How to set Actual indicator for Business Process
Hi,
Can anybody tell me as "how to set Actual indicator for Business Process " in Activity Based Costing.
Regds,
Bijayok
-
How to Calculate over head for a material?
Dear Experts,
How to Calculate over head for a material? please explain me step by step.
Regards,
Santhosh
Moderator: Please, avoid asking basic questionsDear Santhosh,
Please review the following documentations in the SAP Library for details:
[Applied Overhead |http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb815143a311d189ee0000e81ddfac/frameset.htm]
[Costing Sheet|http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb815143a311d189ee0000e81ddfac/frameset.htm]
[Overhead Keys|http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb815143a311d189ee0000e81ddfac/frameset.htm]
Best Regards,
Antje
Maybe you are looking for
-
"Find" feature in contacts not working.
When I go to contacts and enter the first few letters of a name in the find field, or even type the whole name, my device lists *no addresses* even though I know they are in there. This function was working the other day? I have been syncing my cont
-
How do you turn off Auto-Sync without connecting the ipod to PC?
My Purchased Tracks was deleted off my computer, but I still have all of them on my ipod. I have iTunes 7, so I am aware I can transfer all my purchased music from my ipod to itunes. But I know auto-sync is set up, so when I connect it to my computer
-
OSS Notes...
Hi Gurus, I am going through the "How to Handle...Inventory Management Scenarios in BW" and came across the mention of the following OSS Notes. I will really appreciate if any of you can email them to me at [email protected] 315880 353042 486784 5057
-
I try calling my boyfriend while we're both online and it keep saying failed doesn't show that were trying to call each other.
-
when configuring my gmail account, iphone downloaded all my existing email from the server. thats understanable since its a pop account, but is there a way for me to mark all messages as already read in the iphone, without doing it one by one ? there