Validation to restrict bank posting in exit RGGBR000

Dear Expert,
I have a requirement : when user try to parking or posted document FI in F-53 with GL 1001*, then user exit will trigger to check whether user has role or not.
My Problem is : How could I store the logic for checking role to specific user in user Exit ZRGGBR000 ?
and how could I store the validation rule in OB28 ?
Need your help for this matter, sorry for to much asking.
Best Regards,
Dimas W.

Hi
Pawan is right. Try before with authorization objects. Using tcode SU24 for any tcode is possible to know what auth.objects works for this tcode. After set it in profiles (tcode PFCG). If you do it (tcode FBZ2) I can read F_BKPF_BUK. Perhaps this post would be moved to FI forum or security forum.
I hope this helps you
Regards
Eduardo

Similar Messages

  • Validation for restricting GL posting

    Hi,
    I want some GL accounts to be posted through only one transations. How I can do this validation or authorisation or any other method.
    Please mention detailed step by step process of solution.
    Cheers
    Moderator: Please, search SDN

    Hi,
    For e.g. GL Accounts 400000 can only used in transaction FB50 then below write validation with call up point 1 (Header Validation).
    PREREQUISITES
    BSG-HKONT = '400000'
    CHECK
    BKPF-TCODE = 'FB50'
    Regards,
    Chintan Joshi

  • System shud restrict stock posting of 04 inspection lot

    Dear ALL,
    Pain Area - whenevr Process order get release 03 inporcess inspection lot generates and after Process order get confrimed
    O4 inspection lot generates , Evry time we use to process 04 Inpsection lot and then stock posted from Quality to Unrestrcted and finally , urestricted stock goes to market . NOw 03 inpsection lot remains in Created status , system not restriced for 04 activity i.e stock posting . So I want to restrict stock posting of 04 inspection lot  if 03 inpsection lot doesnt have UD status .
    please suggest .
    Regards,
    Prerna Verma

    Do you want to put a hard error when UD is taken for O4 lots, if the corresponsding SF lot is not released? This will stop users releasing the 04 lots and personally I am not in favor of writing a piece of code in User exit at UD and stiop the release of a Finished Batch.
    I have worked on similar requirement where users used to check manually the SF batch - UD prior to release a Finished Lot. to reduce the manual work and data transpose errors, we have used a calculated char. SF batch released? and assigned it in the finished product inspection paln.
    We copied the standard FM - QEFC_FORMULA_CALC_EXAMPLE and written a logic to look the consumed SF batch is released or not .The Function Module is assigned to a Calculated Characteristic u2013 the user will then be able to Calculate the characteristic during Results Recording of a batch of Finished Product to determine the Release Status of the issued batch of Semi-Finished material, as opposed to having to look it up manually.  We looked at the Q-score to decide a SF batch is released , rejected or UD not taken. The Function Module used the name of the Master Inspection Characteristic (MIC) and the Material Type of the Inspection Lot to determine the Inspection Lot Q-Score to return.
    With this set up you will not issue a hard error at the time of UD for Finsihed batch at the same time users will know the SF batch status when the results were recorded for Finished batch.
    If your requirement is a Hard error, simply go for the user exit suggested and write a logic to look for the Semi Finished Batch consumed.
    Hope it helps.
    Thanks,
    Ram

  • Restrict Plant Posting

    Hi,
    I have a scenario in which I have to restrict plant posting when i am posting company codes.
    Lets us say, I have to post a journal entry for a company code A and plant 1 only. We should not allow users to post journal entries other than Plant 1 when you are posting to company code A.
    I wrote a validation saying that  company code A & gl account 12345 is not allowed to post when plant 2.
    But this does not work. Please advice.

    Please check the validation again, your statement might be wrong.
    It should be like below
    Co. code = 1000
    GL Account = 1234 & 4567
    Plant =/= Plant2
    Rgds
    Murali. N

  • Validation to restrict the user at parking level

    Hi,
    I have created a validation to restrict the user to use particular G/L codes only using GGB0. It is working fine and it gives the error message in T-code FB50 & FB60 immediately after entering the un-authorized g/L codes. But still the user is allowed to park the document. and the same validation works in Z tcodes. But in Z tcodes the error message comes only at the time of Simulate/Save as complete or Post.
    But i want the error to display immediately after entering the G/L Codes in Z transaction also. Can you please help me to complete the validation by restricting the user to park also

    HI,
    Yes. Thanks for your valid answer. It will not work in parking T codes. It will work only in Posting T-codes. The Z-tcode what we are using all the parking transaction. Then I should try using the Badi. I will try.
    Divya S
    Edited by: S Divya on Dec 8, 2011 5:12 AM

  • Need to restrict banks in payment form in AP

    Dear All,
    All banks are listing in AP Payment form.
    Please tell me how to restrict banks there.
    Regards,
    Deeps.

    Hi,
    In Bank Accounts creation form there are 4 tabs in left hand corner. In 1st tab Account Owner & Use , there is a field to tick Payables, Receivables & Payroll.
    Untick Payables. If you have done so then you cant edit this, but in Account Accees tab where you assign this bank account to OUs there is another filed to tick Account Use for Payables. You can untick this because this is not one time editable field.
    Regards,
    Dimansu

  • How to restrict the posting document from the parked user

    Hi All,
    Please help me in the below requirement
    The requirement is, need to restrict the posting of document by the same user, who has parked the document.
    For this I did the code changes in BTE: 00001140 by copying the function module:
    u2018SAMPLE_INTERFACE_00001140u2019 into new function module asu2019 Y_IB_FI_PROCESS_00001140u2019
    In this I have restricted as
    IF ( sy-tcode = FV60 or
    sy-tcode = FV50 or
        sy-tcode = FBV0 ).
    IF i_parked = u2018xu2019. " document has already been parked
          READ TABLE t_bkpf INDEX 1.
          IF t_bkpf-usnam EQ sy-uname. " park user = current user ?
            t_exctab-okcod = 'BU'.    " do not allow to post
            APPEND t_exctab.
          ENDIF.
        ENDIF.
    This function module is getting trigger while parking and posting the documents
    While posting the document, the parameter i_parkedu2019 is not getting the values as u2018Xu2019,
    To get the values as u2018Xu2019 for the parameter: i_parked what can I do?
    Can you please help me, is there configuration side need check?
    Or do I need to write code some where else.
    Thanks in Advance
    Rambabu .A
    Cross-post

    Hi
    Well, in such a case, it might be justified... BUt again, I would ask how would you differentiate between What USER1 can park and what can he post?... Certainly, it would be by means of fields like Doc Type, etc...
    Else, if you leave it to the discretion of USER1 and give him both the authorizations, why would he like to park when he can post the doc? 
    Anyways, now coming to the BTE, each BTE uses a structure... For eg: BTE 1120 uses BSEG_SUBST... If the fields you desire are not available in the structure, then you can also enhance the structure... See if you can enhance the structures involved and achieve the result
    Regards
    Ajay M

  • Option to restrict MIGO Posting date after GRR posting date

    Dear All,
    My client is looking for an option to restrict the posting date of MIGO to be after GRR Posting date. Is there any way to do it? where the system don't allow you to post a MIGO without the GRR transaction has taken place?
    One option i got is to tick the GR MESSAGE tick which creating a PO. Is it the right solution?
    I would request you all to kindly give in your valuable inputs if in case anything else can be done or for the suitability of this option.
    Regards,
    Prashant

    Hi
    Could you specify your business scenario in details and also specify what is GRR
    Regards
    Sanil Bhandari

  • Inbound Delivery - Restrict GR Posting against the PO

    Hi,
    I need to restrict GRN posting against the PO in case inbound delivery is already created against the Po. Current the system permits to post the GRN both against the Inbound delivery and against the PO.
    Pls advise.
    Thnx & Rgds,
    Shekhar.

    Hi Shekar,
    If you have maintained confirmation control key in the PO, in Item overview - Confirmation tab.
    You have to create Inbound delivery through T-code VL31N, once Ind.del created, the MIGO is possible only by Ind.del No....Pls check wether the PO is subjected to Ind.del.
    Confirmation control key can be mainatined either manullay in PO or
    it can be maintained tro Inforecord, which will be picked automatically when you create the PO.
    Thanks
    Vasanth

  • No posting rules exits in acct key Mess no.FF714 in trx.FF70

    Dear All,
    We have already implemented the TAXINN procedure and posted invoices in MIRO, FB60, VF01, FB70.
    Where aas we have added few more condition types which is related to the SD service tax in the TAXINN Procedure for posting the invoices in FB70.
    Where as the system gives a message that No posting rules exits in acct key Mess no.FF714 .
    I have already checked the T007a table for the account keys configured and also checked the posting rule for the tax codes.
    Please suggest me how to proceed further.
    Thanks for your cooperation..
    Thanks and Regards.

    Hello Suresh,
    Have you been able to solve that problem...
    I am getting the same problem. KTOSL is empty and have tried lots of debugging to see why it's happening, but did not find anything.
    Kindly let me know if you have been able to solve the problem and how?
    Thanks in advance.
    Parvez

  • Restriction of posting parking vendors in tcode FV60

    Hi Experts,
    i am trying to restrict the posting of parking vendors for tcode FV60 by using  FIBF tcode to deactivate posting button as per the documentation mentioned there. but, the button is not deactivating.
    Is there any other procedure to deactivate the posting button in tcode 'FV60'.
    Thanks in advance.
    by
    shiva
    Edited by: shiva pandu on May 6, 2008 7:45 AM

    HI,
    I got the solution. we can di it through the tcode FIBF
    by
    shiva
    Edited by: shiva pandu on May 7, 2008 11:35 AM

  • Tabular form validation to restrict user

    Dear all,
    I want to apply the validation on tabular form for my inventory module and I want to restrict the user  that the received quantity of particular item should not be greater than  the P.O quantity
    For example
    In  P.O
    Item Qty
    A 20
    Received Quantity
    Item Qty
    A 21
    Or if items are received in two shipments like as following
    Item Qty
    A 10
    A 11
    I want to put the validation to restrict the user that he can’t save the item quantity more then ordered quantity weather is received partialy or all at once, but I do not understand how can i do that.
    I m using Apex 4 with Oracle 11G R2 on windows Server 2003.
    Please help
    Thanks
    Suhaib
    Edited by: suhaib ahmed on Jun 18, 2011 1:39 PM
    Edited by: suhaib ahmed on Jun 19, 2011 12:53 PM

    hi,
    Refer Denes Kubicek - Apex Solution:
    http://apex.oracle.com/pls/otn/f?p=31517:41:7446375838232779:::RP,::
    http://apex.oracle.com/pls/otn/f?p=31517:214:7446375838232779:::RP,::
    Thanks,
    Kartik Patel
    http://patelkartik.blogspot.com

  • User Status - Restrict FI Posting

    Hi All,
    The scnerio in my project is as follows,
    After completion of the project system status set as "TECO". I am not going to set system status as "CLSD"
    After TECO, system is allowing FI-Postings to WBS Elements. I nned to restrict this posting through User Status.
    1. How to go ahead?
    2. If I set user status to Project definition, Will it apply to all WBS elements?
    Regards
    Suresh

    Hi ,
    For creating user status we have to  use transaction  OK02
    Here create a user status profile with user status NFIP- FI posting not allowed.
    Select object type as WBS element and once u double click on the NFIP - FI posting not allowed u can see the system status. For the system status TECO select the radio button set. So that when u do the TECO for WBS the NFIP status will be activated.Also similarly for FI posting options select forebidden option against the individual system status.
    This user status profile u have to assign to the project profile.
    2.If I set user status to Project definition, Will it apply to all WBS elements? As per me this is not possible. Only PREL ie partial realeas of Project defn can restrict release of project.
    Rgds

  • Validation on Central bank indicator

    Hello Experts,
        We have written a validation to Set up a warning message (validation) for set of company codes for their intercompany vendors to put in a central bank indicator. The pop-up field message should be: Note: If it is a foreign payment, please enter central bank indicator!
       We are able to through the validation at Posting key level(31) (Tcode F-43) .
      But here our problem is to restrict the above validation for set of INCO vendors. Since the above  validation is working fine but for every INCO vendor because we are restricign at Posting level but we do not want central bank indicator to be made mandatory for every INCO vendor.
        Can anybody help me in this regard?
    Thanks a lot
    Suresh

    hi,
    1)group your vendors:
    -with field vbund
    -own custom table
    -another field of LFa1/LFb1
    2) if field is not available at runtime with normal validation, use an exit like Re: Block Postings to specific account/profit center combinations
    pls reward useful answers
    thank you
    Andreas

  • Validation for partner bank type

    Hi Experts,
    My client wants a functionality that partner bank type and document Currency should be the same, if it is not same user should not allow to post. Can any one tell me is there any validation. How to wirte validation give step by step procedure.
    thanks
    Balu

    S

Maybe you are looking for

  • Advice on Creating Pedal Steel Guitar Instrument

    Hi, everyone. I am looking for some advice on creating an authentic Pedal Steel Guitar software instrument. I have all 4 Jam Packs, so would have access to any existing Guitar software instrument. I've played with the Jazz Chorus Electric, Twangy Ele

  • Printer install, test print ok, will not print anything else, cannot select as default printer

    Printer installs fine, test pages, alignment pages, colour print pages all test fine, they are selected to print from the option on control panel. Trying to print from any other program, the printer is not listed as an option. Going through control p

  • HT201210 None of these solutions are working.

    None of these solutions are working. I plug in my newly restored iPhone and under the category in iTunes, I have the option to click it. When I do so, I get an empty box on the screen, below a Apple logo on the left and a padlock on the right. Any id

  • Safari Closes When Viewing Aperture Link

    Every time I try to view the new Aperture product on Apple's website, the link starts to load and then closes down Safari. The report is as follows: Date/Time: 2005-10-21 15:41:36.827 +0200 OS Version: 10.4.2 (Build 8C46) Report Version: 3 Command: S

  • Rename the request name

    for example , I have a request called "test_reneme" , saved and put in a dashboard. then, I found the name is not correct and want to change the name. how to rename the request name??