T.code AS91: takingover the values of "Accm.ord.deprec." ...

Hi All,
creating an asset by AS91, choosing the button "takeover values:
- when I fill in the amount of the "***.acquis.val." for the 01 depreciation area (field ANBTR01),
SAP repetes it for the other areas (fields ANBTR02 and ANBTR03) ;
- instead, when I fill in the amount of the "Accm.ord.deprec." for the 01 depreciation area this fiiling isn't repeated for the others depreciation areas.
Is there a way to obtain the repetition of the amounts for the "Accm.ord.deprec." too?
Thanks
Gandalf

Check you configuration. You describe the rule for takeover of APC and Depreciation values in Asset accounting configuration.
IMG path: Asset Accounting>Valuation>Depreciation Areas-->Specify Transfer of APC Values & Specify Transfer of Depreciation Terms
It seems there are rules for the APC values, but not for the Depreciation terms.
Try this setting out. It might work, although I am not sure whether the system will do that during the Legacy upload transaction.
Regards,
Vishal.

Similar Messages

  • How to output some JSF codes depend on the value of a managed bean

    like this:
    <?
    if (managedbean.propertyA == "1"){
    ?>
    <h:commandButton action="#{managedbean.update}" value="update"/>
    <?
    }else {
    ?>
    <h:commandButton action="#{managedbean.delete}" value="delete"/>
    <?
    ?>
    I know how to get the instance of a managed bean from jsp,
    but i think It is not a good idea that writing scriptlets to get the instance, then writing code like above .
    Is there a simple/reasonable way to implement this?
    Thanks.
    David

    Try this:
    <h:commandButton action="#{managedbean.update}" value="update" rendered="#{managedbean.propertyA == \"1\"}"/>
    <h:commandButton action="#{managedbean.delete}" value="delete" rendered="#{managedbean.propertyA != \"1\"}"/>

  • TakingOver the amounts in AS91

    Hi All,
    creating an asset by AS91, choosing the "takeover values:
    - when I fill in the amount of the "***.acquis.val." for the 01 depreciation area (field ANBTR01),
    SAP repetes it for the other depreciation areas (fields ANBTR02 and ANBTR03) ;
    - instead, when I fill in the amount of the "Accm.ord.deprec." for the 01 depreciation area this fiiling isn't repeated for the others depreciation areas.
    Is there a way to obtain the repetition of the amounts for the "Accm.ord.deprec." too?
    Thanks
    Gandalf

    The reason for this is that, the APC value in all the areas are ususlly same but depreciation will be different because each area has its own depreciation terms(keys). If you want depreciation to be same in other areas, do the setting in transaction OABD. Choose the area you want the depreciation to copy from and tick the identical check mark.

  • Get the values that an user write in textbox with typed_context

    Thanks for your time
    I want to verificate, the values (product configuration) that an user have introduced,
    I have written this code to get the values and verificate this.
      DATA:
          lr_info   TYPE REF TO cl_crm_bol_entity.
      lr_info ?= ME->typed_context->ISUORDERITEM->collection_wrapper->get_current( ).
    lr_info has an atritbute  T_EXTENSION_FIELDS, this is a table with the values of the product configuration, but I don't know how I can access to this values.
    Could you help me, please??
    Or other option to get the values to verificate this ??
    Thanks

    When I get the solution, I will post here, thanks
    Edited by: Javier Garcia on Oct 20, 2008 3:44 PM

  • Retreive the values from a user Input Popup before planning layout

    Hi all,
    The user run a planning layout and is coming the popup where he can choose :
    Cost Center
    Currency .
    Is there any function module between executing the popup and showing the layout.
    I have to create a function module to check the entries of the users.
    Regards

    Frank,
    There are multiple ways to ensure that the values entered by the users are valid. A few of them are:
    1. Restrict values for users with in SEM planning area.
    2. Write custom code to restrict values in dropdown list.
    3. Another  way of doing it is by using two sets of variables. One for input by users and the other for passing the values in the planning level. The user would enter a value, the code for passing the value to the planning level, would check the data entered and then either pop up an error message or refresh the layout with the data.
    As mentioned, the approach would depend on the specfic need and the design of the planning application.
    Sunil

  • How to get the values of the fields inside pageFragment

    Hi All,
    I am working on Jdeveloper 11.1.1.5.
    I have a fragment "home.jsff", in that fragment i have two textboxes(txt1,txt2);
    Then i have created a bounded taskflow "myTF"and dragged the home.jsff inside it and used as a default activity.
    Now finally i have "final.jspx" , in which i have dragged and dropped the bounded taskflow "myTF" as a region.
    Scenario : - I have a button on final.jspx , and on click of that button i need to get the value of those two textboxes using bindings which is present in fragment .
    On Click of button,I am using this method of pageDef and i am able to get the values :-
    jsfUtils.resolveExpression("#{data.abc_homePageDef.txt1.inputValue}");
    but somehow it gives me null in some conditions.I don't know why it sometimes gives the value and why it doesn't.
    I have seen this video in which Frank has told about the API Mistakes : -
    http://download.oracle.com/otn_hosted_doc/classic_api_mistakes_part1/classic_api_mistakes_part1.html
    and i did the same mistake but what is the another approach .
    If i need to get the current value of txt1, then how can i get it??
    What is the best approach to get the values of the pageFragment attributes and how to use it ?
    Please suggest!!!
    Regards,
    Shah

    Hi Tulasi,
    As i have said that i am trying to get the values on the click of button(*not on page load*) situated on final.jspx page.
    On click of button i am using this code to get the values :-
    public String getValueTextBox()
    Object valueTXT= getBoundAttributeValue("txt1");
    logger.info("value is"+ valueTXT); *// It shows the value as null.*
    return null;
    public Object getBoundAttributeValue( String attributeName) {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindingContainer = bctx.findBindingContainer("abc_homePageDef");
    if (bindingContainer != null) {
    ControlBinding ctrlBinding = bindingContainer.getControlBinding(attributeName);
    if (ctrlBinding instanceof AttributeBinding) {
    return (AttributeBinding)ctrlBinding;
    return null;
    Please suggest!!!
    Regards,
    Shah

  • Getting the value from a Drop Down Box

    I'm working on a database project to keep track of our Blackberrys. The problem I'm having is entering the values for two drop down boxes. The page I'm working on enters the FirstName, LastName, Department, and Location. Department and Location have thier own Primary Keys and are foreign keys in the Person table. Departments and Locations are aligned by numbers like 1 = Ohio, 2 = Chicago. They
    don't automatically increase. The problem I'm having is entering them as a foreign key in the Person Table. I'm not sure if I use a getValue or getSelected or some other code to get the values to populate in the Person Table. I just keep getting a can't add department or location to table.
    public String newUser_action() {
    // TODO: Process the button click action. Return value is a navigation
    // case name where null will return to the same page.
    if (personDataProvider.canAppendRow()) {
    try {
    RowKey rowKey =
    personDataProvider.appendRow();
    personDataProvider.setValue(
    "DBO.PERSON.FIRSTNAME", rowKey,
    firstName.getText());
    personDataProvider.setValue(
    "DBO.PERSON.LASTNAME", rowKey,
    lastName.getText());
    personDataProvider.setValue(
    "DBO.PERSON.DEPTID", rowKey,
    department.getSelected());
    personDataProvider.setValue(
    "DBO.PERSON.LOCATIONID", rowKey,
    location.getSelected());
    personDataProvider.setValue(
    "DBO.PERSON.BEGINDATE", rowKey,
    newDate.getText());
    //personDataProvider.setValue(
    "DBO.PERSONDEVICE.AQUIREDATE", rowKey,
    newDate.getText());
    personDataProvider.commitChanges();
    info("New User " + newUser.getText() +
    " added to USER table");
    newUser.setText(null);
    } catch (Exception e) {
    log("Cannot add new User ", e);
    error("Cannot add new User: " +
    e.getMessage());
    } else {
    log("Cannot append new User");
    error("Cannot append new User");
    return null;
    }

    Sun's databound components tutorial may prove helpful to you.

  • How to get the value for the LIT_Withheld field in the city tax form?

    I am trying to get the value for the LIT_Withheld field on the city tax form , PAYUSEET.. This is not a database column but is generated based on some conditions.. Appreciate the help. Thanks, Suguna

    Hi Abhmanyu,
    Thanks for your response.
    Search Help Name : ZZ_MG_MARITAL_VH
    Selection Method  : T502T
    Search help parameters are SPRSL, FAMST, FTEXT,
    Can u provide me a sample code to fetch the value of corresponding text.
    Thanks,
    Hari

  • How to set the value in the xml node.

    Hi
    I am having the application PDF which can be submitted by user using the button. while submitting 
    i am using below code to set the value in the xml node.
       xfa.data.assignnode("employee.id","123",0):
    So its generating the xml like below.
    <employee>.
    <id>123</id>.
    </name>
    </employee>
    Now i need to generate the xml like  below.
    <employee id= "123" >
      </Name>
    </employee>
    So how to set/create the id node like above?
    Advance Thanks.
    Regards,
    Dhiyane

    Hi Dhiyane,
    You will have to set the contains property if the id node to "metaData", that is;
    xfa.data.assignNode("employee.id","123",0);
    xfa.data.employee.id.contains = "metaData";
    Very clumsy if you have a number of them, in which case you might want to look at using E4X.
    Good luck
    Bruce

  • Not able to display the values on the alv report.

    Hi all,
      loop at it_stpo.
        indx = sy-tabix.
        select single bdmng from resb into it_resb-bdmng
                        where matnr = it_stpo-idnrk
                        and xloek ne 'X'.
    it_stpo-bdmng = it_resb-bdmng.
    modify it_stpo index indx.
      endloop.
    in the above code, m fetchin the values of bdmng and populating it in the it_stpo.
    the values get populated in the internal table.
    But the problem is only the first value of all the entries gets populated.
    For ex:
    it_stpo-idnrk = C0201AA0800N ** under this components der r three entries***
    i want to display all three values of these entries.
    1.A0201AD6750N                          990
    2.A0201AJ0960N                           1,578
    3.A0201AJ1140N                           2,996
    but the value 990 gets repeated thrice for the above three entries. n the value 1598 n 2996 is not gettin displayed.
    lll, for all other entries. only the first entry value gets displayed for their respective components.
    suggest modification in my code so dat i cn display all the values.
    thanks in advance.
    regards,
    purva.

    Hi all,
      select bdmng from resb into corresponding fields of table it_stpo2
                for all entries in it_stpo
                 where matnr = it_stpo-idnrk
                 and xloek ne 'X'.
      loop at it_stpo2.
        move-corresponding it_stpo2 to it_stpo.
        append it_stpo.
      endloop.
    In the above code, m able to fetch the records in the table it_stpo2. but the data is not gettin populated in the final internal table it_stpo. Both the internal tables it_stpo & it_stpo2 are same.
    The data is gettin moved from it_stpo2 to it_stpo but only upto the header level. its not gettin appended in the table it_stpo even after using append stmt.
    Plz help me to resolve this issue. its urgent.
    Rgds,
    Purva

  • Changing the value of the SOAPElement in the SOAP message

    Now another problem I encountered was of overwriting a value in the SOAP message by my value. SOAPElement interface which extends Node interface provides me the method getValue() to get the value of the node but doesnt give me any method to set any other value instead of this.
    <token xsi:type="xsd:string">token123</token>
    I want to replace the value "token123" with my value.
    Is there no provision for altering a value in the SOAP message? Is this due to security contraints?
    If yes then can we detach the same node and add a similar node with the new value. I wanted to try the same using addChildElements() method but then the problem here is how do I create a new SOAPElement in the handler as its an interface and not a class. Why I want to add a similar node is because I am having the definition of this object in the WSDL file, so if I attach the node corresponding to the parameter of the object then I would get the object populated with this value at J2EE or .net layer.
    Also I thought of adding an attribute to the same node but then since this attribute will not be defined in the WSDL, the value of this attribute will not populate the java object at the J2EE layer. Hence attribute introduction also didnt help.
    This is the userData object in the soap body:
    </q1:FetchDetailsInput><q2:UserData xmlns:q2="java:com.anthem.enb.common.data" xsi:type="q2:UserData" id="id2">
    <password xsi:type="xsd:string">12345</password>
    <token xsi:type="xsd:string">token123</token>
    <userID xsi:type="xsd:string">vikas123</userID>
    </q2:UserData>
    This is my code to extract the values from the above message:
    Iterator i = ctx.getMessage().getSOAPPart().getEnvelope().getBody().getChildElements();
    System.out.println(" i.hasNext() =" + i.hasNext());
    while (i.hasNext())
    Object obj = i.next();
    System.out.println(" obj :" + obj.getClass());
    if (obj instanceof SOAPElement)
    SOAPElement e = (SOAPElement) obj;
    System.out.println("e :" + e);
    String operationName = e.getElementName().getLocalName();
    LOG.info(CLASS_NAME + "operationName :" + operationName);
    if (operationName.equals("UserData"))
    Iterator j = e.getChildElements();
    LOG.info(CLASS_NAME + " j.hasNext() : " + j.hasNext());
    while (j.hasNext())
    Object obj2 = j.next();
    LOG.info(CLASS_NAME + " obj2 :" + obj2);
    LOG.info(CLASS_NAME + " obj2 :" + obj2.getClass());
    if (obj2 instanceof SOAPElement)
    SOAPElement eGrandChild = (SOAPElement) obj2;
    String operationName2 =
    eGrandChild.getElementName().getLocalName();
    if (operationName2.equals("userID"))
    String strPass = eGrandChild.getValue();
    LOG.info(CLASS_NAME + " strPass:" + strPass);
    else if (operationName2.equals("password"))
    String strUserID = eGrandChild.getValue();
    LOG.info(CLASS_NAME + " strUserID:" + strUserID);
    else if (operationName2.equals("token"))
    String strToken = eGrandChild.getValue();
    Please help.

    how do I create a new SOAPElement in the handler as its an interface and not a class?Here is an example:
    <example>
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage m = messageFactory.createMessage();
    SOAPEnvelope env = m.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    SOAPElement fResponse =
    body.addBodyElement(env.createName("fResponse"));
    fResponse.addAttribute(env.createName("encodingStyle"),
    "http://schemas.xmlsoap.org/soap/encoding/");
    SOAPElement result =
    fResponse.addChildElement(env.createName("result"));
    result.addTextNode("test");
    ctx.setMessage(m);
    </example>
    Jong

  • Hardcode the values in the table

    Hiii
    Iam developing a web dynpro application.With out writing the code i can able to deploy and run the application.In that i want to hardcode values in the table for demo purpose.how i can get those values.
    Is there any property in web dynpro to do that,,,,,,,, or else,,,,,,,,, we have to write the code in the application.
    If thats the case,,,,Please provide the code to get the values in the table.
    Regards
    Sushma

    Hi
    For different data,,,,,in what way i have to do.
    Like this your saying
    IPrivateEtrecEmpView.IEmployeeElement element4 = wdContext.nodeEmployee().createEmployeeElement();
                   element4.setDesignation("Software Engineer");
                   element4.setDepartment("Basis");
                   element4.setEmailID("");
                                  element4.setEmpCode("0011579");
                                  element4.setEmpName("");
                                  element4.setMobileNo("");
                                  element4.setSlno("4");
                                  element4.setLocation("Bangalore");
                        wdContext.nodeEmployee().addElement(element4);
         IPrivateEtrecEmpView.IEmployeeElement element3 = wdContext.nodeEmployee().createEmployeeElement();
                             element3.setDesignation("Software Engineer");
                             lement3.setDepartment("Web dynpro");
                             element3.setEmailID("");
                             element3.setEmpCode("0011579");
                             element3.setEmpName("");
                             element3.setMobileNo("");
                                  element3.setSlno("4");
                                  element3.setLocation("Bangalore");
                   wdContext.nodeEmployee().addElement(element3);

  • Cascading LOV does not work when setting the value of the parent LOV with DA

    Hello All,
    Using APEX 4.2.2.
    I have tow LOVs
    Parent LOV item is: P50_TYPE
    Child LOV item is :  P50_PROJECT_ID
    In other words in the attributes of the item P50_PROJECT_ID we have :
    > Cascading LOV Parent Item(s): P50_TYPE
    > Page Items to Submit: P50_TYPE
    > List of values definition: something similar to:
    Select * from mytable where type = :P50_TYPE
    I use DA that execute JS code to set the value of the P50_TYPE item
    something similar to:
    > $('#P50_TYPE').val(2);
    Having done this, the P50_PROJECT_ID item does not get refreshed, when the value of P50_TYPE is changed. Namely, P50_PROJECT_ID remains empty, unless end user manually changes the value of P50_TYPE.
    Any help please ?
    Regards,

    Thanks Scott,
    By the way, I remember reading a thread posted by you about  Sumneva Drag & Drop Report Region plugin that was answered by Tom . But, I cannot find this plugin anywhere. Does not it supported in APEX 4.2 ? Is there any alternative out there ?
    If you use it, and it works find with you, can you please send it to me on [email protected] ?
    Regards,
    Fateh

  • Change the Status depending on the value selected in Sales stage

    I want to change the status in opportunity, depending upon what is entered in sales stage.
    I tried to find an appropriate BADI for the same purpose, but couldn't figure out any.
    I was thinking of changing the method do_prepare_output and including the code to get the value of sales stage and set the status. Is this feasible?

    Alternatively, you can enhance the SET method of the sales status and add the logic for status update as well.
    Regards, Kathirvel

  • How to find the value of STO

    hi SAP gurus,
    pls help me out.
    is there any T-code to find the values of STO made.

    Hi Gaurav
    PLease use the Tcode ME81
    Regards
    Aasif

Maybe you are looking for

  • Multiple Flows of Same Name in One File

    (FM11 on Win7) The Compare Documents utility reports that the same file has multiple flows of the same name, and so does not compare the files. Doh! The report from the utility seems accurate. I see two end-of-flow markers in the file, one on the sec

  • Hyperlinks do not function properly in Internet Explorer

    I'm having a problem exporting HTML from Muse to a SharePoint folder. I export the Muse files successfully to a SharePoint folder and then can view the Index file or any of hte created HTML pages. My problem is when using Internet Explorer (IE8) spec

  • Binding fault in SOA composite

    Hi all, we are having trouble with a soa composite wich has 1 web service and 3 jca db adapters. After deployment, only the first time the web service is consumed all is ok and the ws client receive the response (some data from db), but starting from

  • Sending and recieving photos

    Does anyone know how I get the capability to send and recieve photos using the IPhone, I have the 8GB and it is far from full?

  • Photo access by apps

    Photo apps, like Art Camera, used to be able to access photo albums on my phone but can't now.  If I go to Privacy/Photos, it doesn't give me the option to allow these programs access.