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

Similar Messages

  • Validation Check for business place and section code.

    Hi Gurus
    Please provide me the prequisite check for creating a validation check for business place and section code.
    Regards,
    Vikas Malhotra

    Hii..
    Goto T.Code Ob28 write the following validation.
    Prerequisite
    BKPF-BUKRS = 'XXXX' AND BSEG-KOART = 'K' AND
    BSEG-QSSKZ = 'XX' AND BSEG-BSCHL <> '35' AND
    BSEG-BSCHL <> '25'
    Check
    BSEG-BUPLA = 'XXXX' AND BSEG-SECCO = 'XXXX'
    Message
    Message number ZFI    002
    Regards,
    Aakash

  • Substitution rule for Business place and section code

    Hello Friends,
    We have a business place and a section code. I want to write a substituion rule for vendor invoice for business place and section code.
    When i see in header, i am not find BUPLA and SECCO in header. I am finding them in line item. How do i get these fields in header segment. I tried substution rule in line item, but the tds is not deducted.
    Thanks
    SK

    hi SK,
      i am not understand your problem. Previously i face one problem regarding business place and section code. While booking invoices and advance payments the user forgets to specify business place or section code and some times he specifys wrong business place also. Basing on business place or section code we cant restrict the users because there is no authorisation object.
    i created one validation that if my business area is 1000. then substitute the business place field with section code.
    we have business place individual business area wise so i created this substitution.
    Regards,
    Sankar

  • Validation for Business place

    Hi
    How to create validation for business place in f-43, fb60, f-48
    I know t/code GGB0, how to selectPrerequisite, check, message can you please give me details this is very urgent.
    Thanks in advance.

    Earlier i have given replay for same query so many times
    Re: Business Place / Section Code Mandatory : How to?
    you can write the following validation for your requirement.
    Open GGB0, press financial accounting, press line item, press validation button, give your validation name, press step button give the step name then press to prerequisites. give the inputs in prerequisites as follows.
    PREREQUISITES:
    SYST-TCODE = 'FB60' AND BSEG-KOART = 'K' OR
    SYST-TCODE = 'F-43' AND BSEG-KOART = 'K' OR
    SYST-TCODE = 'F-48' AND BSEG-KOART = 'K' OR
    BSEG-BSCHL = '29' AND BSEG-UMSKZ = 'A' AND
    BSEG-KOART = 'K'
    CHECK:
    BSEG-BUPLA = 'YOUR BUSINESS PLACE'
    In message
    you can create the message class with the help of your ABAPer and assign the message or you can use the available message and put it as Warning or Error message.
    after complete the above go to OB28 and put the active.
    If want to feel dificulty take the aboper help.
    don't forgat to assign the points.
    If u find solution from our answer, please close the issue and assign points, otherwise ask your futher problem.
    sai krishna

  • Validation for Business Place in line item wise

    Dear All,
    I have written one validation for Business Place is mandatory
    my requirement BUPLA mandatory what are  t.codes i have eentred in the prerequisite.
    but system asking for business place other than those t.codes.
    it's not taken in to consideration what are the t.codes i have entered in the prereqiuiste.
    In  Prerequisite
    ( SYST-TCODE = 'FB01' OR SYST-TCODE = 'F-22' OR
    SYST-TCODE = 'F-27' ) AND
    BSEG-KOART = 'D' AND
    BSEG-QSSKZ <> ''
    in Check
    BSEG-BUPLA <> ''
    message
    Enter Business Place
    Now my requirement is that when i am proceesing any other transcation like f-02, f-21 and all BDC which are related to customer business place is mandatory.
    my requirement is business place is required only for TDS related documents.
    please advise how to write validation for non tds related documents.
    thanks in advance.
    mohan
    Edited by: bangaru mohan on May 7, 2008 6:44 AM
    Edited by: bangaru mohan on May 7, 2008 6:45 AM

    Earlier i have given replay for same query so many times
    Re: Business Place / Section Code Mandatory : How to?
    you can write the following validation for your requirement.
    Open GGB0, press financial accounting, press line item, press validation button, give your validation name, press step button give the step name then press to prerequisites. give the inputs in prerequisites as follows.
    PREREQUISITES:
    SYST-TCODE = 'FB60' AND BSEG-KOART = 'K' OR
    SYST-TCODE = 'F-43' AND BSEG-KOART = 'K' OR
    SYST-TCODE = 'F-48' AND BSEG-KOART = 'K' OR
    BSEG-BSCHL = '29' AND BSEG-UMSKZ = 'A' AND
    BSEG-KOART = 'K'
    CHECK:
    BSEG-BUPLA = 'YOUR BUSINESS PLACE'
    In message
    you can create the message class with the help of your ABAPer and assign the message or you can use the available message and put it as Warning or Error message.
    after complete the above go to OB28 and put the active.
    If want to feel dificulty take the aboper help.
    don't forgat to assign the points.
    If u find solution from our answer, please close the issue and assign points, otherwise ask your futher problem.
    sai krishna

  • Validations for Business place

    Hi Gur's
    I have done the validation in my project for business place is mandatory, but it is controling only the f-43, and fb60 etc but it is not controlling th "MIRO"
    The following condition i had given the validation
    BSEG-KOART = 'K' AND BSEG-BUPLA = '' AND
    BSEG-AUGBL = '' AND BSEG-KTOSL <> 'BUV' AND
    BKPF-TCODE <> 'MIRO'
    we have done the BAPI for MIRO tranasation , for sub contracts , it is any impact for this
    Please suggest valuable solution for this issue.
    Regards,

    Hi,
    Validation works only for the FI transactions and not the other transaction.
    MIRO is MM transactions which flows the data to the FI and not the FI transaction.
    Try the same scenario using the User exit: LMR1M001
    VVR

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

  • How to make Business place mandatory

    Hi, SAP Gurus,
    How to make business place mandatory in "MIRO ". As i know there are two ways
    1) Through Screen Variant T/code: SHD0
    2) Validation
    But here  i Never worked on sreen variant level and validation, I need step by step to make business place mandatory in MIRO
    bY USING ABOVE T/CODES,
    Regards,
    Prabhakar

    Hi Bhanu,
    Use T.Code GGB0 - Validation maintenance - Change Validation overview.
    Choose Financial Accounting in Application area. Select Line Item and click Validation create icon.
    Give a Validation ID BP and text Business Place Mandatory and save.
    Click Step icon - Step 01 - now the prerequisites; check and message will come in margin panel.
    Give text for the step 01. Click Prerequisites. You can see the Table Fields  Structure BKPF, BSEG, and SYST.
    If you double click on this you view individual fields relating to these master tables.
    Your prerequisite may be like this :
    Company Code is = XYZ ; T.Code = MIRO & F-43; Posting key = 31 ( Credit Vendor)
    Double click BKPF > double click  BKPF-BUKRS>  click "=" >  click constant > a pop up box will open
    here fill up your company Code XYZ.  This will automatically come in the top box.  Click "AND". Now  there is a back arrow
    button in the table field panel and come back to the original display of master tables.  Here double click SYST
    Click SYST-TCODE > click "=" > click Constant > in the pop up box enter tcode MIRO. If you want to add F-43,
    you have to click "AND" after this and repeate SYST-TCODE = F-43. Now click back arrow and double click BSEG and
    click BSEG-BSCHL > Click "=" > Click Constant > in the popup window enter 31 and save the prerequisites.
    (For the above requisites, the system will check if  Business Place is 1000 is filled up during transaction and if not it has to
    give a error message.)
    Now Click Check in the right margin below prerequisites menu. Again the table list will be seen with BKPF, BSEG and SYST
    Double click BSEG > click BSEG-BUPLA > Click "=" > Click constant and in the pop up box fill the business place 1000 and save
    the check menu.
    In the right margin now double click message.  Here you can create a message text of your own "Business Place mandatory"
    Save the Message and come back and finally save the Validation so created.
    Now use T.Code OB28 and enter your Company Code > give call point 2 > and Activation level 1 and save the entries.
    Now you can check for the transaction in MIRO where without filling the Business Place field you cannot save the entries.
    Hope the above steps will be clear for you.  If you have any doubt please revert back.
    Best Regards,
    Sadashivan

  • Regarding Business Place Mandatory in MIRO

    Hi SAP Gurus,
    My requirement of making Business place mandatory , I have made a following Validation
    Prerequisite :
    {BKPF-BLART <> 'UP' AND BSEG-KOART = 'K' AND ( }
    {BKPF-TCODE <> 'FB08' AND BKPF-TCODE <> 'MR8M' ) AND U102}
    Check:
    {BSEG-BUPLA <> ''}
    Message Place :
    {  Enter Business Place}
    In exit U102 i have written code
    IF BSEG-KOART = 'K'.
        SELECT SINGLE WT_SUBJCT
        INTO LV_WT_SUBJCT
        FROM LFBW
        WHERE LIFNR = BSEG-LIFNR
        AND   BUKRS = BSEG-BUKRS.
        IF LV_WT_SUBJCT = 'X'.
          B_RESULT = B_TRUE.
        ENDIF.
      ENDIF.
    It is working fine for Transactions  F-02, F-43, FB60. But , it is not asking to enter Business Place for MIRO .,
    Plz help,
    Thanks & Regards,
    Pavan.

    Hi,
    check OSS Note:
    https://service.sap.com/sap/support/notes/42615
    Here it says:
    3. Not all the values are available yet for callup point 1 and 2 for the substitution or validation in Transactions MR01, MRHR, MRHG, MR21, etc. (all with program SAPFMM08R). You should therefore use callup point 3 for the validation in these transactions. The values for callup point 1 and 2 are already available in the logisitics invoice verification (MR1M).
    Are you calling the validation for MIRO in callup point 3 (complete document)?
    Best regards.
    Edited by: Pablo Casamayor on Aug 18, 2009 8:54 AM

  • 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 not working for Business place/section mandatory

    Hiii experts, i am trying to a write a validation for making business place/section mandatory in some of t-codes like f-47, f-37 fb60 and so on... i wrote the following logic in validation
    Prequisite
    BKPF-BUKRS = '1991' AND SYST-TCODE = 'F-47'
    Check
    BSEG-BUPLA = '1991' AND BSEG-SECCO = '1991'
    Message
    Business Place and Business Section does not exist ..
    Moreover i activated the same in ob28 with 2( active, no batch input). After this when i ran f-47 for DP request... it doesnt suppose any error message when i dont write Business place/section... Kindly Guide me..
    Regards
    Abhay

    Hi
    Please put the validation rule as under:
    Prequisite
    BKPF-BUKRS = '1991' AND SYST-TCODE = 'FBA6'
    Check 
    BSEG-BUPLA <> '1991' AND BSEG-SECCO <> '1991'
    Message
    Business Place and Business Section does not exist
    Also post a transaction in system and check the actual t code. For eg, when you post the transaction with F-47, the actual system transaction code is FBA6 and for F-48 it is FBA7.
    Thanks & Regards
    Sanil Bhandari

  • Validation for Business place and section for With holding tax

    Dear friends
    I defined validation for MIRO with respect to Business place and Section code to make mandatory, it is working fine.
    But in case of F-47 / F-48 and FB60 I defined validation but not working.
    Please help me in this regard
    Thanks in advance
    Kiran A

    Hi
    Your query is not clear? What is the prerequisite and check you have defined in validation rule? I doubt that in prerequisite you have defined the T Code MIRO. Pls check and assing the other T Codes also if that is the case.
    Regards
    Sanil K Bhandari

  • BUSINESS PLACE MANDATORY IN FB60

    Hi,
    My client wants to make Business place/section mandatory in transaction code FB60.I searched the forum for it.The answer that I got was to use validation.My query is apart from validation, is there any other way we can do this?
    Regards,
    Devdatth

    Dear:
                Please refer to the link mentioned below
                http://help.sap.com/saphelp_46c/helpdata/en/bf/ec07845db911d295ae0000e82de14a/frameset.htm
                Revert back in case of any ambiguity.
                Regards

  • 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

Maybe you are looking for

  • Finished FCP file too big to burn and quality is needed.. Please helpp me

    I've just completed a 40 minute project that i've been working on for months on Final Cut Pro 5.1.4. I exported it as a Quicktime movie and the finished product is 8.8 GIGS. I have both iDVD and Toast, and have tried for the last two days straight to

  • Account 1700035 0215 is blocked for posting

    Dear all, My user is trying to make a transaction in F-43 but he is getting the subject error message. I checked in FK05 the SECLECTED COMPANY CODE box is unticked. Which means the vendor is not blocked. However ALL company code checkbox is ticked. I

  • Selection by net due date

    Dear all, I want to make a report with selection net due date, for example(net due date in tcode fbl5n). but i dont know how to read the BSID , because there is no field - net due date in BSID. Can anyone tell me how the selection net due date in fbl

  • Using navigateToURL and ExternalInterface.call triggering popup blocker

    I have a button and a text field.  Clicking the button sends the text to a backend server where it does a profanity filter.  I'm using an event listener to get a response from the back end.  If there is no profanity, the swf does a navigateToURL.  Un

  • Unable to in place upgrade server 2012 to R2 - Compatibility fail

    Hi, im trying to upgrade a file server from windows 2012 standard to windows 2012 R2 standard It fails on compatibility check with the this error and im not sure why. Windows server 2012 standard cannot be upgraded to windows server 2012 r2 standard