Copy standard cost with Cost Component from another material

Hi,
I need to copy standard cost from another material not only total price but also details of cost component split. I try to used transaction CKUC with procedure of "explode material cost estimate" but the reference material use "mixed costing" and isystem stop explosion.
There is another procedure in order to make this copy? I can not use special procurement because are different codes (material A / Plant XXX copy froma material B /Plant XXX).
Thanks for your support.
Mic

Hi Chandra,
thanks for your suggestion, it works but only if I explode a level ... material "B" contains two mix codes  that also contain their mixes. So system shows this message "Mixed cost estimate explosion in level 2 for material xxx" and "Mixed cost estimate exists: maximum of 2 explosion level (s) possible".
So Is not possible to copy and esploded a standard cost with multi level mix?
Thanks
Michela

Similar Messages

  • Exception calling a WD Component from another one

    Hi all,
    I have an application that searches some KM files and displays their names in a WD Table.
    I used an example from SDN to download the content of this table into an Excel file... I copied the Excel component from this project and pasted it into my own project, so I can reuse it instead of writting all over again
    When I click on the "Excel File" button the first WD Component calls the Excel Component but I'm getting this exception:
    <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.polar.excel.WDC_ExcelExport</b>
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:776)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:926)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:176)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:346)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
         at com.polar.listactualizacion.wdp.InternalWDV_ResultListActualizacion.wdGetExcelExportInterface(InternalWDV_ResultListActualizacion.java:228)
         at com.polar.listactualizacion.WDV_ResultListActualizacion.onActionact_btnExcel(WDV_ResultListActualizacion.java:425)
         at com.polar.listactualizacion.wdp.InternalWDV_ResultListActualizacion.wdInvokeEventHandler(InternalWDV_ResultListActualizacion.java:187)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Any ideas about this??
    Thank you...
    Felipe

    Felipe,
    Check name of component used in Component Usage or in code: com.polar.excel.WDC_ExcelExport.
    Seems that you mistyped the name.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Initialize a global with a global from another file

    hi,
    I know that initialization order for global variables across compilation units is not defined, but if I have
    file1.cpp
      int x0 = 33, x1 = 55;
      extern int y0, y1;
      static int a[] = { y0, y1 };
      void print_a( void ) { printf( "\na[0] = %d\na[1] = %d", a[0], a[1] ); }
      extern void print_b( void );
      main()
        print_a();
        print_b();
    and file2.cpp
      int y0 = 77, y1 = 99;
      extern int x0, x1;
      static int b[] = { x0, x1 };
      void print_b( void ) { printf( "\nb[0] = %d\nb[1] = %d", b[0], b[1] ); }
    I notice that values are displayed correctly and consequently, initialized in the order I need. So what's the secret, coincidence, am I lucky? Does it make any difference if file2.cpp is part of a static library?
    Thanks

    @ Igor Tandetnik: Yes, I chose an example with circular dependency just to show that it was not the situation that, by luck, the "other" file was was initialized first. Yes, I would like a solution for such circular dependency, but I hope that I will
    find, at least, a solution for the case when such circular dependency does not exist. What I want to achieve? As the title says, I want a solution to be able to initialize globals with globals from another file, a solution as general and fault proof and convenient
    as possible.
    @ Wyck: I thought about something like that, problem is that in case of large arrays there is a lot to type. Another solution (it saves a little typing) I saw was something like
    // common_header.h
    #define LIST_A  y0, y1
    #define LIST_B  x0, x1
    // file1.cpp
    #include "common_header.h"
    Number x0(33), x1(55);
    static Number a[] = { LIST_A };  // just to give correct size
    // file2.cpp
    #include "common_header.h"
    Number y0(77), y1(99);
    static Number b[] = { LIST_B }; // just to give correct size
    // init.cpp
    extern Number LIST_A, LIST_B;
    void init()
    {  Number a_[] = { LIST_A };   Number b_[] = { LIST_B }; // stack usage
       for( int i = 0; i <_countof( a_ ); i++ )  a[ i ] = a_[ i ];
       for( int i = 0; i <_countof( b_ ); i++ )  b[ i ] = b_[ i ];
    This still has the problem of using much stack in case of large arrays and if array members are more complex structures (might also contain string literals), there is a bit more difficult.
    Bellow is a solution I came up with using macros but which I don't really like because is a bit cumbersome. I'm looking for something better/more elegant/safer or simply I want to see what other solutions people see here.
    // file1.cpp -------------------------------------------
    #define MEMBER_LIST( Usage ) \
    Usage( x1 ) \
    Usage( x2 )
    #define IMPORT( ext_member ) extern Number ext_member;
    #define COUNT( member ) 1 +
    #define LOAD( member_val ) a[ i++ ] = member_val;
    Number y1 = 77, y2 = 99;
    MEMBER_LIST( IMPORT )
    static Number a[ MEMBER_LIST( COUNT ) 0 ];
    static void InitGlobals_a( void ) { uint8 i = 0; MEMBER_LIST( LOAD ) }
    extern void InitGlobals_b( void );
    int _tmain(int argc, _TCHAR* argv[])
    { InitGlobals_a();  InitGlobals_b();
    return 0;
    // file2.cpp -------------------------------------------
    #define MEMBER_LIST( Usage ) \
    Usage( y1 ) \
    Usage( y2 )
    #define IMPORT( ext_member ) extern Number ext_member;
    #define COUNT( member ) 1 +
    #define LOAD( member_val ) b[ i++ ] = member_val;
    Number x1 = 33, x2 = 55;
    MEMBER_LIST( IMPORT )
    static Number b[ MEMBER_LIST( COUNT ) 0 ];
    void InitGlobals_b( void ) { uint8 i = 0;  MEMBER_LIST( LOAD ) }
    Of course, something like
    #define MEMBER_LIST( Usage ) Usage( x1 ) Usage( x2 )
    could be further simplified using other macros so you can simple use
    #define MEMBER_LIST x1, x2
    but those additional macros will add up to the complexity.

  • Read group membership for a user object and populate every group with matching user from another domain

    I have LON\JSmith in LON domain and DEL\JimSmith in DEL domain
    I would like to extract group memberships of LON\JSmith in LON domain and append matching by email (i.e. DEL\JimSmith) user object in every group in LON domain.
    for instance
    LON\JSmith and DEL\JimSmith is the same person and has same email address [email protected]
    LON\JSmith belongs to 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey
    The outcome of the script should be
    LON\JSmith; DEL\JimSmith    should be in 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey.
    How can i do it?
    Navgup

    Hi Navgup,
    Please refer to the script below, to query users in other domain by specifying the parameter "-Server" in the cmdlet "get-aduser", and also note I haven't tested the script below:
    import-module activedirectory
    get-adgroupmember "group"|foreach{
    $email=(get-aduser $_.samaccountname -properties *).EmailAddress#get the user email
    Get-ADUser -filter {EmailAddress -eq $email} -properties * -server DomainB.company.com|select samaccountname, memberof}#filter user name and group with the email in other domain
    To get users across domain, please also refer this blog:
    Adding/removing members from another forest or domain to groups in Active Directory:
    http://blogs.msdn.com/b/adpowershell/archive/2010/01/20/adding-removing-members-from-another-forest-or-domain-to-groups-in-active-directory.aspx?Redirected=true
    I hope this helps.

  • UPDATING A TABLE WITH SAME INFO FROM ANOTHER TABLE ON THE SAME DB

    0down votefavorite
    I am trying to update a table with info from another table on the same db with same table name. I just want the info to be the same , no primary key or constraint involve just a straight replacement of records and I keep getting errors WITH THE TABLE not
    being recignize. below is my query:
    UPDATE
    VNDFIL
    SET EOBTYP
    =  VNDFIL.EOBTYP, 
    EDI_X12_835_VERSION =  VNDFIL.EDI_X12_835_VERSION
    FROM
    AGERECOVERY
    WHERE
    VNDFIL.EOBTYP
    = VNDFIL.EOBTYP
    AND
    VNDFIL
    .EDI_X12_835_VERSION
    = VNDFIL.EDI_X12_835_VERSION

    Hi rotary,
    If those two same named tables are in the same database then they have to be in different schemas. If you mean they are in the same server instance, then they may be in different databases, besides the "table not being recognized" error,
    anyway you should use the fully qualified table names, that is database.Schema.Table(If across instances, ServerName should be prefixed) to avoid the table unrecognized error.
    Using Identifiers As Object Names
    With the fully qualified names, your update statement can be like below.
    UPDATE
    db1.schema1.VNDFIL
    SET EOBTYP = srcTbl.EOBTYP, EDI_X12_835_VERSION = srcTbl.EDI_X12_835_VERSION
    FROM
    db1.schema2.VNDFIL srcTbl
    WHERE
    db1.schema1.VNDFIL.EOBTYP = srcTbl.VNDFIL.EOBTYP AND
    db1.schema1.VNDFIL.EDI_X12_835_VERSION = srcTbl.VNDFIL.EDI_X12_835_VERSION
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Problem with creating site from another computer!

    Hi
    I have WebDB 2.2 and Oracle8i instaled on the same computer. I have a problem to create site from another computer. There is not any process when I try to create site. There is always 0%.
    But I have no problem with creating site on the origin computer.
    Does anybody know something about it?

    I am just not clear what to do once I have made changes and have published the new information.
    You shouldn't have to do anything. iWeb will save the information in the Domain.sites file. You can keep this file in a folder, or even on your desktop and iWeb will launch from a double-click on the file.

  • Breakout table (fill table with matching data from another table)

    Hi
    I've been trying to study old discussions about breakout tables. I feel I'm close, but still no cigar :-)
    In plain english, I'm trying to autocreate rows with data on a table, based on matching values from another table. E.g. have a table to display all rows where type = AssetX
    I have attached a screenshot of my "master table" called Assets:
    I'm looking to prefill Asset name, Total from this table and populate a new table called e.g. Greenhouse
    Where I'd be adding more data (date, income, expense).
    Any help whould be greatly appreciated.
    Thanks!

    Hi,
    Here is a Sample Query.
    Update Emp A
    Set Sal = (Select Sal from emp b where
    a.empno = b.empno)
    where empno in (select empno from emp);
    Regards,
    Ganesh R
    null

  • How can I call a public function in one component from another component?

    I have two components: Form and Confirmation.  Form is a Canvas and Confirmation is a TitleWindow.
    Form contains several controls and a submit button.  Confirmation contains an OK button.  When the user clicks the submit button, the Confirmation appears over the Form (Form is blurred).  When the user clicks the OK button on the Confirmation, I want to run a function on Form to set some default values in the controls.
    How can I address the function in the Form component from the Confirmation component so I can fire the function?
    Thanks!

    Here is the source
    CustomForm.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    public function callBack(): void {
    lblStatus.text = "Success";
    ]]>
    </mx:Script>
    <mx:Label id="lblStatus"/>
    <mx:Form x="50" y="50" verticalGap="15">
            <mx:FormHeading label="Send us comments" />
            <mx:FormItem label="Full Name:">
                <mx:TextInput id="fullName" />
            </mx:FormItem>
            <mx:FormItem label="Email:">
                <mx:TextInput id="email" />
            </mx:FormItem>
            <mx:FormItem label="Comments:">
                <mx:TextArea id="comments" />
            </mx:FormItem>
            <mx:FormItem>
                <mx:Button id="submit"
                    label="Submit" />
            </mx:FormItem>
         </mx:Form>
    </mx:Canvas>
    CustomTitle.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute" width="200" height="80"
    showCloseButton="true" close="closeMe(event)"
    backgroundAlpha="1"
    color="#173553" backgroundColor="#EEEEEE"
    headerColors="#FFFFFF, #CBCCCC"
    borderColor="#666666" borderStyle="solid">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    public var callBack: Function = new Function();
    private function closeMe(event: Event): void {
    PopUpManager.removePopUp(this);
    callBack();
    ]]>
    </mx:Script>
    <mx:HBox width="100%" height="100%" horizontalAlign="center" verticalAlign="bottom">
    <mx:Button id="btnOK" label="OK" click="closeMe(event)" />
    </mx:HBox>
    </mx:TitleWindow>
    TitleWindowSample.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    width="100%" height="100%"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    private function init(): void {
    customForm.submit.addEventListener(MouseEvent.CLICK, onMouseClick);
    private function onMouseClick(event: MouseEvent): void {
    customForm.lblStatus.text = "";
    var customTitle: CustomTitle = new CustomTitle();
    customTitle.callBack = customForm.callBack;
    PopUpManager.addPopUp(customTitle, this);
    PopUpManager.centerPopUp(customTitle);
    ]]>
    </mx:Script>
    <mx:VBox
    width="100%" height="100%"
    verticalAlign="middle" horizontalAlign="center">
    <CustomForm id="customForm" width="500" height="300">
    </CustomForm>
    </mx:VBox>
    </mx:Application>

  • No color toolbar icons from standard launch, ok when launched from another app.

    When launched from another app like google earth the toolbar icons are in color.
    When launched normally the icons have no colors.
    Currently Thunderbird 24.6.0

    another experiment.
    When you have the colour icons, Select Help menu > about (what version is this) when you have the black do the same and see if it is different versions. (pressing F10 will make them menu bar visible if it is not.)
    Thunderbirds icons changes from living colour to black and white quite a few versions ago.
    Reasons for color are;
    * An old version
    * An add-on by way of a Theme
    * The running of Thunderbird in XP compatibility mode in Windows

  • Count with a conditional from another DATASET

    Hi guys!
    How could I count records in a table from another Dataset? I tried this, but I got syntaxis error on the comma that indicates the dataset. Please.
    =Count(IIf((Fields!new_leadsourceid.Value, "AllNewLeads") = Fields!new_leadsourceid.Value, 1, Nothing))
    Thank you.

    What do you mean "bring the data by groups"? And "total
    count, but divided by groups", do you mean you want an average across multiple input arrays?
    The Lookup expressions can be scoped to any valid scope. What is a valid scope depends on the context. If I put a Lookup expression in a table cell that is contained within a group, a valid scope is that group or any parent group up to and including the
    table's dataset.
    The custom code can be modified to accommodate multiple groups in the input and to return the total elements from all input arrays. The restrictions on custom code are the assemblies available on the server(s) where the code will execute. In most cases,
    server admins are reluctant to add custom assemblies or additional packages to their server. As long as you restrict your the code to use only what is available in the core .Net assemblies, it shouldn't be a problem. This custom code shouldn't be a problem
    for that.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Controlling a SubVI with while loop from another VI

    Dear All,
    this might be an easy Question but i couldn't catch an answer for it.
    first of all i have a VI which i will use as a subVI , this VI  is simply as shown in the "test_out of scope.vi" attached file
    now i will use it inside another VI called "Main VI" as shown in the file "Main_VI.vi"
    i'm just wondering , why couldn't i control the "Frequency" and "Stop" as i can do so while running the SubVI only without accessing it from another VI ?
    isn't it possible to access objects inside a while loop from another VI if i just connected them in the connection Pane terminals ??
    Thanks in advance to everybody
    Message Edited by Mohammed.Ashraf on 06-09-2009 10:27 AM
    Eng. Mohammed Ashraf
    Certified LabVIEW Associated Developer
    InnoVision Systems Founder, RF Test Development Engineer
    www.ivsystems-eg.com
    Attachments:
    Main_VI.vi ‏10 KB
    test_out of scope.vi ‏30 KB

    Do you need the sub-vi to run iterations for an undertermined period of time? 
    If so, then why not implement it as a parallel loop to the main one.  Maybe part of a consumer loop.
    If not.  Where the main loop would take care of each iteration and call the sub-vi in one shot. Then no need for a loop in the sub-vi.  
    It's all a matter of how you want the software to behave.  Have you looked at Event Structures?
    R

  • Copy project clip with voice over from one project to another

    Hi,
    I would like to copy some part of the project clip into another new project. I would able to copy Video and its sounds but not external voiceover sound which is attached to the project.
    Can anyone please tell me how to copy voiceover part as well with video?
    Reg,
    Sri.

    Steve,
    Thanks for the mention of the Project Archiver. As I normally set up Projects on externals, in anticipation of migrating them between my computers, I had just not thought to mention that. The OP will benefit from that tip!
    One thing for the OP to remember is that many systems will not boot properly, if a thumbdrive is attached first. Many USB devices get in the way, if plugged in and turned on, prior to boot up. My Epson printer MUST be turned OFF, or my laptop will not boot. Many have had the same thing happen with most thumbdrives too.
    Appreciated,
    Hunt

  • Urgent help in copying STANDARD Texts of various lang from 1 client to anot

    Hi,
    I have a require ment in which i have to copy all standard texts in chinese,thai language from one client to another.
    Can any one please help me with this .
    I don't have any idea on proceeding .

    Hi,
    Use the Following Program
    goto se38>RSTXSCRP>EXECUTE.
    CHOOSE THE RADIOBUTTON Standard Text .
    In the Object name type ur Textname(chinese one ).
    choose the Mode as Export.
    GIVE the Language as chinese Code.
    EXECUTE.
    Save to ur desktop.
    Now logon to other client.
    goto se38>RSTXSCRP>EXECUTE.
    CHOOSE THE RADIOBUTTON Standard Text .
    In the Object name type ur Textname(chinese one ).
    choose the Mode as IMPORT.
    GIVE the Language as Chinese Code.
    EXECUTE.
    Give the File name.
    The text will get Imported.
    Regards,
    Morris Bond.
    Reward Points if Helpful.

  • Copy RT tables or Payroll Cluters from another mandant

    Hi Guys
    We want to make our QAS a copy as real as possible from PRD and we wanna copy our Payroll Results with all employees re-calcs.

    Nicolai Jorgensen wrote:
    Hi.
    I'm trying to copy all tables from one instance to another using the database copy function, but it fails when trying to move the data from one specific table containing 3,5 mill records to new instance.Copying a database is not the way to copy selected objects.
    >
    Is there anyway to copy the data NOT using exp or datapump?And why not use exp or expdp? That is the standard solution for doing what you want. If there is a reason not to use them we need to know it before offering other possibilities
    >
    SQL Developer crashes at 600 MB RAM use. I have 3,5 gb and 2 cpu.My crystal ball is out for repair and I can't find my chicken entrails. What kind of error message do you get? It would also be helpful to know what OS the db is on and what version - to 5 decimals - of database you are working with. Also, if Standard, Enterprise, XE, etc.
    >
    Best regards,
    Nicolai

  • Copy/pasting content into one project from another.

    When I copy pictures from one project into another, it just leaves me with black pictures for the duration of the other ones...how do I fix this?

    Thank you. Just from the curiosity, why saving a final project under a new name?

Maybe you are looking for