How to Update material cost of user defined org specific cost type

Hi,
We need to update material cost sub elements of an item for an org specific and user defined cost type.
I have inserted a sample row in the CST_ITEM_CST_DTLS_INTERFACE, and running open interface 'Mass Update Material Costs', but the program is not at all processing the rows, the Process_flag remains 1.
insert into cst_item_cst_dtls_interface
(inventory_item_id,
organization_id,
resource_id,
usage_rate_or_amount,
cost_element_ID,
Process_Flag ,
last_update_date,
last_updated_by,
creation_date,
created_by
values
(96023,
343,
52538,
0.00208012,
1,
1,
sysdate,
fnd_global.user_id,
sysdate,
fnd_global.user_id
Can someone help me out with this, thanks.
Regards
Dasu

I think there is some confusion.
"Mass Edit Material Costs" program is used to apply new activity rates to item costs. For this, you don't have to insert records in the interface. You have to define/update the new activity rates using screen.
To process records in the cost interface tables, you have to run the "Cost Import Process" program.
For more details, refer to http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/cst/settas06.htm
Hope this answers your question
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant

Similar Messages

  • Update the data in user-defined table

    Dear All,
    Is there anyway we can insert / update the data in user-defined table in a batch instead of update it from the interface one by one? Our customer has 1,000+ data need to be imported.
    They are on SAP2007A SP00 PL45, SQL 2005, CA localization. Thanks a lot.
    Regards,
    yuka

    Dear Yuka,
    If it is UDT, you may use any SQL query to insert, update it. It is not under SAP support anyway.
    Thanks,
    Gordon

  • How to make an applet load user-defined package?

    How to have an applet load user-defined package?
    I have packages in their own directories, and the applet compiles and links with them, by use of CLASSPATH env variable. But when it comes time to run, it ignores that and does not know where the classes (in the packages) are.
    If I don't use packages and put all code in one directory, runs fine. If I use an application, I can link with and load my packages.
    I know applets can't use things like CLASSPATH for security reasons, but still, they should be able to be compiled out of several packages, why do I have to put all code together??

    OK, for reference for future newbies, here's the answer:
    use CODEBASE attribute in your html file (if on Windows server, don't use drive letter but relative path to .html file, Unix style, and put all your .class files beneath that, for example, in your .html file
    <applet
    CODEBASE="..\class
    and then have package bar Bar.class file, in ..\class\bar

  • Cannot enable an user defined field as the type of link

    I created an user defined field and set it to the type of link. I want to link it to a external file.
    But only the "visible" checkbox of the UDF is available, the "enable" checkbox cannot be actived (displayed in grey).
    Can someone tell me how to do next?
    Thanks.

    I did a lot of tries but still failed.
    http://faculty.stut.edu.tw/~jywu/others/B1UDF1.JPG
    I want to know how to use the function marked in the red-box in the above link. What's that for?
    When i created a UDF using the setting, I can only set it visiable, cannot active it. 
    Furthermore, I cannot find any document expaining how to set these parameters in user defined field function.
    Can someone help me?
    Thanks.

  • User-defined fields in cost calculation

    Hi, I'm working with process order in customer service process.
    I would like to make a cost precalculation based on a user-defined field.
    To let you know.
    I created a new user-defined field.
    I affected to it a new parameter ID so that this user-defined field value can be used in formulas.
    I created a new formula with my parameter ID.
    This is allowed for costs.
    Now in my work center I defined these data for costing
    price for pre calculation is defined for IN9020 and cost center.
    Now in my service order I fill the required field.
    I would have thought that according to formula, SAP would use this value (6 PC through the formula) to calculate costs.
    This is not the case.
    Did anybody already use this?
    Regards
    Olivier

    Dear Maniaba
    We have used user fields in task list to capture quantity in terms of nos & its weight for each operation. This we used as a work around to capture the repair jobs quantity & tonnage. While mapping repair of a particular machine with out any reference to material(that is we have not created them as serialised material as in the case of refurbishment) we have created task list for its repair and user wanted to capture the quantity of repair (say how many & also its weight) so we have maintained the tonnage per 1 no in these fields. later when order is being created user selects the task list & changes the quantity field then we have developed report where we calculate the total tonnage of that job & also no of items repaired.
    Regards
    S P Behera

  • Add User Defined Field (Landed Costs Window)

    Hello All!
    Somebody can help us on this, we wonder if someone can tell us how can we add a user defined field in the Landed Costs Windows -> Fixed Costs TAB place.
    We were unable to add this field, and now we're thinking that's impossible through the USER DEFINE FIELD function, there's not reference about Fixed Costs TAB in this tool, but if someone knows the 'how to', please help us.
    thanks in advance
    jssanche

    Hi Sanchez,
    I am afraid you could not do that. User defined field is not be added into landed cost. Landed cost seems like process external bank statement. I have ever asked to SAP support about this (how to add UDF in process external bank statement) and they said it could be done using add-on. You have developed add-on to do that (DI/UI or UI API only).
    Rgds,

  • How to provide value to a User Defined field thru java code

    I am using OIM 11.1.1.5.
    I have a user defined field called Unique-Customer-Number. This field need to be pre-populated during user creation (using OIM Web UI) and the value comes from a java code.
    Can any of you tell me the high level steps to implement this.
    Thanks!
    Kabi

    Thanks Rajiv,
    I just followed everything on metalink 1262803.1. My console shows the followings during Metadata import.
    weblogicImportMetadata.bat :-
    Starting import metadata script ....
    Please enter your username :weblogic
    Please enter your password :
    Please enter your server URL [t3://localhost:7001] :t3://10.10.99.99:7001
    Connecting to t3://10.10.99.99:7001 with userid weblogic ...
    Successfully connected to Admin Server 'adm_server01' that belongs to domain 'server01'.
    Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.For more help, use help(domainRuntime)
    Disconnected from weblogic server: adm_eimsdv1s01
    End of importing metadata script ...
    Exiting WebLogic Scripting Tool.
    How I will I know that my plugin/ event-Handler is registered successfully. Is there any screen where I can see all registered plugins ?

  • How to apply dll file or user defined function in B1

    Dear all,
    I have dll file and user defined function which use for converting number amount to text of my language. I plan to create UDF to keep the result of function on A/R invoice and I will use this UDF on print layout desiner but I don't know how to apply my function on B1. Please kindly suggest.
    Thanks you in advanced.
    Angnam

    Hi Angnam,
    Check this link.
    Re: amount in words
    Thanks,
    Srujal Patel

  • BRFplus: How to create an instance of User-Defined Expression Type?

    Hi,
      I've created an expression type in a System Application and marked its Access Level as Global. I've created a Class & Interface and assigned it to my Expression Type, and activated it successfully.
    Now how do use this Expression Type to create expression in my Customizing Applications?
    Do I have to make any more code changes like extending any more classes or implementing additional interfaces? (I've already created a dummy Query Class and UI class)
    Any documentation or example of how to create a user-defined Expression Type and how to use them will be very helpful for me.
    Thank you & Best Regards

    Well I was going through the PDF documents available on SDN. I came across a document which referred to a document on creating user-defined expression.
    Document Name: [BRFplus XML Export and Import|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20462066-a086-2d10-a999-c9075767ce48?quicklink=index&overridelayout=true].
    The code sample for creating user-defined expression types is available in the How to Create Custom Expression Types document
    Pg. 24
    I had a hard time looking for that document. Couldn't find it though.
    Thank you Mr. Ziegler, now I know that currently there isn't any documentation on User-Defined Expression Types. I'll be awaiting for your  document on this
    Any overview about the steps to be followed in creating a custom expression type, with a few simple steps on how to do it over here would be greatly appreciated. Especially on how to get it seen in the Create Expression Sub-Menu. Also do I have to code a web dynpro for the UI?
    Thank you & Best Regards.

  • How to migrate sql server 2000 user defined function returns table

    Hi,
    How do I capture the SQL Server 200 user defined function that returns table? Is this supported in the current version of Oracle Migration Workbench? I am using the latest version - Release 9.2.0.1.0 with SQL SERVER 2000 plug-in.
    I was able to capture the SQL Server 2000 user defined function that returns string and smalldatetime but not the functions return table during the migrate data source stage.
    Thanks in Advance,
    Susan

    Susan,
    This is not currently supported. The next release of the Oracle Migration Workbench (due very soon), will do a better job of catching this mad reporting an error. We are looking into a suitable mapping and have created bug # 2355073 - TABLE DEFINITIONS NOT ACCEPTED FOR TABLE FUNCTIONS to track this issue.
    Once possible solution we are looking into is using the object type to emulate. Here is an example from the bug:
    Original table
    SQL> create table tabela (a number, b number, c number, d number);
    SQL> insert some values...
    SQL> select * from tabela;
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL Server 2000 code
    CREATE FUNCTION FUNCRETORNATABELA()
    RETURNS TABLE
    AS
    RETURN SELECT A,B,C,D FROM TABELA
    SELECT A,B,C,D
    FROM FUNCRETORNATABELA()
    ORDER BY A
    Oracle code (workaround)
    SQL> create or replace type MyObjType as object (
    2 a number, b number, c number, d number);
    3 /
    Type created.
    SQL> create or replace type MyTabType as table of MyObjType;
    2 /
    Type created.
    SQL> create or replace function teste return Mytabtype pipelined as
    2 aa MyObjType := MyObjType(null, null, null, null);
    3 cursor c1 is select a,b,c,d from tabela;
    4 begin
    5 open c1;
    6 loop
    7 fetch c1 into aa.a, aa.b, aa.c, aa.d;
    8 exit when c1%NOTFOUND;
    9 pipe row (aa);
    10 end loop;
    11 close c1;
    12 return;
    13 end;
    14 /
    Function created.
    SQL> select * from table(teste);
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL> select a, c from table(teste) order by c desc;
    A C
    4 4
    3 3
    2 2
    1 1
    Donal

  • How to pass external input to user-defined subclasses

    Hi all,
    [this might be a really trivial question] I would like to define a sub-
    class of JTable which get some external inputs: something similar to
    the following *not-working* example.
    *********************************************************************** import javax.swing.*;
    import javax.swing.table.*;
    public class RHJTable extends JTable
        public RHJTable(int rows, int columns, int externalinput)
            super(rows, columns);
        public Object getValueAt(int row, int column, int externalinput)
            return externalinput;
    What follows is the error message I get, which I assume it is due to
    my "externalinput":
    ??? Java exception occurred:
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
    at java.util.Vector.elementAt(Unknown Source)
    at javax.swing.table.DefaultTableColumnModel.getColumn(Unknown
    Source)
    at javax.swing.JTable.getCellRect(Unknown Source)
    at javax.swing.JTable.valueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown
    Source)
    at
    javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unkno
    wn Source)
    at
    javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
    Source)
    at javax.swing.JTable.checkLeadAnchor(Unknown Source)
    at javax.swing.JTable.tableChanged(Unknown Source)
    at javax.swing.JTable.setModel(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at RHJTable.<init>(RHJTable.java:12)
    Can anybody please suggest me the correct way of passing this external
    input?
    Thanks
    lor

    Thanks for this detail. Before getting into JTable
    etc...design suggestions, it would be helpful to know
    how the interaction between Java and MATLAB is
    supposed to proceed. OK: I'm developing a MATLAB GUI with an embedded JTable inside it: people write things in a user defined JTable (well, customized subclass of JTable).
    I would like to define this subclass not as MyJTable(int rows, int cols) but as MyJTable(int rows, int cols, int externalinput), but doing this gives me the aformentioned error.
    Simplest setting: MATLAB writes data to a file, and
    knowing the format of that file you are able to parse
    it in Java. I'm not using any kind of input or output file: simply, MATLAB calls a JTable subclass (i.e. I only have a .class file to work on).
    Problem arises when I would like to add some more input: I cannot say simply setValueAt(int externalinput) if the JTable can't get this input directly from MATLAB...
    I hope I did make myself a little bit more clear: solution must be trivial, but I'm spending a lot of time in it...
    Thank you very much for your interest.
    lor

  • How to write to file at user defined interval

    Hello
    I am trying to find a way to take data samples from a stream of strain measurements that is input to Labview from a NI 9237. These samples must be written to a file for later analysis. The vi must be capable of recording a burst of data at a user defined interval and sampling rate.
    For example record at 10Hz for 10 seconds every 15 minutes.
    My attempt at doing this is attached (as you can probably tell see I am quite a beginner at Labview).
    In my example I have used a random generator to simulate my data from the NI 9237. By using a for loop I have tried to get the vi to write 5 data points to the file. However it writes the same data point to the file 5 times, instead of 5 successive data points.
    Ultimately I would like the vi to write data to the file for a period of time (10 seconds) instead of writing a defined number of data points.
    Can anyone please advise how I should go about achieving this?
    Many thanks
    Solved!
    Go to Solution.

    I would create a separate task which is used to write the data. Data to be written to the file can be passed to this task via a queue. You could set values to determine how much data needs to be written and at what intervals. Your data acquisition can post data to the queue. Your queue can be configured so that it will only contain enough entries to hold the amount of burst data you want to save. Any additional data posted to the queue would be dropped. Your write task could be in a loop that periodically checks to see if your time interval has been met. When it does it can dequeue all the elements from the queue and write them to the file. It will go back to waiting for the timer to expire. Now that the queue is empty your data acquisition will be able to fill it again with the next set of data.
    NOTE: When you have your logger task pull the data from the queue you should use the queue status vi to grab all of the data at once and then flush it. If you dequeue elements one at a time in a loop your data acquisition task will start filling it again before you have written everything out. This would result in more data getting written to file than you want.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to assign a item to User Defined Attribute group?

    I have created a new User Defined Attribute(UDA) using PIM- setup responsiblity.
    But i don't know how to assign one newly created item to the UDA.
    Please help me out.
    Thanks in advance.

    hai Naren and Ganesh,
    i have few queries in wad can u help me in resolving the problems?
    i have generated a query using variables ,but when i am executing that query in web ,i am not getting any pop up asking fr variable.so wht might b the error.
    first i have selected the table in wad and assigned the dataprovider ie is query,
    in tht query a variable is also existed but i am not getting any pop up
    is there any radio button / check boexes to select and assign the variable
    so plz help me in this aspect..
    if u r working on wad can plz send me u r contact mail id so tht i can interact easily...my mailid is [email protected] ok
    regards
    Suri../

  • How do I refer to a user defined field in a query  (using $ notation) ?

    if i have a user defined field in Invoice header called U_Test, and if I need to read it using a query (to be used on a formatted search).
    I am not quite sure of the syntax. can anyone help please?
    I tried
    $[$U_Test.0.0]  which is the accepted way with fields with numerical ids such as $[$8.0.0] etc.
    appreciate any help,
    Indika.

    Hi all,
    Aliw, the 38 is not the form number, is the Item Number (which I guess is a matrix). In your case the User Defined Field is a line UDF. In Indika´s case is a header UDF.
    And that´s the issue. As the indika´s UDF is a header UDF, it lays in a different form (which is named "-" + Main Form Name). Formatted searches work with the $[$Field.Column.Format] notation ONLY in the same form. So, if you try to get the UDF from another UDF, it will work with that notation (they are in the same form). But if you try to get the UDF from the main form, it won´t find it (It is in another form).
    In that case you should use the other notation, as Andrea, Alexey and Salvador told you in the posts before.
    Hope this clears a bit the issue.
    Regards,
    Ibai Peñ

  • How to Use Sequence Object Inside User-defined Function In SQL Server

    I'm trying to call sequence object inside SQL Server user-defined function. I used 
    Next Value for dbo.mySequence  to call the next value for my sequence created. But I'm getting an error like below.
    "NEXT VALUE FOR function is not allowed in check constraints, default objects, computed columns, views, user-defined functions, user-defined aggregates, user-defined table types, sub-queries, common table expressions, or derived tables."
    Is there any standard way to call sequence inside a function?
    I would really appreciate your response.
    Thanks!

    The NEXT
    VALUE FOR function cannot be used for User Defined function. It's one of the limitation.
    https://msdn.microsoft.com/en-us/library/ff878370.aspx
    What are you trying to do? Can you give us an example and required output?
    --Prashanth

Maybe you are looking for

  • How to trigger action dynamically in Web Dynpro ABAP?

    Hi, I need to trigger an action dynamically. How do I do that? Eg. I have Search Tab where I input Purchase Order Number and press Find button to get the PO details. Now I have an Overview Tab where I have listed all the Purchase Orders, after select

  • Is there a way to selectively download from your Itunes library?

    I have a 4G and download tunes + podcasts - 3G memory consumed. Now I bought a 2G and want to use it just for podcasts. Can you do this and from the same computer? Thanks - p

  • Problem in iSqlPlus

    I am New In Oracle 10g Try to Connect in isqlplus .... When I Start iSQL plus by Using isqlplusctl start it Started. But Cannot Connect With isqlplus... C:\oracle\product\10.1.0\Db_1\BIN>isqlplusctl start iSQL*Plus 10.1.0.2.0 Copyright (c) 2004 Oracl

  • N95 vs. iPhone

    iPhone: Slick, candy sweet user interface on lickable form factor, but with pre-war spec. No 3G? And a 2mp camera? Don't they come free with breakfast cereal? N95: Bang up to date shiny tech-fest but a tad on the clunky side. Discuss.

  • Load array of images

    Looking for a little direction. I'm trying to load array of images into flash and eventually make the image draggable. Can anyone point me to a tutorial that can help? Thanks