Validation rule - on fail prevent save?

Is this possible if you do not have approval hierarchy enabled??
thanks,
Robert.
Edited by: Robert Angel on 19-Jan-2012 06:46

Hi Robert,
Would you please rephrase your question?
In the interim here are some links that may be useful to you:
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/dv_bldr.html
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch08s07s01.html
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch08s07s02.html
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch08s07s03.html
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch08s07s04.html
http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch08s07s05.html
Thank you,
Todd Rebner

Similar Messages

  • Validation Rule to prevent duplicate posting of invoices

    Hi All,
    I am proposing to use the Reference field as the field for my Invoice Number in my FB60 and FB70 postings. I need to set up a validation rule to ensure that previously posted invoices are prevented from being reposted (i.e. prevent invoice posting duplication). This field is BKPF-XBLNR.
    Can someone please help me to define the validation rule to use in preventing this from happening.
    Thank you for your help.
    Regards,
    Yomi

    HI
    Double invoice check works as below in standard SAP--
    System will check the below fields-
    1.Invoice date
    2.Amount
    3.Reference
    If all three above are identical it will throw an error message if masterdata of a vendor is ticked for double invoice check. If any one of the above will mismatch it will not give error message.
    If you wish to check as per reference field only then you need to use Validation.
    But you cannot write a simle logic in check , you need to use user exit.Where ABAPER has to write code for this.
    Write prerequisite as per your requirement , like company code and transaction code.
    then in check use user exit. Which user exit is to be used , that you can ask your ABAPER also and you can try the exit suggested in above answers also.
    Cheers
    Mukta

  • Validation rule for Payment tax code

    Hi
    I have a requirement in which we have assigned both the invoice and payment with holding tax codes. However, at the time of booking vendor invoice through MIRO/F-43/FB60 , the user has to remove the payment with holding tax code manually. We have written a validation rule in which the prerequisite is that if the t code is F-43/MIRO/FB60 system should check if there is a invoice tax code. If the prerequisite is met and check failed system should give error message. However, our issue is that even after the payment tax code is removed, system is not allowing to save the invoice. The second issue is that the system is also giving an error if there is no tds tax types assigned to the vendor
    Regards
    Sanil Bhandari

    Hi
    I have set a validation rule with a warning message. System checks for with holding tax code and gives a warning message to the user to remove the payment tax code
    regards
    Sanil Bhandari

  • Validation Rule for the coding mask and project profile

    Hi,
    I have two project profile and two coding masks. I want one project profile to be only used by defined coding mask for that profile.
    So i have maintained a validation rule as follow -
    Prerequisite - Project Def. :1-3: = 'A5M'
    Check - Project Profile = 'ABC'
    And if the above check is failed then give me an error message.
    Now i am trying to add the project profile other than 'ABC' for the coding mask starting with 'A5M', but still the system is not giving me an error message configured and allowing me to save the project.
    Is there any other thing which is tobe activated other than assigning the validation rule in project profile and clicking the Autom. validation check box in OPSA.
    Request to confirm share the views.
    Thanks

    Hi,
    Try the following, this must work.
    Prerequisite
    PROJ-PROFL = "ABC"
    Check
    PROJ-PSPID: 1-3: = "A5M"
    Message
    Project profile & Coding mask wronly assigned
    Repeat the same for other project profiles also.
    Enter this validation in your project profile. Check in "Auto Validation"
    In transactinal data,
    Enter project def and select the wrong profile. when you save the project system will show you the error message.
    Hope this will help you.
    Regards
    Prabu

  • How to create a validation rule in SAP BODS Job

    Hi Experts
    I have created a BODS Job and in that job i have to create a validation rule as if the cust_id is null the loading must stop.
    I dont have idea where i have to define this validation rule in the Job and how to stop the load job if the validation rule file.
    My Job was defined like below image
    Please guide me where i have to define the validation rule and how to stop the load job.
    Thanks in advance
    PrasannaKumar

    Hi samatha b
    Thanks for your response. I have done as you said and now i can rise the exception.
    I have another requirement as per the validation transformation the data will load into Pass table and Fail table after job execution. If any data entered into fail table i have delete the data loaded into Pass table.
    Here i am facing problem as my target tables are MySQL tables and when i am writing scripts i wrote the script as
    sql('database','delete from <tablename>');
    but as it is an SQL Query execution it is rising exception for the query.
    How can i delete the data loaded into MySQL Target table using scripts.
    Please guide me for this error also
    Thanks in Advance
    PrasannaKumar

  • Validation Rule for Accounting Document type

    Hello Experts
       I have an requirement  to block certain accounting doc type to get vendor line item post in that. For that I tried to block direct through OBA7 but not be able to also can't delete number range as it is shared by another doc type. My last option is Validation rule but i never work on this ,so any suggest how to create validation rule " To Block Accounting Doc type SO THAT THERE WILL NOT BE ANY line item posting occur in that doc type.
    Regards.

    ok sure.  OB28 callpoint 1.  Create a step under this callpoint.
    1)  Prerequisite is as follows:  note XXXX is your company code and ZZ is your doc type.
    BKPF-BUKRS = 'XXXX' AND
    BKPF-BLART = 'ZZ'
    2)  Then you need to enter the check.  Here you can just put FALSE.
    3)  The last part is to create your message.  Message type E so they get an error and then create a message number in the class that you choose and give it a description:
    Document Type 'ZZ' is not allowed
    Save it and wah lah! 
    Let me know how it goes.
    Thanks,
    Jes

  • Cross Validation Rules

    I accidentally defined a cross validation rule (CVR) wrongly. My intention was to ensure that cost centre values other than 999 couldn’t be combined with balance sheet accounts.
    It appears to work initially, except that it prevents me from posting to any non-balance sheet accounts codes, because in the journal entry window the only cost centre segment value that I see is 999, and in the account code segment, the only values that I see are balance sheet account codes.
    I need to see other cost centre values and account code values so as to post to P&L account codes, but they are not showing in the journal entry window. I have tried many times to disable the CVR but it hasn’t help. I tried to change the CVR and saved it but it hasn’t help either.
    Can someone let me know how to remove this annoying cross validation rule altogether so that I will be back to where I started?

    hi colin,
    obviously it is not the CVR problem, coz CVRs will not effect the LOVs. check the security for the responsibility you are using.
    thanks,

  • Cross-Validation Rules: How to re-validate segments all ready enabled?

    Is it possible to call one of the APIs to re-validate the code combinations againts the Cross-Validation Rules? If the enabled flag is set to 'Y' then the CVR is ignored. I am aware of the Cross-Validation Rules Report which is helpful, but I need to go a step further. I'm looking to loop through the gl.gl_code_combinations tables, re-validate the combinations that are enabled, if CVR fails then determine if there are any amounts that need to be moved prior to disabling the combination.
    I have a routine that:
    1. creates temp table of all enabled combinations
    2. loops through gl_code_combinations
    3. deletes record from gl_code_combinations, do not commit
    4. calls API fnd_flex_keyval.validate_segs
    5. updates status of temp table
    6. rollback deleted record
    7. repeat 2 - 7 until done
    8. query gl_balances using temp table combintions that have failed.
    I'm a little nervous to run such a routine, because of the delete.
    Does anyone have any ideas or suggestions?
    Thanks,
    Jamie
    Edited by: jmdavis on Dec 15, 2008 6:17 PM
    Edited by: jmdavis on Dec 15, 2008 6:18 PM

    Use where clause for that UDA's in attribute that refer to other attributes data source. the where clause may required use Lookupcodes, these lookup codes may have to be configure in the source attribute values table column.
    Edited by: user11979254 on May 13, 2010 2:49 AM

  • GGB0 Validation Rule for Transaction CO88

    Scenario: In transaction CO88 if user do not specify the posting date SAP default it to last date of period. We want posting date to be system date. Since posting date entry come under the menu Extra and is not mandatory user sometimes executes the transaction without specifying posting date which then result in posting date as last day of period.
    To avoid this I was trying to create validation rule in GGB0 under 'Cost Accounting'->'Document header' and 'Financial Accounting'->'Document Header', but it seems non of above is working.
    Validation are
    Prerequisite : SYST-TCODE = 'CO88'
    Check : BKPF-BUDAT <> SYST-DATUM
    Message : Error message
    After creating the validation I am executing CO88 in test mode, but no error message.
    Am I creating validation under right node in GGB0 or missing anything.

    Message executes when Prerequisite is met and Check fails.
    Check should be BKPF-BUDAT = SYST-DATUM

  • Business rule is failed.

    Hi All
    we have an issue with business rules.When they run it from planning web, running fine.But when we attached it to form and run it from smartview with option run on save we are getting messegae "Business rule is failed."Not all of RTP parameters are set".
    plz advice.

    Are some of the variables hidden?
    Is the problem like this one :- Business Rules and "run on Save"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Failed to save xsl map

    I see a few people asked about this problem. do you have a solution yet?
    I tried to use Transform Activity in BPEL 10.1.3 Developers Preview. I am not able to create any transformation. It keeps giving me this error:
    "Failed to save XSL map. Make sure XSL map is valid".
    I think the problem is in the section of <?oracle-xsl-mapper> .. <?>, because if I remove this section , the bar in the right side of the panel changed from red to green, but this section is generate by Jdev , even if you remove it, Jdev will put it back. What should I do?
    Message was edited by:
    user531689

    Hello,
    I have the same problem with the mapping tool. I'm using
    jDeveloper 10.1.3.1.
    BPEL Designer 10.1.3.1.0 (Build 061009.0802)
    BPEL Process Modeler oracle.bpm.modeler 10.1.3.1.0.061009.0802 Loaded
    XSL Mapper oracle.bpm.mapper 10.1.3 Loaded
    It's a very strange probleme because it's working in an other laptop with the same configuration. I made the ORDER BOOKING tutorial and I'm hiting up when i Created the Mapping File ("TransformOrder" BPEL Service). (section 8.7.6)
    Thanks a lot for helping me.

  • Bringing back an old password validation rule

    Good afternoon
    On our old 4.6C system, there was a password validation rule that stated the first three characters of the password cannot occur in the same order in the user ID. This rule was removed when we upgraded to ECC 6.0
    While the users hated that rule, that rule was a SOX requirement at our company and I would like to have it back. Before I resort to programming user exits, is there a way to reactivate or at least simulate that rule? I cannot use USR40 because not only does it effect all users on the system, it only works on the second logon and not at validation time.
    If programming user exits like EXIT_SAPLSUSF_001 is my only option, where can I get the password at logon time? From my understanding, SAP does not store this in a system value or even a global variable or table to prevent the recording of passwords. While this is a valid security reason, it would solve the resurrection of this password role through programming.
    Please advise.
    Kind Regards
    Moggie

    Hi Moggie,
    > Pending the result of the contract programmer's research, placing a 3 character prefix of each new user ID in table USR40 is looking like the best option, though I do hate to place that kind of check for all user IDS when only one ID really needs that validation rule.
    A problem with that will soon arise when you have for example 10000 user ID's and want the users to have the opportunity to use strong pass-phrases (not just pass-words). Additionally, the passwords are now case-sensitive but the user ID is not. A pass-phrase for users such as "The_D0g_&_Cat_r_FAT" would go undetected even if you have any "THERON's" in the system, but why should it not be allowed? It's a good one!
    Users will soon notice that only passwords which are very cryptic can be used, and they will start writing them down on Post-It's.
    While that is going on... the "real sinners" who dish out weak or the same initial / reset passwords (like "INIT1234") or administrate the users for whom passwords don't change (like "RFC4PROD") will not have any further "idiot-proof" controls as it is only a warning, which is intentional.
    > If the passwords are cycled regularly, adhere to profile values in the instance that encourage strict password rules, and are kept private and secure, it is not a compliance issue to the auditors.
    There you have it. 
    Tell them that. Even if they do use the first 3 bname characters as the first 3 CAPS_ON password characters, they won't be able to do it for long anyway if the password rules are appropriate...
    Incase you are not aware of it, please also take a look at (and search here and SAP notes for) infos about instance parameter login/password_compliance_to_current_policy (e.g. SAP Note 862989). With appropriate minimum password rules (not overkilled - because the system must still be able to generate compliant wizard-passwords!), you will catch the bigger risks than any one 'BSM?????'s in there somewhere....
    Cheers,
    Julius

  • Validation Rules, No data to validate

    Hello all,
    I'm trying to setup the Business Rule "Validation Rules" in SAP BPC NW 7.0 but I'm getting a message that says NO DATA TO VALIDATE, I have done the configuration steps such:
    1. Add to the Entity Dim the correct OWNER.
    2.In BPC WEB ADMIN I changed the WorkStatusValidate to "YES".
    3. I changed the Work Status Setting at application level, ith the next parameters:
         ENTIDAD---> owner
         TIEMPO---> yes
         CATEGORIA--->yes,   and the other dimensions as NO
    4. I Changed The Work Status Setting at appset level too.
    I have edited the Validation Rules as follows:
    VALIDATIONACCOUNT        REMARK          VALIDATIONOPERANT             VALIDATIONTOLERANCE
          REGLA1                          ACTIVO                          =                                                   0.01
    When I click on Save without validate, there are no problems, but it is happenning When I Click on Validate Validation Rules Rule Table. Have you ever seen this error before?
    Thanks in advanced!
    REgards!

    Hi Miguel,
    You are comparing work status and the validation rules. However, these 2 are completely different functionalities.
    For maintaining validations, please take a look at the below links from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/72/027eddf803405eb131738b655408ce/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/d9/7e49e5b686462a9f2a2d38c98b8446/content.htm
    For work status, please refer to the below links from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f8/d51b881cfa4c5992de481ccfa05db3/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/75/712b5c7be845cbb1e76cfe78650343/content.htm
    Hope this helps.

  • Failed to Save Document. and Not Supported. Error Message

    Post Author: dscoiho
    CA Forum: General
    I am using Crystal 10 and SQL Server. I have ran into instances when I try to save a report with data or save as I get Failed to Save Document. and Not Supported. error messages. Does anyone have a clue on why this would be happening and is there a work around.

    Post Author: rhartness
    CA Forum: General
    Has anyone found the answer to this problem?  I am experiencing the exact same issue today.  This is quite frustrating!  If anyone has a clue on how to fix this or how to prevent it from happening again please post a reply.
    I'd hate to lose all of my work over the past hour (I couldn't imagine of loosing a days worth of work like the original poster stated) but if there is no fix, I understand.  However, is there something that I could have done to cause this?  If so, I want to avoid doing it in the future.
    Thanks guys.

  • Validation Rule & Report

    Hi,
    In our Application, FDM is loading data into HFM database even if the validation rule fails.
    As per my understanding, FDM should not load data into HFM, if any one of the validation rule doesnot succeed.
    Is some settings need to be enabled to perform this check ?
    Can anyone guide me.
    Thanks,
    Siva

    Hello,
    The validation report is part of the 'Check' fish (4th fish). The data is already done loaded at the Export/Load fish (3rd fish)
    The purpose of the Check fish (and the report it produces: Validation Report) is to verify the accuracy of the data that was loaded.
    Thank you.

Maybe you are looking for

  • Move PSE 8 catalog and all related file to external drive.

    All my photos are on an external drive.  I would like to be able to move back and forth from desktop to laptop and have all my catalogs, tags, etc in order.  I am running Windows XP and PSE 8 (when it does not crash).  thanks for this forum and your

  • Set up iTunes on a new MacBook Pro to access an existing music library on an external hard drive?

    We just replaced an old MacBook with a new MacBook Pro. We had to keep our iTunes library on an external hard drive because we didn't have space on the old computer. Since our library is large, I'd prefer to keep it that way with the new computer. I

  • Problem converting Word document with TOC table

    Hello,          I am using MsWord 2003 and Acrobat 9 in Windows 7 Ultimate 64 bits. I have created the manual using Word, I set Heading (s) with 3 levels deep and created TOC in Word. It looks as designed. There are Titles, Subtitles and Subtiles (3r

  • Valuation Level Correction

    Hi All, One Company Code is valuated at Plant Level and the other Company Code at Company Code Level. Both belong to a Company (Group) in SAP. Could you let me know briefly the approach to take to get both Company Codes valuated at Company Code Level

  • IPad with retina display Wi-Fi + Cellular - Portugal

    Hello. When will iPad with retina display Wi-Fi + Cellular be available in Portugal? Thank you in advance. Ivo