Prod No validation at the field level attribute

Hi,
I have a qualifying table, whose field refers to one of the product number in main table. It means, I can have a product number linked to another product number defined in the main table. Hence, I have defined the text field in the qualifying table to capture this related product number.
Now, how do I validate, if the product number entered is valid within Data Manager. Basically, it needs to validate if the product number specified is present in the main table.
Please let me know, if any suggestions to define such validations on a free-form text field.
Thanks,
Surendra

Hi Surendra,
Make the prdt no as a unique field.If when ur gng to add any new record with the prdt no already in the main table then it will pop -up a message that record already present.
I think this may solve the issue (acc to my understanding)
If problem persists kindly explain the scenario in simple manner.
Hope this amy help u.
Rgds
Ankit

Similar Messages

  • Do validations in the page level

    Hi ,
    I want to do validate the EMAIL field in my page as unique, for that i want to do validate in the entity level or what i want do?
    i tried validations in the entity level but it is not working, how to do this .
    Thanks In Advance,
    SAN

    Sundaravaradhan,
    One more thing please make sure that you close all your threads which are resolved with the resolution.
    fnd top and java top in R12
    Error page while running sample page in OAF
    and many more
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Infotypes at the field level

    Hi
    Can anyone provide me the detail description on the following infotypes at the field level, as in , which all fields are present in these infotypes in SAP standard :
    1. 0006 (Addresses) - Subtype Permanent residence
                                    Subtype Temporary residence
    2. 0022 (Education)
    3. 0024 (Qualification)

    Hi Reema,
          You simple goto the TCODE <b>SE 11</b>  and give the table names as <b>PA0006</b> for Address, PA0022 for Education and PA0024 for Qualification.
    simple look the fields under this .INCLUDE     PS0006 (Structure) for Address ..,
    for each and every field SAP has provided the Description. you will get the required information.
    Regards,
    Narendra.

  • Data validation at the UI level

    Hi
    I have a requirement like i need to validate the input data at the UI level.
    If the data is valid ,only then it should be allowed to be saved.
    If someone knows how to do the same.
    I have seen a method DO_VALIDATE_INPUT method in View controller (IMPL) class.No clue on how it is being used.
    Regards
    Leon

    Hi Leon,
    Are you talking about the Webclient as UI or something else??
    There are 2 options:
    1) You use the Get and Set methods of your context node attributes (The ...CN01 etc classes) (to be found under your IMPL class --> attributes TYPED_CONTEXT(...CTXT class) and in there you should have some ...CN01, CN02, etc. classes. Here are all the GET and SET methods. (you could also go via the views' attributes, this is the shortest way).
    Within the Get (put the value in the model) and Set (get the value from the model)methods you could do some checks and show an error.
    2) Use the Do_handle_data method of your IMPL class. Once data is entered in the screen, this method is always called when another action is performed (pressing a button). Here you can easily check the content of fields.
    3) Use the Do_handle_event method of your IMPL class. This method is called when there is an event that is being triggered (save button is pressed). You can redefine this method and before really saving the data you can perform your checks.
    Hope this helps.
    Kind regards,
    Micha

  • Validation at the network level

    Hi Experts,
             I am doing the validation for the network at the header level for the resposible cost center field.
    I am giving Prerequiest as
    Req.cost center = 'X'
    Check as
    i am not entering anything in the check condition
    Message
    I am entering the message & message type is error.
    initiation of this validation is i want to check that any value is entered in the Req.cost center field. (Making this field as a manditory).
    But after doing that it is not checking in my cj20n transaction.
    can anybody suggest me wht is the problem.
    Thanks & regards
    Raman T S

    Hi,
    In validations 'X' doesn't mean alphanumeric, it means alphabet X only. That's why system is not giving you any message.
    You need to put validation check as Resp. Cost Center <> ' '
    which means it shouldn't be blank.
    Regards,
    Harsh.

  • How to fix the field level Error(Invalid Date)

    Hi All,
    Error: 1 (Field level error)
      SegmentID: ACK
      Position in TS: 5
      Data Element ID: ACK05
      Position in Segment: 5
      Data Value: 162014
      8: Invalid Date
    can anyone help me out, How to fix above error? i searched about this but only information about the error  is given and no where it is mentioned how to fix it  and how is it generated please help me out.
    Thanks,
    Nitish

    Are you sending or receiving the EDI?
    Either way, "162014" is simply not a valid EDI data format.  Dates in x12 are expressed as CCYYMMDD so December 30, 2013 would appear as 20131230.
    If you are receiving, you need to contact the sender and have them correct the output.
    If you are sending, you need to property format that date value.  For example:
    myDateVar.ToString("yyyyMMdd");

  • Set up or flag the field of attribute as mandatory or optional

    Hi,
    I’d like to know if it’s possible to either set up or flag the attribute fields as either mandatory or optional. Is it possible with Java API?
    Thanks a lot.

    Hi Thomas,
    You have setting in the Console called Required that you can flag YES or NO to indicate whether the field is required or not.  However, this option setting does not actually enforce anything as of now.  In future releases of 2006, there is a proposal to enforce this.
    For now, the way I worked around is:
    1. I flag the field required YES in the console if I do NOT want NULL values in the field. (for the sake of setting).
    2. Then, in data manager I write validation expression using IS_NOT_NULL function on those fields so that manual entry does not allow NULL values.  It throws an error.
    3. Import Manager however cannot retrieve the validation expressions.  So, you can load null values in a field that has the expression written.  You will identify these if you manually run validation after the loads.
    4. <b>JAVA API</b> lets you enforce this when you are using API programs to post the data.  You can write such that if the consoel is set to YES, then do not let NULL values to post.
    I have some information around requried in fields in my blog:
    /people/savitri.sharma/blog/2005/09/22/tips-and-hints-for-new-mdm-users
    Is this helpful?
    Good luck
    Savi

  • How to create validation on the field in WEBUI ?

    Hi all,
    Can somebody inlight me with the following question?
    Is it possible in IC WebUI when New Customer is being created through IC center to put validation on some field for Example if customer with the Last Name, First Name, email exists already in the system to notify user about it and to not allow create duplicate. If it possible how to do it using adviseable by SAP ways?
    Thank you,
    Maria.

    Hi Maria,
    it is possible by implementing a BAdI. See the following discussion for more details: Execution of duplicate check.
    The SAP help also has some information on this:
    Duplicate Check for Accounts and Contacts - Business Partners - SAP Library
    Duplicate Check - Business Address Services (BC-SRV-ADR) - SAP Library
    Hope this helps,
    Christian
    ps.: I the future please search before posting a question. All the links above where in the 10 google results when searching for "sap crm business pattern duplicate check"

  • TRANSPARENT TABLE REQUIRED for the field level no T CODE : MB56

    hi
    i m trying 2 get the transparent table name and field name for LEVEL NO field which is present in tcode MB56 (30F VERSION). I am getting the details in technical info 1. structure is AM07M & field name is CUSTFE. can any guide how 2 get transparent table for the level no field.
    but as of release 4.7 the field name is EXPANSION LEVEL(TCODE MB56 ).
    here also i m not getting the transparent table corresponding to EXPANSION LEVEL field.
    it would be great help if i can get assistance in this issue.
    regards

    unanswered

  • How do I restrict access at the field level in vendor creation XK01

    Hello All,
    Does anyone know a way to restrict access to a certain group of fields or a screen in vendor create? I know it is possible in vendor change XK02 using the field groups (transactions OBAT and OBAU) but we have a requirement to have one group of users create all vendor information except the bank details and another group of users just to create the bank details.
    Thanks for any help you can offer.
    rgds,
    ian

    We have had a similar discussion some while back. please refer to the thread below as it seems to be much similar to your requirement.
    [click here|Hide or Encrypt Bank Account Number]

  • Where are the validations of the fields done in  BAPI_GOODSMVT_CREATE ?

    Hi ,
    I have to more or less simulate bapi_goodsmvt_create and perform the same validations as that in this bapi.....can anyone tell me exactly where the validations are done for the required data ...for example if my batch has crossed the sled date it populates the return table..i want to know where the checking for batch is done ........Please help.....

    Hi ,
    you can search the message class and message number from the returntab.
    Example:
    i am Getting the Retuntab with following details
    E M8                   374 Fill in mandatory field DOC_DATE (import parameter HEADERDATA)
    in this case Message Class in M8 and Message number is 373. So in your Bapi you can search with '374'
    So that i will display where ever it is being validated and how it has been validated. the return tab will fill with the following perform.
    PERFORM bapireturn_fill USING  'M8'          
                                    'E'           
                                    '374'         
                                    'ACC_1_TIME'  
                                    'ADDRESSDATA' 
                                    space         
                                    space         
                           CHANGING te_return.    
    Here you can see before this statement what are the validations done.
    Hope it will answer your question.
    Regards,
    Venkat

  • Records validation at the block level

    Block A
    multi record block
    Product code Unit No
    E3056             W039708002607
    E3056             W039708002721
    E3056             W039708002754
    Block B multi record block
    Product Code Unit No
    E3056               W029708002607
    E3056               W039708002971  -----------different than upper block data
    E3056               W039708002754
    Has to validate with the data in upper block A and say wrong data when compared. CHoose right data that is in
    block A How can I do it on item level of Block B?
    Thanks in advance.
    Anu

    So, you cannot simply loop over block B for it will clear block C on record-navigation (as C is the detail block).
    You have two options:
    1. Do the check against the database table block B is based on, something like:
    CURSOR cr IS
      SELECT COUNT(*)
        FROM THETABLE
      WHERE product_batch_id=:BLOCK_C.product_batch_id
        AND unit=:BLOCK_C.unit;
      nCount NUMBER;
    BEGIN
      IF :BLOCK_C.UNIT!=:BLOCK_B.UNIT THEN
        --maybe another unit matches
        OPEN cr;
        FETCH cr INTo nCount;
        CLOSE cr;
        IF nCount=0 THEN
          -- Error
        END IF;
      END IF;
    END;2. Fill a pl/sql-table with all the unit from block B, then loop over that pl/sql-table to validate (lot of work)

  • Restrict material master information at the field level

    We have a requirement to restrict change access to certain material master fields, meaning everyone may be able to view the data but not change it.  Beyond that, those people who are allowed to change the data can only change certain fields...other people can change other fields (on the same material master view).  For instance a simple example would be that someone might have access to change the material description on the basic view but not the material group.  Someone else might have access to change the material group but not the description.  (Again, this is just a scenario that I'm using as an example, not as a real live case.)
    Is it even possible to do this?  I'm guessing it's not but I thought I'd ask the "experts" here before I deliver the bad news to our users.
    Thanks!

    Thank you for the information but I was aware of using screen sequence and field selection however how can I use this to allow certain users access to certain fields but not others.
    For example in the Basic view I want one set of users for the same exact material to be able to change the Base of Unit Measure while the other user can only view this field but not change it however this user can change the other fields in the Basic view.  This sounds like a solution for all fields for a particular materials.  I need to be assign fields within a view to different users.

  • Show validation X besign fields if validation at entity level failed

    Hi,
    We are doing all validation at the entity level by throwing sth like the following
    when a condition mandatory field is not filled in (i.e we override the validateEntity method).
    <pre>
    return new AttrSetValException(MetaObjectBase.TYP_ATTRIBUTE, OurMessageBundle.class, "27014", fieldName, fieldName, fieldValue);
    </pre>
    Everything is cool, as the validation message is showing up at the top. However, we need to put a X besides the field too when this failed, much like what you see when you use <af:convertDateTime tag...> .
    How to do this? Is it possible? We have defined our own error handle class and faces life cycle as doc by Oracle.
    I though by throwing AttrSetValException with fieldname="name" and my input text on jspx has id="name" will do the trick but it doesn't.
    Help is much appreciated.
    Mel

    See an example of custom-validation rule that can be applied to an entity/attribute.
    It's oracle.jbo.server.rules.JboGenericValidator and the source is in BC4J/src/bc4jaddinsrc.zip
    Also I've verified on JDev 903 Preview release that creating a new 'validationrule' in the project editor and applying it to 'entity' at entity level does work. validateValue() is called with 'entity' as the input Object.

  • Field level Validation in ADF

    Hi,
    We have some forms and we want to implement validation on field level. Means, as soon as i enter a value and move to next field, if the value entered is not as per desired regular expression than it should show the error. What i am trying is applying validator attribute on inputText and setting auto submit to true. It is working but some times page suddenly refresh itself and then the validation don't work.
    Also one validation is to match the passwords (new password and confirm password). If i am using above method i am also not able to get the correct value of new password to match eith confirm password.
    Can someone please suggest whats the right way to implement this functionality in ADF.
    I am using jDev 11.1.1.4 and using Placeholder data control.
    Please suggest
    Thanks

    If <af:validateRegExp> meets your requirements then sure, use it. The neat thing about the default validators will do both client side and server side validation. As such bypassing the JavaScript validators by sending raw HTTP requests to your server will still result in the required validation being applied via the server side.
    For cross field validation, that's most easily done at the JSF bean level. It will require a round trip to the server to perform the validation though (rather than just validated at the client level). Is that an issue? There's an alternative solution but if you're not worried about round trips, go with the simple solution.
    CM.

Maybe you are looking for

  • Delete flv from server

    How do I delete an flv file from a media server? I have an application in which registered users can store flv files. When a user is removed from the system, I want to remove their name from a database and all of their videos from the server. I've ta

  • How to delete unused entries in the FROM selectbox in mail.app

    Hi, In the FROM selectbox in mail.app I find entries, that are not in the accoutlist and that are not in the list of the smtp accounts. How can I get rid of them Tnx Micho

  • Sync boss rc50 to Logic (tempo)

    Hi, I've searched around with no luck so thought I would try here. I have a Boss RC50 looper and would like to sync it to Logic.  In Logic, I setup Midi Clock in the synchronization section and RC50 is set to receive midi.  I have a Motu Tiempiece an

  • Something funny in this proc

    Hi, I have a package here . when i try to compile i get the pop-up error "No CREATE OR REPLACE STATEMENT FOUND TO EXECUTE" But when I remove the column "acctlist.IF" ( in bold) from the select statement in the select a.* ...... query, the package com

  • Stops working when accessing hotmail account using outlook

    When I try to access my hotmail account using Outlook, I get a message that Nightly has stopped working. I don't have to take any action after logging into the account for this to happen and it happens every time. I can use yahoo mail with no problem