Tables to view costs posted in the order
Hi Team,
I have a requirement wherein the customer wants to create a BI report with the following data:
Total Internal Material costs
Total Internal Wage costs
Total Actual costs
Total Service costs
Input criteria: Date range and Planning Plant or Maintenance Plant
they do not want to use the MCI3 report since they want other information also alongwith the above data.
Please help to get these fields.
Thanks,
Beryl
Hi,
Please use Table -
Total actual cost --
COEJ CO Object: Line Items (by Fiscal Year)
COEJL CO Object: Line Items for Activity Types
COEJR CO Object: Line Items for Stat. Key Figures
COEJT CO Object: Line Items for Prices (by Fiscal year)
Total Internal Wage costs -
T512W Wage Type Valuation
total service order cost table: - COEJ
and Use COOI table
Thanking you
Mahesh
Similar Messages
-
Get the table or view where categorie's sequence order is store
Hi,
I manage to display some categories on a page. Some how I like to display the categories in a specific order. To be exact, I like to have the same order as we can define in the pagegroup properties > configure tab > Types and Classification > Categories section, when adding new categories.
Portal stores that sequence order somewhere because when we return to pagegroup properties we have the same order as defined previously. I looked the Portal's tables and package trying get the table or view where sequence order is stored, but I can't get it.
Anybody knows where I should get this sequence order? (table or view). I'm new to Portal and so I know little about it.
RegardsHere is the query to get the categories in the same order as specified for a page group :
SELECT wwv_topics.title
FROM wwv_topics,
wwsbr_site_category$
WHERE wwv_topics.id = wwsbr_site_category$.CATEGORY_ID
AND wwv_topics.siteid = wwsbr_site_category$.CATEGORY_siteID
AND wwv_topics.language = -- the language desired (eg frc)
AND wwv_topics.siteid = -- the page group desired (eg 139)
ORDER BY wwsbr_site_category$.id ASC
David -
Any ideas?
Hi,
If orderitem and parts are the only tables involved, and each orderitem references only 1 part, then it's pretty simple: just update parts, like this
UPDATE parts
SET qoh = qoh - :NEW.quantity
WHERE part_num = :NEW.part_num;
If you can modify filled orderitems (e.g., DELETE orderitems or change the part_num after the order is filled, or change the status from filled back to unfilled then it's more complicated; you might have UPDATE the :OLD.part_num as well as the :NEW.part_num
I hope this answers your question.
If not, post your best attempt, along with a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Since you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Actual costs posted to work order without maintaining costing variant
hi,
i havent maintained costing variant for work order(maintenance order) type i used to create the work order. so when i posted goods issue, how does the actual costs get posted with out maintaining the costing variant for work order type. what is the role of costing variant configuration in work order type settings.
thanks,
monicaHi monica,
Costing variant forms the link between the application and Customizing, since all cost estimates are carried out and saved with reference to a costing variant. The costing variant contains all the control parameters for costing.
The configuration parameters are maintained for costing type, valuation variants, date control, and quantity structure control.In costing type we specify which field in the material master must the price be updated,
In valuation variant we specify in what order the system should go about accessing prices for the material master planned price, standard price, moving average price etc. Further which is the price which should be considered for activity price. How the system should select BOM and routing.
assign points if useful
Regards
Genie -
Which apex table or view contains information about the page performance
I need to write a procedure to determine the page performance of a specific application.Which apex view or table can i query to figure out the information
ThanksStrange...I'm sure your reply wasn't there when I posted mine....
Oh well....here you go -
1 select
2 application_id,
3 page_id,
4 count (*) total,
5 avg(elapsed_time) avgelap,
6 avg(elapsed_time)*count(*) weight,
7 sum(decode(page_view_mode,'D',1,'C',1,0)) dynamic_views,
8 sum(decode(page_view_mode,'D',0,'C',0,1)) cached_views
9 from
10 apex_workspace_activity_log
11 group by
12* application_id, page_id
SQL> /
APPLICATION_ID PAGE_ID TOTAL AVGELAP WEIGHT DYNAMIC_VIEWS CACHED_VIEWS
4000 1 3 0.15 0.44 0 3
4000 14 3 0.06 0.19 0 3
4000 71 3 0.05 0.15 0 3
4000 1500 3 0.10 0.31 0 3
4000 163 1 0.04 0.04 0 1
4000 460 1 0.14 0.14 0 1
4000 558 6 0.16 0.98 0 6
4500 1000 1 0.16 0.16 0 1
111 1 18 0.13 2.42 0 18
114 101 1 0.47 0.47 0 1
116 1 2 0.30 0.59 0 2
APPLICATION_ID PAGE_ID TOTAL AVGELAP WEIGHT DYNAMIC_VIEWS CACHED_VIEWS
276 2 1 0.17 0.17 0 1
348 1 15 0.09 1.28 0 15
13 rows selected.Hope this helps,
John. -
Report to fetch Actual cost from a service order
Hi Gurus,
The requirement is to create a report to fecth the actual cost from the maintenance order. ie.. material cost , labor cost and some other costs which are directly posted to the order. Can anybody let me know from which tables I can pull the material cost , labor cost ..etc posted against maintenance order?
Regards,
JohnJohn,
Have a look in table PMCO
PeteA -
Costs tab on Maintenance order
Dear users,
We have a requirement in one of our projects relating to the Costs tab on Maintenance order (IW33). Since we have multiple external vendors working in our landscape, very often the partners need to access an Order created by another partner. However, we don't want the partners to view 'costs' tab on the maintenance order if it is created by another partner.
Is there a standard configuration by which this can be achieved? Or is there a BADI/User exit/ Enhancement point where one can put some code in and achieve the functionality?
Warm Regards,
VijayHi Srithar,
Thanks for providing another option. The problem is we haven't turned that functionality on in our system, through which the Personnel numbers are looked up from Work center.
Cheers,
Vijay. -
Product cost v/s Production Order cost
Hi all Guru's,
Can any one help me in understanding difference between product cost and production order cost in SAP.
Will give full marks for helpful answer.
Thanks,
Abhishek
Edited by: ABHISHEK AGRAWAL on Jan 29, 2008 9:46 AMDear Abhishek,
Standard Cost Estimate or Material cost Estimate is nothing
but the standard cost for the Inhouse Manufactured materials
(FERT) = Raw Materials Cost + Activity(Operation Cost)
Cost+Overhead Cost if maintained for the Company code.
This cost will gets stamped in the material master in Costing2
view,under Current Planned Price field.
This cost will be the Planned Cost of the Production order and
after confirmation of the order the actual cost and the variances
for the production order can be viewed.
So the Production order cost is for the order quantity say for
Eg: for a quantity of 100.
The cost(variance) will be settled against that production order
after confirmation and TECO status.
I hope this will be helping you.
Regards
Mangalraj.S -
Intercompany Costs posting in selling plant & Payments to supplying plant
Hi,
I have an issue with posting costs and vendor payments (to supplying plant) from selling sales organization.
Supplying company code has generated an intercompany billing document (billing type: IV) with the selling sales org. We have single controlling area for both the selling & supplying company codes & sales organizations. Actually this is a make to order variant config scenario on the supplying plant side. So the production order is having a settlement rule with SDI as category. So costs are posted in the supplying company code correctly.
Now the issue is how will the costs posted in the selling company code and how will the selling company code know what amount to pay the supplying plant? Will there be any document refernce (like PO) for the selling company code to pay the supplying company code?
Thanks,
Surya.Hi Eric,
Thanks for the reply.
Actually both the ordering company code and the supplying company code are in a single instance. Already the ordering company code has raised a intercompany sales order with which the supplying company code will run MRP and manufactuer.
So again if the ordering company code raises a PO on supplying company code. From your suggestion, I understood that we can do a two way match without any GR to make the vendor payments. Will this be an open PO at ordering company and how will the MRP effect on the supplying company code side?
Thanks,
Surya. -
Error in Upload file-table or view does not exist-wwv_flow_file_objects$
Hi,
i am trying to upload a file and then store the contents of the file into one of my tables in the schema.I wrote one package for uploading the file and then a process to insert each record in the uploaded file to the table in my schema.When i try compiling the package it gives an error.
PL/SQL: ORA-00942: table or view does not exist
The name of the table is wwv_flow_file_objects$
The package is as follows-
CREATE OR REPLACE PACKAGE BODY Text_File_Pkg AS
FUNCTION get_file_lines (
p_file_name IN VARCHAR2,
p_lines IN OUT line_tab_type,
p_rec_sep IN VARCHAR2 DEFAULT dos_new_line
) RETURN INTEGER
IS
v_binary_file BLOB;
v_text_file CLOB;
v_dest_offset INTEGER := 1;
v_src_offset INTEGER := 1;
v_lang_context INTEGER := DBMS_LOB.default_lang_ctx;
v_warning INTEGER;
v_rec_sep_len CONSTANT INTEGER := LENGTH(p_rec_sep);
v_start_pos INTEGER := 1;
v_end_pos INTEGER := 1;
v_line_num INTEGER := 1;
v_file_length INTEGER;
BEGIN
IF p_file_name IS NULL
THEN
RETURN 1;
END IF;
IF p_rec_sep IS NULL
THEN
RETURN 2;
END IF;
SELECT blob_content
INTO v_binary_file
FROM wwv_flow_file_objects$
WHERE NAME = p_file_name
AND (mime_type = 'text/plain' OR mime_type = 'application/octet-stream')
AND doc_size > 0;
DBMS_LOB.createtemporary(v_text_file, TRUE);
DBMS_LOB.converttoclob(v_text_file, v_binary_file,
DBMS_LOB.lobmaxsize, v_dest_offset,
v_src_offset, DBMS_LOB.default_csid,
v_lang_context, v_warning);
IF v_warning = DBMS_LOB.warn_inconvertible_char
THEN
-- Unable to convert file.
RETURN 3;
END IF;
v_file_length := DBMS_LOB.getlength(v_text_file);
LOOP
EXIT WHEN v_start_pos > v_file_length;
v_end_pos := DBMS_LOB.INSTR(v_text_file, p_rec_sep, v_start_pos);
IF v_end_pos = 0
THEN
v_end_pos := v_file_length + 1;
END IF;
IF (v_end_pos - v_start_pos) > 4000
THEN
-- Line exceeds 4000 characters.
RETURN 4;
END IF;
p_lines(v_line_num) := DBMS_LOB.SUBSTR(v_text_file, v_end_pos - v_start_pos, v_start_pos);
v_line_num := v_line_num + 1;
v_start_pos := v_end_pos + v_rec_sep_len;
END LOOP;
RETURN 0;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RETURN 5;
END get_file_lines;
END Text_File_Pkg;
Any suggestions.
Many Thanks,
SanjaiHi,
i am trying to upload a file and then store the contents of the file into one of my tables in the schema.I wrote one package for uploading the file and then a process to insert each record in the uploaded file to the table in my schema.When i try compiling the package it gives an error.
PL/SQL: ORA-00942: table or view does not exist
The name of the table is wwv_flow_file_objects$
The package is as follows-
CREATE OR REPLACE PACKAGE BODY Text_File_Pkg AS
FUNCTION get_file_lines (
p_file_name IN VARCHAR2,
p_lines IN OUT line_tab_type,
p_rec_sep IN VARCHAR2 DEFAULT dos_new_line
) RETURN INTEGER
IS
v_binary_file BLOB;
v_text_file CLOB;
v_dest_offset INTEGER := 1;
v_src_offset INTEGER := 1;
v_lang_context INTEGER := DBMS_LOB.default_lang_ctx;
v_warning INTEGER;
v_rec_sep_len CONSTANT INTEGER := LENGTH(p_rec_sep);
v_start_pos INTEGER := 1;
v_end_pos INTEGER := 1;
v_line_num INTEGER := 1;
v_file_length INTEGER;
BEGIN
IF p_file_name IS NULL
THEN
RETURN 1;
END IF;
IF p_rec_sep IS NULL
THEN
RETURN 2;
END IF;
SELECT blob_content
INTO v_binary_file
FROM wwv_flow_file_objects$
WHERE NAME = p_file_name
AND (mime_type = 'text/plain' OR mime_type = 'application/octet-stream')
AND doc_size > 0;
DBMS_LOB.createtemporary(v_text_file, TRUE);
DBMS_LOB.converttoclob(v_text_file, v_binary_file,
DBMS_LOB.lobmaxsize, v_dest_offset,
v_src_offset, DBMS_LOB.default_csid,
v_lang_context, v_warning);
IF v_warning = DBMS_LOB.warn_inconvertible_char
THEN
-- Unable to convert file.
RETURN 3;
END IF;
v_file_length := DBMS_LOB.getlength(v_text_file);
LOOP
EXIT WHEN v_start_pos > v_file_length;
v_end_pos := DBMS_LOB.INSTR(v_text_file, p_rec_sep, v_start_pos);
IF v_end_pos = 0
THEN
v_end_pos := v_file_length + 1;
END IF;
IF (v_end_pos - v_start_pos) > 4000
THEN
-- Line exceeds 4000 characters.
RETURN 4;
END IF;
p_lines(v_line_num) := DBMS_LOB.SUBSTR(v_text_file, v_end_pos - v_start_pos, v_start_pos);
v_line_num := v_line_num + 1;
v_start_pos := v_end_pos + v_rec_sep_len;
END LOOP;
RETURN 0;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RETURN 5;
END get_file_lines;
END Text_File_Pkg;
Any suggestions.
Many Thanks,
Sanjai -
Hi
In My Z Table maintenance view i had implemented a new event 01- Before save. But my table entry's are not getting saved now and also i am not getting any error message.
Please help me on this.
Regards,
Naidu Vecahalapu.Hi Naidu,
In the event code of the table maintenance view, please ensure that the SY-SUBRC is ZERO before exiting the sub-routine. Otherwise your changes (insert, update or delete) won't get updated and also you won't get any error message.
Regards
Suresh -
Reason for Actual Cost Error in Production Order
Hi,
I have Convert the planned order to Production order but error message coming "Actual Cost Error".
what procedure that error avoid.
plz, Advise me.
By,
Jeevan.SHi
1.problem could be with the activity type costing.
check KP26 data maintained or not (for activity and costcentre assigned to work cneter)
2.IF order having CSER status then do the cost caliculation in the order, so that the status will go.(do thsi after correcting the KP26 data)
if still facing check the error
-ashok -
Java.sql.SQLException: ORA-00942: table or view does not exist
Hi all,
I have an Oracle table called: USER_APP_VERSION with the fields (all String): (username, application_name, version).
I use PreparedStatement to insert rows into table:
String psInsertRpt = "INSERT INTO USER_APP_VERSION (username, application_name, version) VALUES (?, ?, ?)";
rptPS = conn.prepareStatement(psInsertRpt);
rptPS.setString(1, username);
rptPS.setString(2, source);
rptPS.setString(3, version);
rptPS.executeUpdate(); At executeUpdate() line, I get the following error:
java.sql.SQLException: ORA-00942: table or view does not exist
The table does exist, I can use the "INSERT INTO USER_APP_VERSION (username, application_name, version) VALUES ("name", "source", "version")";
to insert rows into db at sql command line, however, when run the same query as part of my Java code, get the SQLException.
Any idea? Any help is greatly appreciated.Thanks for the raply. I can connect to the db using a username and password, and run the query with no problem. I use the same username and password to make a jdbc connection from Java code. Since username and password are the same, does "permission" is still an issue? If yes, how can I solve it?
-
Table Maintenance view Descrption & Blanks & Signs & Option
Discription is missing for fields in table maintenan view: so i maintained the field label/description at data element level and activate the table, But still description missing at (SM30) view. Can some one suggest me ?
Custom table with field FSIGN accepts any value, but I shoud accept I or E, how ?
Custom table with field FOPTION accepts any value, but I shoud accept EQ,NE, GT, LE, LT, GE etc ..how ?
Custom field ZXXX, should accepts only Parameter(P) or Select option (S), how ?
srs.did u recreate the maintanence view in se11 after making changes.
do it. it will delete the existing screens an recreate them.
u can set filters for the fields so that they accept only set of values that u specify, i ont have sap system right now to give u exact steps but do some exploration of all tabs of data element an domain u'll get ur answer.
Edited by: kartik tarla on Dec 20, 2008 9:31 AM -
Select dba_users - ORA-00942: table or view does not exist
Hi,
I need to access dba_users to show some information on a report but could not access from apex it show every time
failed to parse SQL query:
ORA-00942: table or view does not exist
The problem is only on apex I could access from sqlplus or others tools.
ThanksHi Scott, Rafael and Ben,
I assume this then means that the parsing schema needs objects to be granted directly rather than through a role, the same as if you are parsing object references in pl/sql.
Rafael, there is a view called all_users to which you have access, but it provides much less information.
Andre
Maybe you are looking for
-
How can I activate my scrollbar to work on the ipad?
I am using my ipad and the scrollbars don't work in my applications. Does anyone know how to change this setting?
-
Shuffle gen 1 will not be recognized by itunes
The ipod gives a message "The iPod "IPOD" cannot be used b/c it requires itunes version 5.0 or later goo to www.itunes.com... to get the latest version of iTunes or install iTunes fro mteh CD that came with your ipod. I did install the CD that came w
-
Generating events such as "push buttons" in ABAP
Hi, Is it possible to make code in ABAP that given a screen number can generate events for that screen. For example create a Z program that given the input parameters screen name and transaction, do something like: screen 101.pushChangeButton.? regar
-
Need to remove vertical quadrant line in bubble graph
I am using below code to remove vertical quadrant line in bubble chart- <QuadrantLine quadrantLineCountX="1" visible="true" lineColor="000000" lineWidth="1" quadrantLineCountY= "0"> <QuadrantLineValueY lineIndex="0" position="0"/> </QuadrantLine> I t
-
I never set a firmware password?
I have a late 2013 MBP Retina 13' that says it needs a "firmware" password to open recovery mode even though I never set one , I had to get my MBP