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

Similar Messages

  • 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

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

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

  • 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

  • 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

  • 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

  • Validation Rule for Business Place mandatory - OB28

    Hi All,
    I have written the pre-requisistes as below for BUPLA and SECCO mandatory at transaction level.
    It is only working for F-48 transaction.
    Kindly correct me if i am wrong
    Pre-Requisites
    Company Code = '1030' AND Transaction code = 'F-43' AND
    Transaction code = 'F-48' AND Transaction code = 'FB60' AND
    Transaction code = 'MIRO' AND Transaction code = 'FB65' AND
    Posting key = '31' OR Posting key = '29'
    Check
    ( Business Place = '1030' AND Section Code = '1030' )
    Thanks,
    Narasim

    HI,
    Please try to use the below validation and fill the BUPLA and SECCO
    prerequisite
    company code = 'xxxx' and ( w.tax code <> '' or w.tax code <>'xx')
    and  account type = 'k'
    check
    section code <> ''
    message
    enter section code.
    Please change the above then it will work for you.
    Regards
    Madhu M

  • Exit in the Validation rule is not working in Project system

    Hi Team,
    I have created a validation rule for wbs and inserted a exit under check condition. But when i trying to test the validation rule, exit is not called. Is there any other step to activate the exit??
    Best regards,
    Dileep

    Hi,
    The code you have written in the exit must be activated. Please check the same.
    Regards,
    Harsh.

  • How to write a validaton rule for Cost Center and plant in PO

    Hi,
    I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
    But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
    Thanks
    Sunil

    >
    Sunil Pal Raj wrote:
    > Hi,
    >
    > I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
    >
    > But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
    >
    > Thanks
    > Sunil
    Check OKC7
    Regards,
    Indranil

Maybe you are looking for

  • Script works in one frame, but not with frames before it

    Hi all- I'm a complete AS/Flash n00b, but hoping that I can get some guidance on this. I'm trying to test a very simple function for an e-learning module that is to train people on using 'quick keys' or key combinations on their keyboard. Basically,

  • 3-d Problem.....can't figure out how to make this????

    I've attached a logo i have to recreate for a customer. How do i recreate the rings??? i've tried in 3-D in revolve but the ring is always to fat. I can't get it to make it skinnier. Any one know what i'm doing wrong or have a way to fix this????

  • Adobe premiere pro 1.5.1 -working on m2t files

    I use adobe premiere pro 1.5 for editing. Recently I installed plug-in to edit HDV. So now its version adobe premiere pro 1.5.1 I am converting m2t files using HDLink to AVI and importing them to pro 1.5.1 Everything is fine on the source monitor. Ho

  • What are difficulty between oc4j included Jdeveloper and oc4j extended?

    Hi all! I don't know why i deploy application on oc4j included Jdeveloper when it's run ok but i deploy on Oc4j extented when it's run not ok. I want to know the difficulty between oc4j included Jdeveloper and oc4j extended? How to config oc4j extent

  • Ribbon area of the Entity is not loading

    Hi, Ribbon area of the Entity is not loading . Please suggest me what are the reasons. regards Benarji Benarji Sandra-MS Dynamics CRM Developer