Validation rule for expense type

Hi,
I'd like to know if it's possible to create a validation rule for expense type and personnel number.
I need to lock some expense types for some personnel number.
Thanks in advance.
Osmar Tardivo.

Hello,
Sorry to say but I am not aware of any customization which restrict an expenses type based on personal number..
There is a setting which can restrict Travel Expense Types based on Employee Grouping. Please go through below path.
Travel Management-> Travel Expenses-> Control Parameters for Travel Expenses-> Control Parameters from Travel Privileges-> Define Employee Grouping for Travel Expense Types
Hope this help you!
Thanks,
Vaibhav

Similar Messages

  • How to Add/Edit validation rule for Column in ADf table(Jdeveloper11g)

    I am working on Jdevloper11g with ADF table. There i have one column where user can enter numeric value in range 1-1000 .So i have to add validation as such he/she can't enter value apart from 1-1000 range also not any other charcters.
    I know on form, if i select attribute from binding and right click i will find one option "Edit Vlaidation rule..." and from there i can change validation rule for perticular field.
    But how i can achive same on Column's filed??
    Thanks for all help.
    Jaydeep

    Hi Barnislav,
    I tried the way you mentioned but i am getting below exception.
    Could not complete Edit validation Rule... Because it would result in an invalid document
    oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Element RangeValidationBean not expected [ node = RangeValidationBean ]
    <tree IterBinding="searchConfigurationDataIterator" id="searchConfigurationData" ApplyValidation="true">
    <nodeDefinition DefName="com.oraclecnm.util.search.SearchAttributeBean">
    <AttrNames>
    <Item Value="searchAttributeName" />
    <Item Value="searchAttributeId" />
    <Item Value="weightage" />
    <Item Value="isAttributeSearchable" />
    </AttrNames>
    </nodeDefinition>
    <RangeValidationBean OnAttribute="weightage" ResId="pages.SearchConfigurationPageDef.searchConfigurationData_Rule_1" Inverse="false" Severity="Error" Name="searchConfigurationData_Rule_0" OperandType="LITERAL" MinValue="1" MaxValue="1000" />
    </tree>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3669)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3577)
         at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2825)
         at oracle.bali.xml.model.XmlContext.precommitTransaction(XmlContext.java:1166)
         at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1653)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1684)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2898)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:586)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:556)
         at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:469)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:208)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
         at oracle.adfdtinternal.model.ide.validation.RuleEditAction.actionPerformed(RuleEditAction.java:35)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • Validation Rule for making Trading Partner mandatory in FB50

    Hi,
    Validation Rule for making Trading Partner mandatory in FB50
    I am trying to make trading field mandatory in FB50. If trading partner is not entered for the line items in FB50, User should get a  error
    I have tried the  follwiong (at the Line Item level) and it does not work:
    1)
    Prerequiste:
    Transaction code = 'FB50'
    Check:
    Trading Partner = ''
    Message:
    2) 
    Prerequiste:
    SYST-TCODE = 'FB50'
    Check:
    Trading Partner = ''
    Message:
    Any ideas?

    The message will only be issued when the result of the check is false.  If you want to issue an error when a trading partner value is not entered, then your check needs to be Trading partner &lt;&gt; ''.  If the user enters a Trading partner value, the check will be true and no message will be issued.  If the user does not enter a Trading partner, the check will be false and the message will be issued.

  • Define selection rule for Day type

    Dear Experts
        As I want to "Define selection rule" for "day types" in Time Management-> work schedule-> Day types-> define selection rule, the third and 4th columns are default weekdays of SAP, But weekend is different in our system. How can we handle this subject? Can we change these columns to our needs? How?
    For example we want to define that friday is not working day in our company and it should be payed, is there any other option?
    Thank you all,...

    Hi friend,
    Check:
    Time Management -> Work Schedules -> Period Work Schedules -> Define Period Work Schedules
    btw, you should check factory Holiday calendar (Tcode: SCAL) and generate Work schedule for year.
    IMG: Time Management -> Work Schedules -> Work Schedule Rules and Work Schedules -> Generate Work Schedules in Batch
    Regard,
    Michael.

  • 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

  • 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/against intercompany reporting

    Hi,
    I need a validation rule which checks that a cons unit does not report intercompany against itself.
    Validation should be on individual data records.
    Have checked various options, no success so far.
    Have you got any hints? thx, Clemens

    The only standard validation I can imagine for this is to include each cons unit as a check to ensure the same value is not used for trading partner. This will be an expensive validation is there are many cons units.
    Another idea is to use a custom task with code to check this.
    Another idea is to include a check for this in the update rules as part of the initial data extraction (if using load from data stream).

  • Restricting TDS based on validation rules for vendor invoice posting

    I have two Tax Types assigned in the vendor master. If at the time of invoicing user do not delete the unwanted tax types, system posts both the amounts related to both the tax types.
    User has to necessarily delete one tax type which is not required and then proceed with simulating the vendor invoice.
    Can this be controlled thru validation rules ? Even if the user forgets to delete the unwanted tax type while passing vendor invoice, validation rule must throw an error asking to delete the unwanted tax types before simulating the vendor invoice.
    Please help how to build such validation rule with detailed procedure.
    Thanks
    Ravi

    Hi Ravi,
    I hope you have selected both withholding tax type and code at the vendor master level itself.
    It is generally advisable to select withholding tax type at vendor master level and leave the field withholding tax code to be in display mode. Hence during vendor master creation, they can only select withholding tax type and not the withholding tax code. Ensure liable to tax should be ticked against all withholding tax types.
    During invoice entry creation either in FB60 or in MIRO, they can select the withholding tax code next to the withholding tax type and simulate and post.
    In your case, you cannot delete the withholding tax types at invoice entry level. Ensure to delete the unwanted withholding tax type from your vendor master itself, I mean delete only the withholding tax codes pertaining to that unwanted withholding tax type.
    Hope this helps. Assign points if useful
    Regards,
    Dwarak.

  • CO validation rule for cost center

    we want system to show error message when user post to cost center other than 1111 for GL account between 540000 to 541000, how to define the validation rule?

    You can put FI validation (Ob28) , give restriction to co code BSEG-BUKRS ( for your co code ) and BSEH-HKONT  ( for GL account for you want to restrict) and have check on BSEG-KOSTL and then assign the error message.
    Regards
    Ranjan

  • Table containing validity periods for condition types in me12 transaction

    Hi .,
          i need the name of the table which contains the Validity Start and Validity End dates for Condition type 'PB00' IN ME12 transaction .. kindly help me..
    Regards.,
    S.Sivakumar

    hi,
    we hav data in A018.
    130     M     PB00     10011     30000102     XXXX     0     31.12.9999     03.09.2004     0000007715
    130     M     PB00     10061     20000822     XXXX     0     31.12.9999     08.10.2006     0000011194
    130     M     PB00     10061     30000436     XXXX     0     31.12.9999     21.01.2005     0000009793
    130     M     PB00     10061     30000437     XXXX     0     31.12.9999     21.01.2005     0000009792
    130     M     PB00     10065     80000414     XXXX     0     31.12.9999     30.07.2004     0000007487
    130     M     PB00     10269     10004972     XXXX     0     31.12.9999     20.01.2007     0000011237
    130     M     PB00     10482     30000129     XXXX     0     31.12.9999     16.07.2004     0000006911
    130     M     PB00     18091     30001906     XXXX     0     31.12.9999     06.05.2006     0000011061
    130     M     PB00     18091     30001912     XXXX     0     31.12.9999     06.05.2006     0000011059
    130     M     PB00     18091     30001913     XXXX     0     31.12.9999     06.05.2006     0000011060

  • 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

  • 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

  • How to apply validation rule for View Object (VO) attributes?

    How to add Validation Rules to VO attributes, just like EO Business Rules?
    I got 2 problem with that:
    1. VO can join multiple tables, and the attribute's validation rules may reference to the fields from multiple entities.
    2. Since the EO Validation Rules only execute before the data actually write to entity (Commit operation). But user may need to input data from multiple pages with only 1 commit.
    I am using JDeveloper 11g with ADF BC.
    Regards,
    Samson Fu

    Just something to point out, the EO validation doesn't fire on a commit (if you mean commit as in the database/AppModule commit). You can also access VO information from the EO validation rules by using view accessors.
    Regards
    Grant

  • Creation of  rule for day type  for Unpaid Day off

    Hi,
    i working on two types of day off one is paid another one is unpaid.
    For first one i selected the standerd SAP rule 01
    And for unpaid I created one rule Like
    Dy.ty Wd      d.ty sat     d.Sud.
    2 2222222   2 2222222  2 2222222
    like that i was created i assigned to the work schedule rule.
    can u any body tell me is it correct or wrong.
    Thanks in Advance
    Edited by: bhaskar K on Sep 23, 2008 12:33 PM

    hi bhaskar
    want to make some thing clear when ur creating a rule u take into account the holiday class along with day type when u try to combine and match them u can precisely say tht ur rule wud be correct based on ur requirements.
    please make it clear
    regards
    sb

  • Validation Rule for trading partner

    Frnds
    I am writing validation for trading parter with below details.
    Prerequsite
    BSEG-HKONT IN ZIC_ACCT
    Check
    BKPF-AWTYP = 'BKPF' AND BSEG-VBUND <> ''
    Error
    Specify Trading Partner for intercompany accounts
    I have created above validation at call up point 2 at line item level
    so when i go to post docuemnt at FB50 and select the GL account from set ZIC_ACCT, it issues error that i have to put the trading partner, but as soon as i put the trading partner, it should allow me to save the document, but it does not. infact it again issues error that i need to put the trading partner.
    so can someone please look into it and let me know if i can writer validation for Trading parter or not?
    Thanks

    Hi,
    You can do as per following:
    Prerequisite:
    BKPF-BUKRS = 'company code' AND
    BSEG-HKONT = 'GL Account' OR AND BKPF-TCODE <> 'FB50'
    Check
    BSEG-VBUND <> ''
    Message
    Enter Trading Partner for GL Account &1
    Message type - E
    Message no. = XXX
    message variables BSEG-HKONT
    Regards,
    Santosh

Maybe you are looking for

  • Material Document (Post goods receipt) for each Tranfer order in Inbound De

    Hello All, We have following the below process for goods receipt. 1. Create Purchase order. 2. Create Inbound Delivery. 3.Create Transfer order for each line item in  Inbound Delivery 4. Confirm tranfers orders. 5. Post goods receipt will automatical

  • Problem with viewing videos

    Hey there, Ive looked through various sites and tried all sorts of different methods to fix this including changing the file types/mime types on quicktime, reinstalling Flash and shockwave etc but for the video on thi site http://freemaagyeman.com/ne

  • How to enable forwarding apple ID address to different mail app?

    I want to enable forwarding of my apple ID email address to a different email app.  How do I set up apple mail to forward emails to a different app like Gmail, etc?

  • 17" MBP 9600 vs 9400 Color Difference

    So I rented the Hulk in HD from iTunes... When using the 9400 card the colors are more "true" and when I switch to the 9600 the colors are more "washed" out. What gives? I really think Apple have some serious quality problems with Nvidia hardware. An

  • CD's I burn have a nasty noise on certain tracks that go to the tempo

    Every CD i burn only the first half works, then the rest of the songs have this nasty annoying noise that plays on tempo and then as the CD goes on the songs just get worst and towards the end of the CD the songs just don't even play