Validation for bseg-zlprs

Hi,
We need to validate against ztable if an user is authorized or not to change the value of bseg-zlprs in fb02 transaction. All i know is i can use transaction ggb0 to create it but a cant figure wich will be my prerequisite, check and message.
Please any advices, links or the solution?
Best regards
Juan

Hello Juan,
Prerequisite:
If you have any restriction like doc. type, company code etc. Depends on, as Rob said, based on what ocnditions you need to perform this validation.
Check:
You need to check the user's auth. to change the value in the field against some custom table. For this you have to code in some validation exit. You have to copy the program RGGBR000 to ZRGGBR000 & code your exit here.
For the configuration required to achieve this please search in SDN. This has been discussed many times in the forum.
Message:
What is the message you want to give when the validation falis / succeeds. In your case it is the message you want to throw when the validation against the Z-table fails.
Hope this helps.
BR,
Suhas

Similar Messages

  • Validation for Cash payments

    hi experts,
    in our project the client needs a validation for FBCJ transaction for outgoing payments it will not allow more than 20,000/- except cash deposit in to bank(for this transaction it has to allow more than that amount). for this how to validate this rule
    kindly help me in this issue
    Regards,
    Satish

    Hi Satish,
    You can try with following logic in Ob28 Validation:
    Prerequisites:
    BKPF-BLART (Doc Type) = PC or PJ depending on your configuration
    BKPF-BKTXT (Cash Journal Business Transaction) <> Cash Withdrwal by Cheque or whatever name you have for cash withdrawl
    Check:
    BSEG-WRBTR <= 20000
    Message = Error.
    Hope this helps you.
    Regards,
    Sanjay

  • Validation for vendor for invoice Rs.20000

    H expert
    I would like to build a validation for one time vendor for which it should not allow invoice value for <20000
    How to do it. Please suggest me a  step by step config involved in this.Points will be rewarded.
    sk

    Better to write Validation :
    Prereqisit:
    BKPF-LIFNR>=1 AND BKPF-LIFNR<=100
    **Check**
    BSEG-WRBTR
    and Write any Message what you want then SAVE
    Go to OB28 and assign this validatin to our company code and active and SAVE
    I hope this validation useful for you
    If it will useful 4 u give rewards
    Regards
    TML

  • Validation for Profit Center and Trading Partner

    Hi Gurus,
    Please help me in creating validation for Profit Center and Trading Partner.
    I want system to give an error if we use Trading Partner related to particular profit centers.
    Please revert asap.
    Thank You

    Hello,
    Please use T.code OB28 and select the call up point 2.
    Than go to Prerequisite in expert mode and say
    Prerequisite  :           BSEG-VBUND <> ' '
      Check:               BSEG-PRCTR = ' '
      Error Message.: xyz
    I have created Validation understanding if someone gives Trading Partner and also Profit center while posting a doc than it will generate an error message.
    however if you have some diff req please change it accordingly/ take Abapers helps if not very clear.
    I hope this helps
    Regards
    Shireesh

  • Validation for Cash Payment Rs 20000/-

    Hi friends,
    There is one way to set the limit on document not exceeding particular value, i.e. by setting limit on the basis of document type. ( since this is client level setting we can not do the same in our scenario )
    Is there any other way to do the same at company code level ( i.e. any other way which will not have client level setting ) to do such validation.
    We require to do the same for legal requirement of Cash Payment > Rs 20000/- in one Cash Payment Document. We are using the Cash Journal ( FBCJ ) . If anyone know , pls suggest. Will assign full marks if gets the solution.
    Thanks.
    PS

    Hi,
    You can create the validation rule for your requirement without touching cross client configuration.
    Validation will be possible. Pls follow the proceedure thorugh OB28/GGBO
    Cash Validation for More than Rs.20,000/-
    Prerequisite:
    t-code (SYST-TCODE) = fbcj
    company code (BSEG-BUKRS) = 'xxxx'
    GL account (BSEG-HKONT) = 'cash account defined for cj'
    Dr/Cr indicator (BSEG-SHKZG) = 'H/S' ( if you want to resrtict payment upto the prescribed amount enter H and to restrict receipt enter S
    Check:
    Amount (BSEG-DMBTR) > 20000
    Message:
    Create a message in se91 and assign it.
    please assign the points if its useful.
    Regards
    sai krishna

  • Validation for MWSKZ in FV60  - parking

    Hello all,
    I have created the validation for FV60 - only 2 tax codes would be allowed to post inot FI
    Now the validation works but even I had the error when i enter those correct tax codes.
    The field in debugging BSEG-MWSKZ is empty,which explains why I have the error all the time
    could you please let me know if its not possible in FV60 have this validation working?If its possible, can you plese let me know if this can be solved by  BTE SAMPLE_INTERFACE_00002218 which is used for Parked documents?
    thanks in advance for your helo
    regards
    Hana

    hello Santanu,
    this is the validation how is written
    Prerequisite:
    SYST-TCODE = 'FV60' AND BKPF-BUKRS = 'MX30'
    Check:
    BSEG-MWSKZ = 'L1' OR BSEG-MWSKZ = 'L2'
    Message: ( in spanish)
    Codigo de impuesto incorrecto, utilice L1 o L2
    and like this is not working, actaully it is working but not even for L1 and L2 -> I get the same error message
    can you please help? would it be possible?
    thanks
    hana

  • Validation for REF3 in FV60 - parking

    HI ,
           I have created a validation for REF3 field mandatory in GGB0. But the message is not getting triggered for the Condition
    Prerequsite :
    SYST-TCODE = 'FV60' AND BKPF-BLART = 'KR'
    Check :
    NOT BSEG-XREF3 = ''
    Then message . But this is not working in FV60 . Please suggest any solution .
    Regards
    Shankar

    Dear
       u should create condition on  CLIENT LEVEL  then it will work
    With regards
      Ajeesh.s

  • Validation for BSED_WSTAT

    Hi,
    How can I set validation for BSED_WSTAT İin OB28? There are only BKPF nad BSEG tables in OB28?
    Thanks..
    Linlin
    Edited by: LIN LIN on Jul 8, 2009 3:48 PM

    Hi,
    You can try following Business Transaction Events in FIBF.
    00001011     POST DOCUMENT:       Checks at line item level
    00001020     POST DOCUMENT:       Prior to final checks
    00001030     POST DOCUMENT:       Posting of standard data
    00001050     POST DOCUMENT:       Accounting interface
    00001025     POST DOCUMENT:       Final checks completed
    Just sit with your ABAPer and tell hin your logic and show this Business Transaction Events.
    Regards,
    Jigar

  • Validation for MM

    Hi,
    Can we create the Validation for Material relevnt like for Material master , movement type etc..,
    Regards
    Akmal

    in FI posting angle with the narrowest sense, document from MM module can be checked by FI rules when posting, but you generally have to use validation user exit by limited information to be stored in BSEG table.
    furthermore, you'd better check whether MM enhancement provides the function with your MM consultant.

  • Validation for profitability segment in Account document

    Hi Team,
    Currently We are using validation for cost object i.e. either cost center or WBS elements enter  in a  GL account line items and if we are enter both cost object then system will be give Error message . in this validation we have added validation for profitability segment . System will be allow only one at a time enter in Gl accounts (i.e. cost center /WBS elements / profitability segment ). But it is not working for  profitability segment so can you help regarding this.
    Thanks in Advance
    Regards,
    Manas deo

    Hi
    I think you should check
    BSEG-KOSTL <> "" (Blank) AND BSEG-PROJK(WBS) <> ""
    OR
    BSEG-KOSTL<> "" AND BSEG-PAOBJNR <> ""
    OR
    BSEG-PROJK <> "" AND BSEG-PAOBJNR <> ""
    trigger the error msg
    br, Ajay M

  • How to put validations for Bank Gl accounts

    Dear Gurus,
    I have a requirement, where i want to make Profit center mandatory for the Bank Debits only.
    Can you please suggest if my below written Validation would be useful  in this respect.
    Please correct my coding also. As i am doing validation for first time.
    My working in Validation at line item level is :
    Prerequisite: BKPF-BURKS = "ABCD"
    Check : BSEG-BSCHL = 40 and BSEG-HKONT = "xxxxxx" to "yyyyyy"
    Message: Please enter profit center.
    regards
    NJP

    Hi,
    You can acheive it in  2 ways.
    1. (GL account >= xxxxx AND <= yyyyy)
    or
    2.  Create a set for GL account using t-code GS03 and use as -
    GL Account in <set name>
    Regards,
    Sridevi

  • Validations for FB70, FB75 and FB60, MIRO without Tax Codes

    Hi,
    can u help on the below issue.
    I want to restrict the users while posting(FB70, FB75 and FB60, MIRO) without tax codes, please provide Validations for the same.
    Block AR/AP for postings without tax code - AR is FB70 and FB75 - AP is FB 60 and MIRO
    Thanks&regards,
    Rajesh

    Hi,
    Please check below validations for FB60 AND MIRO ,FB70 AND FB75
    Prerequisite
    BKPF-BUKRS = 'xxxx' AND SYST-TCODE = 'FB60'
    OR SYST-TCODE = 'FB75' OR SYST-TCODE = 'FB70'
    OR SYST-TCODE = 'MIRO'
    Check
    BSEG-MWSKZ
    Please check ,
    NARESH

  • 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

  • Validation for f-43. urgent please

    Hi All,
    I wrote a validation for finance accounting using GGB0 tcode as follows.
    Prerequisite:
    BKPF-BUKRS = '1000' AND ( BSEG-KOART = 'K' OR
    BSEG-KOART = 'D' )
    Check:
    BSEG-SECCO <> '' AND BSEG-BUPLA <> ''
    Message:
    Enter values in Business place and Section Code.
    activated using T.code OB28.
    It is working very well in f-43 till posting the Document but when try to make a payment through f-53 or f-58 it is giving a problem. That is, The value of secco is not passing and the validation message is popping up even though the values of secco(section code)and bupla( business place) are passed and posted in the f-43.
    It is not getting traced why the value of secco is not populated and if i remove the validation it is working fine.
    regards
    PSNG.

    Hi,
      I may not solve your problem, but i can give you small hint.
    before
    Check:
    BSEG-SECCO '' AND BSEG-BUPLA ''
    Message:
    Enter values in Business place and Section Code.
    you put an if condition for the transaction code f-43 and try.
    My cying is if the t.code is f-43, then only that piece of code will work, else it wont.  so, f-58 may not disturbed.  Just try.

Maybe you are looking for