FV60 user validation for posting

Hi Experts,
Following is my requirement.
In transaction FV60.
Whenever POST button is clicked.
The system has to validate the user. If the user is creator of the invoice it has to popup a message saying. u201CInitiator cannot post the Invoiceu2019.
Do we have any userexits or BAdi u2018s to do this.
I have the list of Badis and userexits but donno which one best suits my requirement. and i hardly understand anything from the documentation.
If any one had similar or close to this requirement. Please suggest some ways to fulfill this requirement.

You could try to check that with a [FI validation rule|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=fi+validation&adv=false&sortby=cm_rnd_rankvalue] ([OB28|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=ob28&adv=false&sortby=cm_rnd_rankvalue]) .
Regards

Similar Messages

  • Validation for posting date.

    hi,
    i am creating a validation for fb01 where the posting date should not be less than the posting date for last document posted for same doc type.
    we have assigned different number ranges for different a set of document types.
    From which table can i get the data regarding number ranges used for particular doc type or group of doc types.
    for example i need the nyumber range assigned to doc type 'SA' and the last doc no. assigned to a document.
    Regards,
    Tarun Bahal

    i have checked FBN1.... i beleive its for creating number ranges.....
    how do we find out which range is assigned to which doc type.
    Regards,
    Tarun

  • User validation for the BSP application

    I wanted a user to access the bsp application.
    I already have the user names maintained in the database who will be using the application.
    i am using the application class for my application.
    where should i do the user validation and how.
    i know tst if i would had used the model class then i can do it in the request method of the model class.
    but where to do it when using the application class.
    Thanks

    Hi Din,
    I assume that the usernames that are present in your Database also exists in the WAS Server.
    i.e. The database has a part of users that are present in the WAS Server.
    Your need is to allow only those users in the database to access your bsp application and not others correct!
    If your first BSP Page is a ...
    <b>View</b>
    1.In the DO_INIT method of the Corresponding Controller Class populate the internal table that is present in the Application Class with the usernames that are present in the database.
    2. In the DO_REQUEST method of the Corresponding Controller Class check for the username who runs your BSP Application is present in the Database.
    You can get the username who run the bsp application using the system field...
    data: username type string.
    username = sy-uname.
    So if the <i>username</i> is in the database show your bsp page else show an error page.
    <b>You can directly check for the sy-uname is present in the database.</b>
    <b>Page with Flow Logic</b>
    It is same as MVC only thing is that method name changes...
    Place the code in the DO_INIT of MVC in onCreate of Page with Flow logic.(Populate the internal table of the application class with the usernames from the database)
    Place the code in the DO_REQUEST of MVC in onRequest of Page with Flow logic.(Check whether the sy-uname is present in the itab or directly in the database).
    Hope it solves your problem
    Regards,
    Maheswaran.B

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • BADI or User Exit for Post Goods Issue Reverse (VL09)

    Hi,
    Could you please let me know any BADI/User Exit which will trigger while doing Post Goods Issue Reverse through VL09 transaction.
    Thanks,
    Sandeep

    Hello,
    If you can be specific about your requirement, then response can be better.
    Still, check with following Exit:
    - V50R0001  Collective processing for delivery creation
    - V50R0002  Collective processing for delivery creation
    - VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    - VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    - V50S0001  User Exits for Delivery Processing
    Thanks & Regards
    JP

  • USER-EXIT for post goods issue

    Hi all,
      after the delivery (VL01n)is created, i have to go for post goods issue.there is a push button named 'post goods issue' in VL02n.
    when i will press this button,all my data for this delivery ,should be downloaded to a text file.
    for this thing, i want to use a USER-EXIT.can u plz advice me the correct & specific user-exit for this requirement.it is very urgent. i have to it by today.
    your help is highly appreaciated.
    Regards
    pabitra

    Check the following
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (h
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of stock for POs for shipping due date list
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards

  • User Exit/Validation for posting limit

    Hi Gurus,
    Client need check for specific cost elements for specific users for a particular amount.
    e.g.
    user: ABC can not post more than Rs. 25000/- for conveyance allowance.
    Please help.
    Regards,
    Vikas Malhotra

    Hello,
    If you are using  ECC 5.0 or above, and trying to restrict cash postings, you can put a limit for cash accounts at the following:
    IMG => Financial Accounting => Bank Accounting => Business Transactions => Cash Journal => Amount Limit.
    If you want to restrict the amounts for any other accounts, then you can write a validation in GGB0 (line item level) and assign this validation at OB28.
    Validation: If GL account = A or GL Account = B,
    and Amount = >25,000
    Throw Error.
    Regards,
    Ravi

  • RA Settlement User Exit for Posting rules

    Hi,
    For settlement of RA data the postings rules are defined in OK8G and the same are used while running settlement CJ88 or CJ8G.
    My question is do we have a user exit which kicks in at the time of settlement and could let us change the rules for a certain set of Projects?
    OR if we could have a substitution rule in place that could kick in at the time of settlement and would pick up the rule based on a critria?
    The reason for the above question is because we are trying to settle the Projects based on two selection critira:
    a) Based on RA key i.e. for RA key A use posting rule "123" and for projects with RA key B use posting rules "456".
    b) Based on the Work in Progress ( POCI and POCS) values we need to further decide if we need to change the posting rule or use exiting one.
    If RA key = A
      use rule "123"
          else if WIP position < 0
            use rule "123"
         else use rule "456"
    End

    Ankush,
    These are the routines for validation / substitutions where in you can write your own code. Check it in SE38.
    Regards
    Sreekanth

  • Validation for posting date is less than 7 days of current date

    Hi
    I want to create a validation wherein  system will validate every entry that whether posting date is less than 7 days of current date. If it is than check in a set is that user id available if not than show error message.
    If someone have any idea on this logic pls share with me.
    Regd
    Shiv

    Hi,
    That's certainly possible via usual OB28 validation. Define your prerequisites for the posting date (you will have to do it via user-exit (bkpf-budat greater then sy-datum less 7 days) , and check whether the user is in the set.
    Regards,
    Eli

  • User Exits for posting delivery related FI/CO docs in another system

    My company is currently running two SAP systems.  System A takes sales orders and creates delivery documents.  System B is the corporate financial system.
    When delivery and goods issues are created in System A, we want to generate the associated FI and CO documents in System B real-time.
    What is the best approach to implement this scenario?  Should we call the Post Accounting Docs BAPIs in system B using some user exits in System A?  Or should we expose those BAPIs as web services and make web service calls?

    Hi Simon,
    I think the best way is to create an IDoc in system A when the document is created (via User exit or something), and send it to system B.
    There are some IDocs to receive this information, but you have to code the send of the IDoc (Create the IDoc and call FM MASTER_IDOC_DISTRIBUTE).
    The IDocs to do that are:
    ACC_GL_POSTING
    ACC_BILLING
    ACC_INVOICE_RECEIPT
    Regards
    PabloX

  • Validation for Exchange Rate

    Hi Experts,
    I am trying to create a validation with an user exit.
    I have enhanced RGGBR000 to compare for translation date in BKPF to that of TCURR.
    Problem I am facing is, I dont know how to put U100 user exit as check and rule in GGB0.
    How can I do that?
    Reagrds,
    PS

    Read first sap online documentation or customizing documentation (Financial Accounting, Financial Accounting Global Settings, Document, Line Item /or/ Document Header, Define Validations for Posting - aka OB28)
    Alternative : don't use RGGBR000 but copy it to an include in your namespace (Zxxx) and read the comments in the source.
    At  least: Add some lines in FORM GET_EXIT_TITLES similar to add information on your exit that will be availabnle in OB28 and add your FORM at end of incmude) all is written in comment of RGGBR000 source.
    Regards,
    Raymond

  • Validation for T-code fv60

    Hiii experts... i m configuring a validation for fv60.. as the service tax is calculated through automatic posting..now there for example 3 line item created when we simulate ... but when the user enters Cost Center/BA/ Profit center manually and tries to park the document.. it doesnt park....but after validation ... its now saving the the Cost Center/BA/ Profit center.. please guide.. i have just entered the check for business area for now... as there are many cost centers and many profit centers .. soo confused how to do that .. please guide .. attaching a screenshot of validation
    Regards,
    Abhay

    hey tejas.. thanks for the reply... giving you the screenshots of the the stuff and the error.. the last screenshot is the screenshot after user enters BA/PC/CC maually

  • 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

  • Need User Exits for Creation of Delivery and for Posting Goods Issue

    Hi,
    I need User Exits for
    Creation of Delivery
    Posting Goods Issue
    I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
    Thanks in advance,
    Will reward,
    Mindaugas

    In the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
    You can find this user exit (form routine) in include MV50AFZ1.
    Hope that helps,
    Michael

  • BADI/User Exit for validation in WAK1

    Hi,
    I need to put validations in transaction WAK1.
    for the Site Groups under the site groups TAB.
    Please suggest if any BADI or User Exit is available to do this.
    I checked there are BADI's "WAKT_BADI_001" to "WAKT_BADI_008" but they are for SAP Internal Use only.
    Regards
    Ankur

    Hi
    Below are some of BADIs available for WAK1. Please check.
    Exit 
    WCOUP001  User exit for coupon processing in POS inbound
    BADIs
    RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
    RDM_PROMO_POST - Enhancement Spot
    RDM_PROMOTION_WAK1 - Enhancement Spot
    WAKT_BADI_001  -
    ~~~Ganesh Kumar K.

Maybe you are looking for

  • Amount in Local currency

    Hi,    When a document is getting posted during FI-Co reconciliation there is a minor difference of 0.01 being posted back to the vendor as a difference between the local currency 1&2(1265120.20-1265120.19).Why is this difference being posted back to

  • Is it possible to re-install iWork 09 without the physical CD?

    I bought iWork 09 two years ago from an Apple store in the UK but have since moved abroad to Australia. I installed the software on my MacBook (late 2008 model) but have since had to replace the hard drive so it is no longer installed. Is it possible

  • Some forms triggers are missing

    Hi all, Sometimes when I open a saved form, It loads with some missing triggers. This problem happened with me and with other colleagues at work. We have some triggers as standards, but sometimes, these triggers are gone. Sometimes Forms Builder give

  • How to use BKPF and BSEG without using  inner join

    Hi, can anybody plz tell me the logic about how to complete the report without inner joining bkpf and bseg.Is this report can be really be made by using only bseg,bkpf ? *selection-criteria . BKPF-USNAM BKPF-CPUDT BKPF-BUDAT BKPF-GJAHR BKPF-BUKRS BKP

  • How to convert a number stored as text to as integer with formating

    Hi, Can someone say me how to convert a Numeric data that is stored in a Varchar column to an integer. Say, I have a Value "-.84566666" in a column which is of data type VARCHAR and I want to show this data as "-0.8456", i.e. I want to display it as