Validation GGB0

Hello
Can anyone clarify how many validation can we have in a company code?
there is already 1 validation in a company code for TDS i.e. line item validation for entering Business place
& now i want to create a line item validation for Cash Payment above 20,000/-
But in OB28 when i try to activate both line item validations, it gives error!
& in OB28 only 1 line item validation is allowed to be entered per company code.
Can anyone guide me for maintaining more than one validation per company code?

I created a new validation but when i try to activate it in OB28
i have to fill following information
Company code =1000, Call point = 00002 - Line item, Validation using F4 & Activation level = 1(Active)
So it gives error that line item already exists.
in OB28 already 1 item exist for Company Code = 1000 & Call point = 00002 & Activation Level = 1(Active)
So it is not allowing me to activate 2nd validation here
What should i do now?

Similar Messages

  • Asset master validation GGB0 and OACV

    Dear All,
    I want to create a validation in Asset maser time-dependent tab to make sure the Responsible cost center of the WBS  element and Cost center of asset master  should match, if not, error should thrown. my problom is in logical field group 3(time dependent data) already there is validation in OACV, so system is not allowing me to create one more validation in the same area, when i try it is throwing error " an entry already exits with the same key ".. so i written my logic in the old validation which checks location, it is working fine. and some people are saying when it moves to production it will overwrite the original one. but we moved from dev client to quality, we did not find any problom, both the logics in one validation are working fine, what happens if move to production,.
    is it overwrite the old validation.
    cant we give two validation in the logical field group 3( time dependent tab.),, your inputs are highly appreciated.
    validation for asset master.- GGB0
    per company code activation for asset master.- OACV

    Hi,
    You should simply add additional step in your current validation, without creating a new one. So, in OACV the definition stays the same; only there will be a new step within your current validation.
    Regards,
    Eli

  • Validation (GGB0): Using the operation "LIKE"

    Hello,
    I have encountered a small but agitating issue with creating the prerequisite command for the Validation (tcode GGB0).
    Im trying to create a presquisite that would allow the validation to procceed if a certain string of text is not present. My current command in the Prerequisite is <b>NOT ANLA-TXT50 LIKE '%(LVA)%'</b>. Unfortunatley the equation doesnt seem to respond properly.
    What is the solution to this? Or is there another solution (with the same results), that I can use?
    Thank you and good day.

    Chad ,
    cannt u make use of Exit in that GGB0 , check the Z version of  program GGBS000.
    these validations are associated with this program
    Regards
    Prabhu

  • Customisd err message at MIRO - Business area V/s company code validation

    Hi experts,
    We have simple validation for company code V/S Business area check in place ,
    While doing MIRO system throws error for a particular company code and Business area
    combination the set error message ( customized - Business are does not match with company code)
    This validation has given as a sub node (step) of another consolidation trx. types against GL validation (that was in place earlier, thats why)
    But when we do through F-02 (Journal entry ),F-43(vendor invoice), F-22(customer invoce) for the same combination system passes the entry !!!
    what may be the cause ?
    the error message is the standard one set -251 this message is custom created at Validation (GGB0)
    Business area doesnt belongs to the company code
    Message no. /ASU/GENERAL251
    One more thing Noticed
    The Material PO is a account assigned (K) cost center and the
    cost center Business area is 1003.
    In PO plant is 1003 and i checked the MSEG the plant shows 1003
    But in Logistics assignment the Business area 1001 is tagged to Plant 1003
    not THE BUSINESS AREA 1003 !! . I mean at plant/valuation area to Business ara configuration
    the valuation area 1003 is assigned to Business are 1001 not to Busienss are 1003!!!
    Edited by: melgibson on Feb 15, 2012 1:42 PM
    Edited by: melgibson on Feb 15, 2012 1:43 PM

    Hi
    thankx for the reply,
    there is no exit/ set for validation here
    I have done like this
    Pre requisite
    company code = xxxxx
    Check
    Business area = xxxx or BA = XXXXXX or  BA = XXXXX  ......
    Message
    E           Message class     /ASU/GENERAL
    251
    Business area doesnt belongs to the company code
    Message variables
    1 BSEG       - GSBER
    The t codes like F-43 AND f-02  1003 cc TO  1003 BA is perfectly working !!! our problem is at MIR7/MIRO
    only there the error pops up even the combination is allowed in the above mentioned validation??
    Edited by: melgibson on Feb 15, 2012 2:03 PM
    Edited by: melgibson on Feb 15, 2012 2:04 PM

  • How to trace the message in which line of program used?

    Dear fellows,
           Many times when we run a t-code (especially standard t-code), it will return many message log. but when we debug the t-code to trace the error message, it is difficult to find why raise this error message. Even we can not find in which line of program. We can not use the where-to-used list in SE91 to trace, because it is not written like this:       message 033(FD) TYPE E.
           For example in validation(GGB0)  we use some message, but when this message come out, we didn't know this message in which program raise.  And it also can not be traced using message at in debug mode.
           In many case, the way of using message is not easy to be trace , but if we can find which line of program to raise this message, would help a lot for finding the cause problem.
           Is there any tool for us to trace message ?
           Thanks for your sincerely answer!

    Hello All,
    If the message log is filled like this
      L_S_MSG-MSGTY     = 'E'.
      L_S_MSG-MSGID     = 'BL'.
      L_S_MSG-MSGNO     = '303'.
      L_S_MSG-MSGV1     = '007'.
    Can you trace this message by putting a watch-point/break point? I guess no! If some has YES as answer, please feel free to correct me.
    That is why whenever filling a message log/return table it is important that we ensure that the message can be traced back using "where-used". Hence the usage of MESSAGE...INTO (or the pre-historic, IF 1 = 2 ... MESSAGE ... ENDIF) construct.
    BR,
    Suhas

  • Error while doing MR11 as enter Profitability segmet as Cost object

    Hi All,
    While doing MR11, we noticed a error message (ZC - 001) as "Enter Profitability segment as Cost object for Revenue and COGS posting".
    The specified Material account is created as Cost element (CE Category 11) and in OKB9 configuration this cost element is choosed (ticked) with the option "profitability segment". Also there is no substitution rule to derive profitability segment in OBBH substitutions.
    However there is a validation (GGB0), where the above specified Material account is included in the range of accounts in the Prerequisite, and Check as "Profitability segment is > (greater than) 0000000001 and with the message maintained as "Enter Profitability segment as Cost object for Revenue and COGS posting".
    Can any please help why this error has come at the earliest.
    Thanks & Regards
    Karun

    Hi Eli,
    Thank you very much for reply.
    I hope the note 184987 is not applicable in our case as the Field status of specified Material account does not have required entry for Profitability segment.
    Can you please let me know if we have entry in OKB9 and existance of entry in Validation creates the problem and throws the above error message?
    With regard to other note 134484 which you have specified on "error in Account assignment check in MM transactions" says "A detailed default account assignment (for example profitability segment) was defined in Transaction OKB9. However, the profitability segment is not set up correctly for goods movements: the characteristics material, plant, business area are missing. A later check of the profitability segments against material, plant and business area then generates an error message since the profitability segment is inconsistent".
    Is there any way to confirm whether this situation is leading to our error before implementing this note.
    Thanks & Regards
    Karun

  • Payment Method & Payment Term as display in Vendor invoice posting

    Hi All,
    We like the fields Payment Method (ZLSCH) & Payment Terms (ZTERM)  to be in non editable mode in all forms of Vendor Invoice Posting ( i.e FB60, MIRO,etc).
    Can we achieve this, if so how.
    Do suggest.
    Regards,
    Tim.

    Hello,
    Then I would suggest a validation (GGB0) with the following logic (be careful this is not ABAP):
    IF COMPANY CODE = <SMTHNG>
    AND DOC. TYPE = <SMTHNG>
    AND POST. KEY = <SMTHNG>
    SELECT SINGLE * FROM LFB1 WHITH VENDOR CODE
    CHECK <PAYMENT TERMS> = <LFB1-PAYMENT TERMS>
    ERROR MESSAGE: YOU CAN NOT CHANGE PAYMENT TERMS
    Best Regards,
    Dimitris

  • Field Selection at Header Level for FB60/FV60/MIR7/MIRO

    Hi All,
       I am facing a problem  for making few feilds mandatory at header level for the above transactions.
    Feild required to be made as mandatory are
    1. POR Number
    2. POR Ref.No.
    The above two feilds  are sepcific to Switzerland Business Process.
    Please  guide me how i can make/add/delete/reqdentry/edit for any of the feilds at header level.
    Thanks
    Sudhakar

    while creation of document type... there r 2 fields which u can make as compulsory.... check in OBA7
    it has header like: required during document entry
    so whenever u use the specific document type these fields will be mandatory
    for other fields on header U can use validation GGB0 to do so...

  • GGB0 Asset Master Validation of fields on different tabs, on SAVE button

    Hi, Experts.
    For the the validation step in GGB0,  I need to trigger the validation step when the SAVE button clicked in AS01.
    The point is, you have to trigger the validation step with ANY tab-screen in AS01 is ACTIVE ( General , Time-dependent, Allocations ...)
    Requirement:
    When following 2 conditions are satisfied, show error message and let the user to change the Capitalization date.
    Cond.1:  the Capitalization date ( ANLA-AKTIV ) on 'General' tab  is one specific value, YYYYMMDD , not Blank.
    Cond 2 : the City(ANLA-GDLGRP) on 'Allocations' tab includes one special value XXXXX, not Blank.
    I implemented the check and activated with OACV,
    with FGT  = 'A' and logical field group is 002 ( Posting information ) .
    The prerequsite on GB00 is as follows.
    [ (ANLA-GDLGRP <> 'XXXXX' ) AND ( ANLA-GDLGRP <> '' ) ]
    The check  is as follows.
    [ ANLA-AKITIV  <> 'YYYYMMDD' ]
    The current behavior on AS01 is as follows:
    The check works well only when  you click SAVE with 'General' tab active.
    However, it  does NOT work on different tabs ( Allocations, Time-dependent, and so on... )  are active.
    Normally, the users hop around different tabs in AS01, and finally SAVE.
    So  I can not expect which tab is active when the 'SAVE' was clicked....
    Need help & thank you lot in advance

    The link mentioned by you ToonS is not acessible.
    Here is the link:
    http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • 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

  • FI Validations through GGB0

    Hi
    I have a requirement where i need to post a warning message based on the date difference between Invoice date (BKPF-BLDAT) and posting date (BKPF-BUDAT) while posting a document in tcode FB60.
    I tried using the tcode GGB0 to build a validation but it did not help. I looked into the available userexits (U100) and tried to implement it. However, the form U100 refuses to recognize the fields from BKPF.
    Can some one throw light on how to write your own code in these userexits?
    Thanks
    Nag

    Hi,
    For the first case where you have directly put the validation in GGB0 you can check the following things
    1) Settings in Tcode OB28 for activating the validation for a paricular company code.
    2) Try Running the Generation program RGUGBR00.
    Regards
    Abhishek

  • FI Validations in GGB0 at complete document level

    Hi
    I have a requirement where i need to do a validation in FV60/65. Earlier, for a similar requirement for validation at the header level, i have used GGB0 and wrote custom code in the available userexit ( i had made a copy of RGGBR000 and implemented custom code in the copy) and replaced the standard program RGGBR000 in tcode GCX2)
    Now, when im trying to implement a similar solution at the line item the userexits in GGB0 are not being accessed by the tcode FV60. Can someone explain where i could have gone wrong.
    Note: I have activated the validations in OB28.
    Thanks
    Nag

    Closed

  • GGB0 : Validation

    Hi,
    i implemented an error message in GGB0 (with prerequisite, check and message), but i have a standard message when prerequisite is met and check is not fulfilled :
    "<b>Validation unsuccessful                                                                               
    Message no. GB071                                                                               
    Diagnosis                                                                               
    This message is issued if a validation prerequisite is not met, and the 
        user who defined the validation has not defined an error message.  This 
        message is the standard message displayed when a validation prerequisite
        is not met.                                                                               
    Procedure                                                                               
    Correct the values entered and repeat the action.  Ask your system      
        administrator to define a message for the special error. "               </b>
    so please how to define and personalize this message.
    i hope your help.
    regards

    Hi,
    goto GGB0
    open ur created validation
    goto step001(or the step number that u created)
    goto message, double click on it,
    there you see you message class on the right side of your screen.
    click the edit button beside it,
    and create your own custom message in new or existing blank message number,
    save it and give that message number for your validation.
    hope this will work.
    Assign points if helpful
    regards,
    chaitanya

  • Transport validation in GGB0

    Dear Experts,
    How to transport validation changed through GGB0? since the menu 'validation-transport is not display'. I have try /nsu53 but no authorization failed there.
    pls advice.
    thanks

    solved.
    IMG-FA-special purpose ledger-tools-transport-transport validation

  • FI Validation Issue - OB28, GGB0

    Can any body help me in the following validation -
    Requirement - I'm trying to create a validation so that only specific document types can post to specific GL accounts.
    I'm implementing this requirement by line item validation.
    I started with the simple validation as below -
    Prerequisite -  BKPF-BLART = 'S1'
    Check         -  BSEG-HKONT <> '0000343433' (ABAP not equal to since can not be displayed between BSEG-HKONT and the account number)
    Message     -  Error Message
    It is not working. I have also tried the below -
    Prerequisite -  BSEG-HKONT NOT IN ZTEST
    Check         -  BKPF-BLART = 'S1'
    Message     -  Error Message
    where ZTEST is a set of GL accounts. It is not working either.
    I have even generated everything by program RGUGBR00. I tried it by setting breaking point also; it satisfies the condition but message does not show up.
    Also system is not allowing me to put something like this -
    Prerequisite -  BKPF-BLART = 'S1'
    Check         -  BSEG-HKONT NOT IN ZTEST
    Message     -  Error Message
    Please help.
    MV
    Edited by: mv reddy on Feb 11, 2008 11:37 PM

    BKPF-BLART = 'S1'
    BSEG-HKONT IN ZTEST

Maybe you are looking for