Record validations

hello, I am new to mdm i have learnt some mdm console and data manager. now i am feeling problem in writing expersions in record validation. I understand them well but dont know how to write this. can anybody give me example for this.
good luck..
Jyoti
Edited by: Jyoti Khanna on Mar 24, 2008 2:01 PM

Validation Expressions:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102dc4e5-07c9-2910-93b3-f49c8ed52509
Calculating Dates:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b025fab3-b3e9-2910-d999-a27b7a075a16
Some Assignment Expressions:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60b2e926-700b-2a10-08b4-dd0d7e09e7f2
More Validations:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/34ae996e-0901-0010-4691-99a50a6741b5
BR,
Alok
Edited by: Alok Sharma on Mar 24, 2008 6:54 PM

Similar Messages

  • FK01: Vendor Master Record Validation Table is not maintained

    Hi Experts,
    Appreciate your help on this matter: I have created a new Vendor Account Group and tried to used it. However, upon saving I encountered problem: error message Vendor Master Record Validation Table is not maintained. Do I missed some configuration?
    Thank you very much!

    Hi,
    STEP 3 : In Financial accounting > A/R A/P > Business Transactions > Outgoing payments > Manual Outgoing payments >
    Define Tolerance (Vendors)
    STEP 4 : Create a GL A/c Creditors in FS00 as a balance sheet a/c and in control tab give reconciliation type as Vendors
    and Field Status Group G067.  Assign this account in company code data in FK02.
    Regards,
    Sadashivan

  • Where to maintain Attribute of the results record (Valid, Invalid,....)

    Dear Guru
    Where to maintain Attribute of the results record (Valid, Invalid,....)
    <  The true value is less or equal to; valid  result
    >  The true value is greater or equal to; valid  result
    my requrement is when i record the result system shows <=  value is less or equal to in specification (e.g. <= 5.0%), but client requirement is only "< value is less" (e.g. < 5.0%)to be display.
    Please help.
    Thanks in advance
    Yuvraj Dhotre....

    Hi then based on the no of decimal places you can define the limit like for decimal places 3 your upper limit will be 4.999
    And if it is lower limit the it is 5.001
    regards,
    Smruti

  • Error:Info record Validity date is Past in PO

    Hello,
    PO is having eight line items,but when i wanted to change the delivery date for 5&6th line item then the system gives an error message" Info record Validity date is in Past" i n PO due to this i am unable to change the delivery date in PO.
    so please kindly suggest me where should i checked the settings in info record. and why this error is coming.
    please let me advice since this is matter of urgency.
    Regards
    sis

    Look up the error message Number and then get the error message to warning and this will solve your problem.
    Follow this path to change message from E to W: Spro>MM>Purchasing>Enivronment data>Define Attributes of system message, click execute, then look up your message.
    Edited by: Afshad Irani on Apr 30, 2010 11:39 AM

  • Info record validity date is in Past

    Hello,
    we got an error saying "Info record validity date is in Past" while creating the PO.
    But we had checked all validity conditions in PIR and all are fetched correctly from PIR to PO.
    Due to this error we are unable to post the PO.
    kindly guide me further where we need to check the settings in the system.
    Thanks in Advance.
    Regards,
    SI

    Check your posting period. Use OMSY to check. MMPV to reopen.
    Check the info record. There you have Available From and Available To fields for the Vendor. Recheck the Valid to field in Conditions tab.
    Check the souce list (ME01) for the material and plant. There you have valid from and valid to dates.
    These are just suggestions. Let me know if your problem is solved.

  • Mass extention of service entry sheet condition record validity date

    Hi all,
          I have immediate requirement. i need to extend the validity date for condition record related to the Service entry sheet. This has to done mass sheet changes.
         I am looking for Any bapi or Standard function module or any config changes.
    I am looking forward for your valuable inputs.
    Regards,
    Sreenivasa Sarma K

    Arun,
    This doesn't suprise me...
    I'm not sure if there is a standard solution, but you could do this via user-exit/BADI (see [here|http://www.sapfans.com/forums/viewtopic.php?p=648307] under maintenance plans )
    PeteA
    [www.pjas.com]

  • Asset master record validation rule

    Dear All,
    Could you tell me the way, how i can write a validation/substitution rule in the Asset master record. I need to make sure the below steps shoud be the same:
    A. Cost center in the Aseet master record.
    B. Responsible cost center in the asset master record.
    C. Responsible cost center in the WBS element of the same asset.
    The above three should be the same. User should not be allowed to change, if tries to change error shoud be thrown.
    Regards,
    Suresh Patipati.

    OACV Define Validation
    OACS Define Substitution
    The Respond cost center is copied from the WBS to Asset. Set this field on display int he asset.
    Financial Accounting / Asset Accounting / Master Data / Define Screen Layout for Asset Master Data / Define Screen Layout for Asset Master Data
    When this give problems with the copy rule from PS you can set-up authorization groups
    Financial Accounting / Asset Accounting / Preparing for Production Startup / Authorization Management / Process Asset Views

  • Header and Trailer record validations

    Hi
    I have scenario file-xi-proxy. File contains the header record, detail record and trailer record
    In header record i am getting date field, in header i have to do validation like header record exits and it should be in date format.
    In Trailer record i have to do Total records and Total amount  equals to Total records processed and total amount.
    And amount value should be greater than zero..
    My source structure
    DT_ ACEAwardInformation
    <b>Header</b>
    BeginDate
    EndDate
    <b>DetailRecord</b>
    Field1
    Field2
    Field3
    Field4
    <b>TrailerRecord</b>
    TotalRecord
    TotalAmount
    Even content conversion parameters.
    venkat

    Hi Venkat,
    write a UDF in following way...
    pass the first parameter as the detail node (cache the whole queue) to the UDF pass the second parameter as the trailer countto the UDF
    now loop through the detail records get the count with a counter variable
    check the counter against the trailer count outside the loop
    if it doesnot match trigger the alert from the UDF itself
    Check the below link for triggering alert from an UDF
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

  • Info Record Validity Dates - Future Period

    Hi Gurus
    can you help
    we have current Purchase Info Recs in place, with pricing condition records that have a validity date that will expire in the next few days
    we have already loaded the next pricing for the next cotnract period with the vendor, but wish to check the accuracy of the data before that pricing condition becomes "current"
    do you know how can we pull the data from the future validity period pricing condition record, so we can validiate this
    i have only found ways to get the current pricing conditions, but not the one for the future period
    please advise
    many thanks

    hi Velu
    we maintain Pricing Condition Type PB00 in ME13
    when i key a Pur Ord for the part, then go to Conditions tab in ME21n, then select the Analysis of the Pricing Condition, it bring up Procedure RM0000
    then Gross Price PB00, then various steps under this
    a number of steps not executed due to requirements not filled etc, being Contracts, outline agreements, Plant Infor Rec Order Unit, then Material Info Rec (Plant Specific)  A017, then Material Info Rec table A018 with various field names
    For Access Sequence step Mat Info Rec (Plant Specific)  it does say No condition record was found for this condition using the document data.
    any thoughts
    If we cannot resolve i shall leave it for now, and review on the day it becomes current
    many thanks

  • Error in Duplicate record validation in EntityObject using unique key contraint

    I have implemented Unique key validation in Entity Object by creating Alternate key in Entity object.
    So the problem is that whenever the duplicate record is found,the duplicate record error is shown, but the page becomes blank, and no error is shown in the log.
    I wanted to know what may be the possible cause of it.
    I am using Jdev 11.1.2.4.

    After duplication, clear the PK item, then populate from the sequence in a PRE-INSERT block-level trigger.
    Francois

  • Insert record validation

    Hi,
    I am using forms 4.5 and oracle 10g as the DB.
    when a new record is being inserted into the EMP table, I would like to ensure that the empno is exactly of 4 digits, not less than or greater than 4.
    what is the way of achieving this?
    which trigger is suitable for this validation? when_create_new_record? or any other?
    Thanks

    Hi Omer,
    You can use different ways to control this. like
    1. Pre-Insert in block level.
    use if condition like this "IF LENGTH(:EMPNO) <> 4 THEN MESSAGE('Your Message');"
    2. In Database "BEFORE INSERT ROW LEVEL"
    use if condition there also like "IF LENGTH(:NEW.EMPNO)<>4 THEN MESSAGE('Your Message')"
    -Ammad

  • After Results Recording - Valid Samples = 2, Defects are doubled

    I carried out results recording - there were 13 characteristics and 7 of them failed.  In the Record Usage Decision screen 14 Defects are shown (instead of 7) and under the Characteristics tab, it shows 2 valid samples for each characteristics.
    The result is that these increased defects are causing some confusion and 2 duplicate notifications are being created when the usage decision is made and the lot is saved.  Can anyone help explain why this is happening, and how I can make it stop doubling?

    Please see below SAP explanation.
    Note: The defect record is generated as a result of a valuation rule. This rule determines whether a defect record is to be created and if so, which code is to be used for the record. Since the valuation rules are stored as function modules in Customizing, you can adapt the way defect records are generated and their contents without having to make a program change.
    Example: If you record results for samples, inspection points, etc., the system creates a defect record with the assignment inspection lot/operation/inspection characteristic, each time an inspection characteristic is refected. In addition, the standard system creates an additional defect record for the inspection lot/operation/sample (or inspection point, physical sample, equipment). This is, however, not always advisable. You can use the SapNet - R/3 Frontend note 107223/1998 to ensure that this additional defect record is not created. You achieve this by storing your own valuation module (or by changing an existing one) in Customizing.
    I hope the above explains why you got 14 defect records for 7 rejections.
    Hope it helps.
    Thanks,
    Ram

  • Update info records - Validity period

    Hi,
    I am using the following FM to create / update info records.
    ME_INITIALIZE_INFORECORD
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD
    I need to update the validity period aswell. It is not available in the above FM's.
    Need to update DATBI and DATAB with new validity periods.
    The table KONH, KONP and A017 get updated.
    Could you please tell me how to update validity periods.
    Thanks for the help!

    Hi,
    Use FMs :
    ME_DB_UPDATE_INFORECORDS       Updating info records in database                                    
    ME_UPDATE_INFORECORD           Update program for purchasing info record                            
    ME_UPDATE_INFORECORD_COND      Update price in info record during maintenance from condition transac
    ME_UPDATE_INFORECORD_PD        Update info records from purchasing documents                        
    Regards,
    Hemant

  • Auto E-mail- if condition record validity expires.

    Dear Friends,
    Is there any way to configure in the system to mail automatically when the validity of the condition record expires.
    Regards,
    Hari.

    Passage of time is not an event.  You will have to schedule a program that runs every day (or week or minute or..) that compares SY-DATUM to the TO-DATE of the condition record. If any are found to have expired, you can email those condition records.

  • 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)

Maybe you are looking for