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

Similar Messages

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

  • 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

  • Naming conventions / Naming conventions for Trading Partner Management

    Hello Experts,
    Can any one share the Naming conventions / Naming conventions document for Trading Partner Management ?
    Thanks
    Saurabh

    Hey Saurabh,
    We usually go with the name and description for partners ,
    Below blog might help
    ISA and GS segments mapping - Value mapping v/s Predefined TPM UDFs - II
    Suggestions-
    Template - TM_Description
    Function Profiles - FP_Description
    Partners - TP_Description or PartnerName
    Agreement - TPA_Description
    Code List - CL_Description
    Property key - lower case, description separated by dot (.) ( eg. seg.sep)
    TPM Export file - Config_description .tpm
    Regards,
    Pooja

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

  • XK01 - Company ID for trading partner - default value

    Hi gurus,
    I would really appreciate your help on this one:
    I need to insert a default value in the "company ID for trading partner" field when creating a vendor(or customer).
    The value must be inserted when using transaction XK01 either manually or via batch input. The automated integration process is the following:
    my external data -> prgm RFBIKR00 -> batch input run for XK01
    basically my ext data may have a company ID in which case I want to keep it.. otherwise, I want to insert a default value.
    Has anyone ever face a similar need and found a great solution?
    Here are some solutions I thought about:
    - user exit SAPMF02K. Unfortunately, we cannot change the value of the field VBUND
    - variant transaction. But it seems to not to be compatible with batch input mode
    - workflow triggered by the vendor creation event that could modify the VBUND data.
    (this one should work... but  I am  a bit reluctant to implement such a tools for  such a simple need)
    - copying RFBIKR00 into a specific developpment... not great as well.
    - BTE 1421 or 1420 do not seem to be able to update this field either.
    any suggestion?
    Thanks in advance
    regards,
    Damien.

    Hi Rajesh,
    thank you for your answer. I am not familiar with field exits and had not thought about it.
    I found this link on the forum : http://www.sapdevelopment.co.uk/enhance/fexits.htm that gave me additionnal info on field exits.
    I will have a look on monday to see if it solves my issue, but it seems to be a very suitable solution.
    I'll reward your answer as soon as I know wether it solved my problem or was only helpful :).
    Thanks a lot.
    Regards,
    Damien.

  • 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

  • Document splitting for trading partner

    Hi friends,
    We have a requirement that the trading partner can also be split when posting FI document like profit center can be split. I cannot find characteristic of trading partner in config menu: Define Document Splitting Characteristics for General Ledger. Only fields of Business Area, Profit Center, and Segment can be added for document splitting. Is it possible to add trading partner as document splitting charcteristic?
    Thanka in advance,
    Jessie

    Hi JPA,
    Thanks for your information. I read the note 1085921 and found the below point which seems like more than the three fields can be split. We still can add custom fied to be split, right? but how?
    2.1 New g/l scenarios
    In order to split the posted items of a particular ledger by the selected criteria (SEGMENT, PROFIT CENTER, custom field [ZZxxx], etc.), the relevant new g/l scenario has to be assigned to this ledger.
    Jessie

  • Customer Account Clearing for Trading Partner

    Hii,
    While clearing customer account system shows following error messege of Consolidation
    Consolidated companies 1300 and 001100 are different
    The number of the affiliated company must be clear for the selected document type for all line items. In this case at least two different companies or a company in connection with a business partner who does not belong to a company are stated.
    If you selected the correct accounts, you must enter the document with a document type that allows cross-company posting. Otherwise, please correct the entered account.
    I have also check documents types is maintained or not for clearing bt still system given an error
    Reg
    Umesh

    Hi Umesh,
    In two of the documents you are clearing one document must have the trading partner assigned to it and the other one will not have the trading partner. To clear the document either both the documents should have the trading partners or both should not have trading partners.
    Regards
    Neeraj

  • PFAC rule for detrmining partner functions in Actions of Opportunity

    Hi all,
    In Opportunity, we have scheduled the actions automatically for every phase.When we select phase in Opportunity transaction & save , the activities in that pahse would be created automatically based on conditions with person responsible same as in Opportunity transaction.
    Now I have changed the access sequence in partner determination procedure not to determine person responsible from preceding document means this partner function would be empty in Actions created & I have created rules in transaction PFAC with category 'Agent Determination-Responsibilitis' & responsibility & need the system to deterimine different user for this Person responsible for activities.(Not from preceding document).I have maintained this rule & Partner function in parameters of Actions.& action profile has been assigned to Activity transaction type( Actions). But this rule is not determining the users for the Partner function 'Person responsible'.In activities this partner function 'Person responsible' remains empty.
    Solution to this problem would be very helpful & maximum points would be rewarded for the useful answers.
    Reagards,
    Basavaraj Patil

    Hi Prashanth,
                          Thanks for your reply. I want the Rule  to determine Partner function 'Person responsible in Activity transactions  created in Phases of Opporunities not exactly partner function of Opportunity transaction.The procedure user( CRM Opportunity & Task) is maintained in Partner determination Procedure.
    For this I have assigned different Action profile with Method Call - CRM_DNO_PARTNER_1 containing Parameters for Rule(Structure - PDTASK & Field SEARK -  & Partner function(Structure - CRMD_PARTNER & Field - PARTNER_FCT).
    But still it is not determining Partner Determination in Activities.
    Regards,
    Basavaraj Patil

  • 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

  • R/3 Report for trading partner transactions

    Hi
    I posted intercompany transaction (using trading partner). I need to know if there is any tcode for R/3 report which will show transactions with trading partners. I require for AR AP GL transactions.
    I came to know that there is some tcode which will show transaction of one trading partner in another books and vice versa. I checked into information system. But i didn't got.

    Hi,
    For reconciling associated companies, you can access these from the SAP application menu as follows:
    SAP menu -> Accounting -> Financial Accounting -> Accounts Receivable or Accounts Payable -> Periodic Processing -> Closing -> Check/Count -> Cross-System Intercompany Reconciliation
    These programs provide more functions and flexibility, and they enable you to reconcile data across different systems.
    You carry out the Customizing for these programs in the SAP Customizing Guide under:
    SPRO> Financial Accounting or Financial Accounting (New) -> Accounts Receivable and Accounts Payable Accounting -> Business Transactions -> Closing -> Count -> Cross-System Intercompany Reconciliation
    Regards,
    Gaurav

  • 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

Maybe you are looking for

  • How to send ALL message that is in Outbox without ...

    How to send ALL message that is in Outbox without doing it one by one sending? All status is either deferred, or failed. is there a way that can auto resend but not doing it one by one? I have hundred of message un-send and stuck in outbox. Please he

  • How can I get Firefox to search my computer for plugins that are already there?

    How can I get Firefox to search my computer for plugins that are already there? Adobe's Flash player is already on my computer from IE 8. How can I get Firefox to see that it is already on my PC and use it so I don't have to download it again and pos

  • System Downtime in BW

    Hi All, We are working on BW3.5 . We will have to enhance one LO data source . I know we need system (Ecc ,/ R/3 ) downtime for setting up of setup tables and reinitialization with data  but can you let me know if we need any sytem downtime for bw sy

  • Can't open cp file from laptop with Windows Vista

    I created some files at work using XP and copied them to a jump drive. (Captivate 4) I've installed C4 at home using Vista on my laptop. I tried opening the cp files and none will open. C4 opens, but stays on the normal open page. I've copied them to

  • Installing Elements on a Mac

    I purchased the Elements 11 Software for my Mac and I cannot download the product. All the help I have seen said I need a disk, but I got the version that let me use online download....