How to validate a field in Asset master?

Hi,
I have requirement like need to validate field ANLA-TYPBZ,
Data uniquely passing to this field, i need to check whether data already exist or not while creating asset master using AS01 transaction.
eg: suppose ANLA-TYPBZ = 12345' entry is there in the table, if i tried to post the data using AS01 as '12345', it should give error message.
Thanks.

hi,
Follow the below steps:
1. create a validation in GGB0 at node Assets - > Master Data
2. create a routine in program where these validations were written. It is a copy from RGGBR000
3. activate validation: append a record in transaction OACV
http://wiki.sdn.sap.com/wiki/display/ERPFI/Validations
Regards
Alok
Edited by: alpatr on Nov 21, 2011 8:12 AM

Similar Messages

  • How to add new fields in asset master data

    Hello,
    i was wonder if anyone knows how to add new fields that arent defined in the asset master data.
    Thanks.
    Pedro

    Hi Pedro,
    SAP allows entering upto 8 fields on the asset master. These fields are called 'Evaluation group'. Out of 8, 4 are four character long and others are 8 character long.
    You can configure them @ the following 3 nodes in IMG:
    Financial Accounting>Asset Accounting>Master Data-->User Fields: Define 4-Character Evaluation Groups & Define 8-Character Evaluation Groups & Change Key Words in the Evaluation Groups.
    Regards,
    Vishal Thakur

  • How to display field Functional Location Field in Asset Master Data

    Dear Experts,
    I really appreciate for your advices on how to display Functional Location Field in Asset Master data.
    I have checked the configuration on path IMG:\Financial Accounting->Asset Accounting->Master Data->Screen Layout->Define Screen Layout for Master Data
    I have chosen the screen layout and review all Logical Field Groups. And there's no field "Functional Location" is available. I also didn't find "Add New" button to add "Functional Location" field.
    Thank you
    Best regards,
    Frans

    Dear Frans,
    I am sorry this is not possible.
    Note 140482:
    The field was created as a precaution. However, it is not being used at 
    present and consequently is not supplied.                               
    In particular, you cannot use the field as a criterion for a selection  
    in Asset Accounting reporting. This is still true even if this field has
    been included in the selection view delivered for the dynamic selections
    by modification.                                                        
    regards Bernhard

  • Enabling of the Business Area field in Asset Master Record

    Hello SAP Gurus,
    Can you explain how I can enable Business Area field in Asset Master Record becz it needs be change.How I can acheive this becz it is coming in disabled mode.

    Once u ticked the check box save it.Now u can change these field in main asset master record and if u have ticked Su no also then in sub asset master record also.Make sure filed status is optional.
    Now u go to AS02 if u want to change the filed for main asset or sub asset
    Please assign points

  • Adding Investment Order Field in Asset Master

    Hi,
    I went to the following path:
    Spro --> Financial Accounting --> Asset Accounting -->Master data --> Define Screen layout for master data
    In all the logical field groups, I cannot find field 08 - Investment Order which I want to set to optional.
    Anybody knows how I can add the field?
    All the fields 01 - 07 and 09 to 19 are in the list.  I wonder why 08 is missing. 
    Do I need to activate it somehow?
    Thanks.

    Hi Newbird,
    Note: You are no longer NEWBIRD, since from 2006 you are here....:)
    To have Investment Order field in Asset master, first you need to activate it thru below path.
    IMG->FA->AA-> Integration with GL->Additional Account Assignment Objects->Activate Accoount Assignment Object...
    Here you need to activate INVESTMENT ORDER field to enable the inputs in asset master. Without doing this you will not be able to find the field in the screen layout definition for asset master data.
    Regards,
    Srinu

  • Custom Field in Asset Master Data

    Dear Experts,
    I want to ask about a problem I'm having when adding a new field in Asset Master Data ( AS01 & AS02 ).
    I'm adding new field on the Time-dependent Tab. I already create the exit & the new custom field, and with the help of the functional registered the new field.
    I'm using a new installed SAP GUI 7.3 .
    The problem is that the new field doesn't appear when I access the tcode unless I click on the new field location.
    The problem seem doesn't appear in SAP GUI 7.1 & 7.2.
    Is there any setting that need to be done or this is the problem with the SAP GUI 7.3
    Thank you.

    Hi Karim
    You can go through the steps below to customize the field u2018Planned. retirement onu2019
    1, AS02 -> Menu: Environment -> screen layout -> Master data -> select layout and double click on Logic field group -> Select Logic field group 2 u2018Posting informationu2019 and double click on field group rules -> Change field group 13 to u2018Suppressed entry fieldu2019.
    Alternatively
    2, Use AO21 to customize the field as above.
    Note: field u2018Planned. retirement onu2019 in asset master is connected to the function u2018Simulate up to planned retirement dateu2019 in asset reports. After field u2018Planned. retirement onu2019 of asset master data is deactivated, the function u2018Simulate up to planned retirement dateu2019 in asset report will be disabled.
    Hope itu2019s helpful
    George

  • Best practice for "Quantity" field in Asset Master

    Hi
    I want to know what is the best practice for "Quantity field" in asset master. It should be made displayed only or required field in Asset Master creation.
    Initially I made this field as required entry. So user entered 1 quantity. At the time of posting F-90, he again entered quantity. So my quantity in asset master got increased. Hence i decided to make that field display only in asset master creation.
    Now i made that field as display only in asset master creation. At the time of posting F-90, that quantity field is not coming only. I check my field status group for posting key as well as GL account. Its optional field. Inspite of that user is able to make entry in F-90. Now quantity field is '0' only in asset master even though there is some value in asset.
    Please help what is the best practice wrt quantity field. Should be open in asset master or it should be display only.

    Hi:
               SAP Standard does not recommend you to update quantity field in asset master data.  Just leave the Qty Field Blank , just mention the Unit of Measure as EA. While you post acquisition through F-90 or MIGO this field will get updated in Asset master data automatically. Hope this will help you.
    Regards

  • Addition of field in asset master record

    Dear All:
                  I want add a field IN HOUSE PRODUCTION in asset master data creation, Moreover i want to add a field of Iniatiator in Asset master data. Please guide where should i go in SPRO. Waiting for your reply.
    Regards
                  Atif

    You can use for this the User Fields in the asset masterdata
    Financial Accounting / Asset Accounting / Master Data / User Fields
        Define 4-Character Evaluation Groups
        Define 8-Character Evaluation Groups
        Change Key Words in the Evaluation Groups
        Develop Enhancement for User Fields in Asset Master Record

  • How to validate the field when i am populating the data cursor to block

    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.

    902434 wrote:
    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.If you want to validate at entry level then use When-Validate-Item trigger and check the input and show message. Like
    If :quentity <0 then
    message('do not enter negative value');
    message('do not enter negative value');
    raise form_trigger_failure;
    end if;Why u open same thread again ? not closing one.. check this one
    </a>
    How to validate the field when i am populating the data cursor to block
    Hopes this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • How to validate input fields as the user is filling up a form with jQuery?

    Hello EA friends.
    Someone has experimented on how to validate input fields as the user is filling up a form with jQuery?, if the field is numeric and insert an A for example, an alert appears showing "insert a number" or not allowed to enter anything until a number is entered.
    Thanks and regards.
    Fer

    Hi Sudeshna.
    Sorry for not responding on time, how can I be included in this code?
    sym.setVariable("typeActivity", "input")
    var Element_1=document.createElement(typeActivity);
    $(Element_1).css({"text-align": "center"});
    //Answer
    sym.setVariable("Answer_1", "4");
    sym.$("box_1").append(Element_1)
    This code is on my creationComplete and it works fine.
    Would greatly appreciate your help.
    Regards.
    Fer García

  • How to validate the fields  and how to display the error messagein presenta

    Hi,
    I am new to OBPM 10g, pls tell me how to validate the fields in a presentation.
    for example if we take login presentation if user enters his user name and password wrongle and submit the form. Then we need to display error message right side of the each field i.e user name and passowrd is wrong and try again.
    Regards
    jaya
    Edited by: 12345 on Aug 12, 2010 10:38 PM

    Hi Jaya,
    You can initially set the validation for empty values.. that is when the user dint enters any value and clicks on submit.
    for these vadliations you need to write a method and call it on submit button click!!
    secondly, you can validate for the format if required.
    thirdly, you can validate against a database for the credentials. For this you need to fetch list of usernames from database and search for user entered value in that list.
    Optimal query would be : if user name not null, query for pwd of the entered user name from database or file storage. if you dont get any value for pwd of given username, its incorrect user name. if you get some pwd value for username, then check against the one user entered in pwd field..
    Write all this logic in a method and call on submit button click event of the login form!!
    HTH
    Sharma

  • How to validate ch field in selection screen

    hi experts.......
    how to validate ch field selection screen......... and which function module is used to validate parameter field i.e character

    Hello,
                Is your requirement to Validate the Character Field? This is what I understand. If it is right, then do you want to Validate whether a Character Value is entered?
                Check the below Sample Code.
    At Selection-Screen on P_CHARFIELD.
        IF P_CHARFIELD CA '1234567890'.
            Message 'Enter an Alpha Character only' Type 'E'.
        Endif.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • How to make Location as mandatory field  in Asset Master

    Hi All,
    My client wants Location field to be mandatory in the Asset master. I ddefined it in
    Enterprise Structure>Definition>Logistic-general > Define Location.
    Also i made this field mandatory in 'Define Screen Layout for Asset Master Data'>Time-dependent data...in configuration.
    But when i go to create New Asset and when i select Location which i defined earlier , i am getting this error " Entry -
    does not exist in T499S (check entry)
    Though i have defined this location in Ent. Struct.
    Need your help
    Regards,
    PM

    Hi Pyare
    I think note 109602 could be relevant to this problem. 
    Perhaps you attempt to enter a location without first entering a a
    plant. (A location will not be accepted unless you have first
    specified the plant.)
    Regards
    Javier

  • WBS Field in Asset Master Record

    Hi All,
    Currently we are working in 4.6 C version.
    The requirement of the client is they want the Field WBS to be populated in asset Master Record under the origin Tab or Time Dependent.
    The standard functionality is available in ECC6
    Could some body help us in knowing how to achieve this in 4.6c, do we the SAP standard Solution or do we need to go for some enhancements.
    Regards,
    Nitin

    Hi
    @ Satish - Seems you have copied the reply from one of my earlier posts which is related to a different issue
    @ Nitin: Go to Screen layouts (IMG > AA > Master data > Screen layout)
    Here, you need to allow WBS Element in your screen layout... Also, if you cant see WBS there, Allow to use WBS element in the IMG Step AA > Integration with GL > Define Additional account assignment objects...
    I never worked on 4.6, but I guess WBS must be allowed for usage
    br, Ajay M

  • How to use WBS element in Asset master data upload

    Dear All
    Does any body know how to treat field WBS element in Asset master during upload.
    Field POSNR in table ANLA is of 8 characters, but WBS element which is entered in asst master is more than 8 char.
    I vaguely remember tht with wbs system internally assign a different number.
    Has anybody come across this issue?
    Please help
    Thanks
    Sanjeev

    There are in the asset 2 fields for PS
    One is filled when you do an settlement from an WBS (is not possible to fill in)
    The other one you found in the the tab time dependend like cost center.
    This field is available when you have assign the possibilety to do depreciation to an WBS.
    Paul

Maybe you are looking for