How to run unplaned dep while asset getting scrap

Dear Friends
My asset is broken so we plan to close the asset 100% but it purchased in 3 yrs back. dep key used WDV
my client is asking to do unplanned dep run and closed the asset but should not to do scrap
Pls Help me
Thanks & Regards
JK

Dear AlexisOtto      
T.code ok but that asset having additional asset also, last 3yrs dep calculated wdv 40%, remaining 60% i need to close the particular asset
Regards
JK

Similar Messages

  • How to run commands like "ipconfig" and get the output in adobe AIR in windows?

    import flash.desktop.NativeProcess; 
    import flash.desktop.NativeProcessStartupInfo;   
    if (NativeProcess.isSupported) {     
         var npsi:NativeProcessStartupInfo = new NativeProcessStartupInfo();     
         var processpath:File = File.applicationDirectory.resolvePath("MyApplication.whatever");     
         var process:NativeProcess = new NativeProcess();       
         npsi.executable = processpath;     
         process.start(npsi); 
    The above can only run a sub-application, but how to run an independent  application(command) like ipconfig and get the result?

    Hi,
    here is an example of running a net Use command line from AIR, unig the new NativeProcess. Hope it will help !
    function launchProcess()
      var file = air.File.applicationDirectory;
      // set command path
      file = file.resolvePath("C:/Windows/system32/net.exe");
      var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
      nativeProcessStartupInfo.executable = file;
      // prepare command parameters
      var args = new runtime.Vector["<String>"]();
      args.push('USE');
      args.push('W:');
      args.push('/delete');
      args.push('/y');
      // set arguments
      nativeProcessStartupInfo.arguments = args;
      // add listeners to catch command outputs
      process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
      process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
      process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
      // create and run Native process
      process = new air.NativeProcess();
      process.start(nativeProcessStartupInfo);
    function onOutputData(ProgressEvent)
      var processResults = process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable);
      air.trace("Results: \n" + processResults);
    function onErrorData(ProgressEvent)
      var processResults = process.standardError.readUTFBytes(process.standardError.bytesAvailable);
      if(processResults.search('password') > -1){
        window.alert('Bad password');
      air.trace("Errors: \n" + processResults);
    function onExit(NativeProcessExitEvent)
      air.trace("Process ended with code: " + NativeProcessExitEvent.exitCode);

  • How to run a WMI query to get an element of a class?

    Hello everyone,
    I am trying to run a PowerShell Query to get the value of a certain element inside a class instance. How can I accomplish this?
    I tried this...
    PS C:\windows\system32> Get-WmiObject DCIM_BIOSPassword -Namespace ROOT\DCIM\SYSMAN | Select AttributeName,IsSet
    AttributeName                                                                 IsSet
    AdminPwd                                                                       True
    SystemPwd                                                                     False
    and I get the result of both instances; (Because there are two instances inside the class!) I want the result of just one instance.
    Thank you very much in advance.

    This is the result I get;
    PS C:\windows\system32> Get-WmiObject DCIM_BIOSPassword -Namespace ROOT\DCIM\SYSMAN | Get-Member
    TypeName: System.Management.ManagementObject#ROOT\DCIM\SYSMAN\DCIM_BIOSPassword
    Name MemberType Definition
    PSComputerName AliasProperty PSComputerName = __SERVER
    AttributeName Property string AttributeName {get;set;}
    Caption Property string Caption {get;set;}
    CurrentValue Property string[] CurrentValue {get;set;}
    DefaultValue Property string[] DefaultValue {get;set;}
    Description Property string Description {get;set;}
    ElementName Property string ElementName {get;set;}
    InstanceID Property string InstanceID {get;set;}
    IsOrderedList Property bool IsOrderedList {get;set;}
    IsReadOnly Property bool IsReadOnly {get;set;}
    IsSet Property bool IsSet {get;set;}
    MaxLength Property uint64 MaxLength {get;set;}
    MinLength Property uint64 MinLength {get;set;}
    PasswordEncoding Property uint32 PasswordEncoding {get;set;}
    PendingValue Property string[] PendingValue {get;set;}
    __CLASS Property string __CLASS {get;set;}
    __DERIVATION Property string[] __DERIVATION {get;set;}
    __DYNASTY Property string __DYNASTY {get;set;}
    __GENUS Property int __GENUS {get;set;}
    __NAMESPACE Property string __NAMESPACE {get;set;}
    __PATH Property string __PATH {get;set;}
    __PROPERTY_COUNT Property int __PROPERTY_COUNT {get;set;}
    __RELPATH Property string __RELPATH {get;set;}
    __SERVER Property string __SERVER {get;set;}
    __SUPERCLASS Property string __SUPERCLASS {get;set;}
    ConvertFromDateTime ScriptMethod System.Object ConvertFromDateTime();
    ConvertToDateTime ScriptMethod System.Object ConvertToDateTime();
    But this is not it. I want to get the value of "IsSet" for AdminPwd only.

  • How to run a do-while loop on the 2nd execution after a stop on failure occurs?

    I am trying to use the Stop on Failure process model callback from the TestStand Examples.
    If a step fails within a Do-While loop and the test is terminated, the second time the test is run (continuing to the Next UUT in the process model), the condition for the do-while loop is checked first before it ever enters the loop. This is incorrect because the Do-While loop should execute once and then check the "while" condition.
    Also, If I was to stop the execution altogether and then restart the test (instead of continuing with the Next UUT), it runs the loop once, then checks the "while" condition.
    I'm not sure if I am describing this clearly enough. The execution seems to flow like this:
    Start test
    Do
    NumericTest step FAILS  -> terminate
    Next UUT starts
    While (condition is false and skips over Numeric Test step).
    So it seems that TestStand thinks it's still within that Do-While loop on the second execution and whatever runtime variables are not reset correctly.
    Is this a TestStand bug?  It happens in both TestStand 3.1 and 3.5.
    Is there any way around this?
    Thanks for any help.

    If it is what I think it is, it is a bug. Try unchecking Sequence Properties>>Optimize Non-Reentrant Calls to This Sequence and please tell me if that fixes it.

  • How to run a project which gets parameters from a batch file

    Hello all,
    I use to run a program, which gets parameters only by interactive mode, using a batch file as you can see below:
    # myprogram < batchfile.txt
    Now, I'm updating its code by SunStudioExpress IDE and I'd like to run it from the batchfile. I have noticed that the project properties window has the option run -> arguments, however this program doesn't accept arguments this way and for changing it, I'd have a hard job.
    Does someone know how to run this project and to get its parameters from batchfile?
    Regards,
    Glauber

    Ah, it appears that when you run the project, "<" is passed as one of the arguments and is not treated as input redirection.
    Sorry, it looks like it is not possible to do the redirection; and it looks like a bug to me. Could you please file it through bugs.sun.com? It shouldn't take long as the problem is evident now.

  • How to run a function

    Hi,
    can anyone tell me how to run this functions while generating reports for labels.
    please i need some guidance.
    create or replace function get_label_nextval(p_label varchar2) return integer
    is
    l_last_num integer;
    cursor c_label is
    select last_num from label_id where label = upper(trim(p_label)) for update wait 10;
    pragma autonomous_transaction;
    begin
    open c_label;
    fetch c_label into l_last_num;
    if l_last_num is not null then
    l_last_num := l_last_num + 1;
    update label_id set last_num = l_last_num where current of c_label;
    commit;
    end if;
    close c_label;
    return l_last_num;
    end;
    Thanks and Regards

    ORA-06519: active autonomous transaction detected and rolled back
    Cause: Before returning from an autonomous PL/SQL block, all autonomous transactions started within the block must be completed (either committed or rolled back). If not, the active autonomous transaction is implicitly rolled back and this error is raised.
    Action: Ensure that before returning from an autonomous PL/SQL block, any active autonomous transactions are explicitly committed or rolled back.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10880/e4100.htm#sthref2110
    I think your COMMIT should be moved outside your IF.
    Commit just before your RETURN, after your CLOSE CURSOR statement.
    Edited by: hoek on Jan 4, 2010 1:28 PM typo

  • How to run the two events at the same time by using event structure

    In my project, I have to run two stepper motor which can run both forward and reverse direction by changing the control in front panel so I am using event structure. In front panel I gave two separate controls for both stepper motor such as forward,reverse and stop. I would like to do motor1 will rotate alone, motor2 will rotate alone and both motor will rotate at the same time when user click the control in front panel. My doubt is how to run a motor2 while motor1 is running at the same time please tell me the suggestion for this problem
    Attachments:
    motor.png ‏192 KB

    How do you control your motors?
    Most motion control systems do supply two modes:
    a) position based motion: The motion axis has a positioning system (most often some kind of encoder system) which enables the motion control to know where the axis is currently located. Passing the target location to the controller will result in the axis to move to that location. This is, for most applications, the recommended approach. It does require some sort of motion controller device.
    b) direction based motion: This essentially tells the periphery device for the motor to move at a certain speed into a certain direction. As it does not stop at a dedicated location, it induces great risks for many applications if there are no kill- and/or end-switches. Depending on the setup, this can be either done with motion controllers or pure by software control (e.g. "controlling" the voltage level for the motor).
    If you go for a), there is not much preventing parallelism as you request.
    Option b) depends on the setup. If you have a control loop in the software itself, you have to move to an architecture like the producer/consumer. Please note that this does not incorporate any security measures for the external devices.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do I make one while loop that runs 1 piece of data at a time?

    I have a question about a while loop.  Currently, I have 4 or 5 dynamic data lines that I would like to run through a while loop that will tell me if the data is within a certain range or not.  However, the ranges are different for each piece of data, and I dont know how to do each one separately.  Do I have to make 5 different while loops? Thanks!

    pg22aw wrote:
    I have a question about a while loop.  Currently, I have 4 or 5 dynamic data lines that I would like to run through a while loop that will tell me if the data is within a certain range or not.  However, the ranges are different for each piece of data, and I dont know how to do each one separately.  Do I have to make 5 different while loops? Thanks!
    Do you want to compare the value with a defined value and also the ranges for the 5 data is different?. What are you doing in the while loop. If the data is in an array of dynamic data you can seperate the amplitude value and check the whole array of value with the ranges that is also build same as the data theh you will get the output as a boolean array.
    The best solution is the one you find it by yourself

  • I am Using Ajax with DWR while running the application i am getting error?

    Hi,
    I am using DWR concept while running the program i am getting the following error:
    uk.ltd.getahead.dwr.util.CommonsLoggingOutput info INFO: Exec[0]: Demo.sayHello()
    and also all the methods that are there in that Java class. Plz anybody help me how to overcome this problem

    Hi Rameshkumar,
    The workaround mentioned by Chris will not be required in future versions of TopLink 10.1.3. We have removed our dependency on the 3-arg javax.xml.namespace.QName constructor that is not present in the WebLogic 8.1 distribution of the QName class.
    -Blaise

  • How to accout unplanned depreciation for group assets

    Friends,
    Unplanned depreciation is accounted for group assets few years ago.This is for special depreciation areas.
    Now i would like to reverse this amount as write up unpalnned depreciation,  but system is throwing eror message that: This  function is not possible for group assets.
    OR
    The issue what we are facing is special dep areas has one cent as -ve acquisition due to which we are unable to deactivate the asset. This one cent was accounted as unplanned dep few years ago. How do we make the APC as zero when it has -ve APC in special dep areas.
    pl,  suggest how to go about this.
    Thank
    NNS

    Hi,
    This is not possible in the standard and this is not a from SAP intended and provided solution. Therefore I ask you to be really careful and test it bevore on a test system.  (and perhaps to discuss this with your SAP consultant)
    The workaround to remove the group asset from table  ANLB-ANLGR from the asset could be done by creating your own program.
    Regards Bernhard

  • How to run the servlet without getting message window?

    while running servlet,i got a message window that 'Do you want to save:val?'how to rectify this problem while running servlet.
    Actually i saved the servlet files as HTTP and Generic.java respectively.
    In web.xml file,the content is as follows
    <servlet>
    <init-param>
         <param-name>title</param-name>
         <param-value>GenericServlet Example</param-value>
         </init-param>
         <init-param>
    <param-name>heading</param-name>
    <param-value>Servlet Program</param-value>
    </init-param>
    <servlet-name>G</servlet-name>
    <servlet-class>Generic</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>H</servlet-name>
    <servlet-class>HTTP</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>G</servlet-name>
    <url-pattern>/generic</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>H</servlet-name>
    <url-pattern>/http</url-pattern>
    </servlet-mapping>
    ======================================================
    The html file is as follows
    <html>
    <body>
    <form action="generic" method="get">
    User Name<input type=text name=t1><br>
    Password<input type=password name=t2><br>
    <input type="submit" value="GenericServlet Output">
    </form>
    <form action="val" method="get">
    User Name<input type=text name=t3><br>
    Password<input type=password name=t4><br>
    <input type="submit" value="HttpServlet Output">
    </form>
    </body>
    </html>
    ======================================================
    I executed the servlet as http://localhost:8080/stalin/sample.html
    and clicked the sumit button in the html page.
    During that time i got a problem but not getting the output.The problem is I got a message window?
    can anyone help me clarify my doubt plz

    That would occur if either the content type in the header is wrong (e.g. it is not text nor image, those content types with which the useragent used is associated), or if you have set content disposition in the header to attachment instead of inline.
    So, doublecheck the headers.

  • Dep run for morethan 1000 assets

    Hi Guru's,
       Anybody tell me how to run dep more than 1000 assets.i am struggling for that.
    Thanks
    Ravi

    Hi -
    Please refer the following page -
    http://help.sap.com/saphelp_ides/helpdata/en/fb/f6b96c0cfd11d3b65d0000e82d962e/content.htm
    Thanks
    Sanjay Durg

  • How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application

    Hi,
    I have console application using which i am trying to run power shell command  like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
    i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
    using (PowerShell pwInstance = PowerShell.Create())
                            pwInstance .AddScript("Get-AssignedAccess");
                            var result = pwInstance .Invoke();
    How can we execute this kind of command using c#?
    Thanks,

    Hi prakashlight,
    Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
    Executing PowerShell scripts from C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hi I replaced my hard drive on macbook and I want to install mac osx10.5 with the CD that came with the macbook. When I run the CD after a while I get the page showing language options for 2 second then a gray screen appears and nothing happens

    Hi I replaced my hard drive on macbook and I want to install mac osx10.5 with the CD that came with the macbook. When I run the CD after a while I get the page showing language options for 2 second then a gray screen appears and nothing happens. I partitioned my hard drive and I tried installing Microsoft windows and that worked just fine.  But I do not understand why it wont install mac os x 10.5?????  PLEASE HELP ME.  Thanks  Hamid

    Try a new post in the 10.5 Installation forum.
    DALE

  • My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    Clucktastic wrote:
    How do I get back photos and videos in recovery mode?
    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

Maybe you are looking for

  • JavaScript and CSS info in WPC

    Hi all, Is it possible to keep CSS (Stylesheet) and Javascript information from older html web pages and bring them into Web Page Composer? We have some older intranet web pages which we now want to display in the portal without ofcourse using URL iV

  • Serious video/audio/screen sharing problems

    Ok, I have been researching this forum and all over google for about a week, and I can't figure this out! I can't connect for AV chat or screen sharing. My friend is in Ohio, I am in NJ. We can both connect to the apple tester screen names. She can c

  • No transactions transferred to GL

    Sample transactions has been processed in Oracle Inventory through an OPM organization with standard cost for items. After closing inventory period, running cost rollup, running cost update, and test subledger update, no transactions transferred to G

  • Null pointer exception occured in jdbc application

    Hi all, I am trying to test a sample application in JDBC. While running it in eclipse IDE I am getting the below result. CourseId:25 CourseName: SQL CourseId:54 CourseName: XML CourseId:61 CourseName: HTML java.lang.NullPointerException The code i am

  • Tips on having an image behind a window

    hi all, I'm making a room and on the far wall there is a window. through the window i want an image to show outside. I'm having trouble getting the distances right so that when i pan the camera around, the image through the window moves with respect