User exit for VF01

Hi,
I would like to give hard stop while saving a proforma invoice if there is no pricing. I have set the condition type as mandatory in the pricing procedure, but still it allows to save the proforma invoice with a warning message. This in turn gives the user to print the proforma invoice and sent to customers.
So I would like to give a hard stop, which should not allow saving of the proforma invoice if there is no pricing record for a particular condition type.
Can anyone tell me what user exit I need to use to give a hard stop?
Thanks in advance.

I think you should be able to control it using requirements at the output procedure or copy control or both levels. Check in config or check with config specialist about that possibility. VOFM is the relavant transaction.

Similar Messages

  • Badi/User Exit for VF01

    Hi Experts,
    Please understand my issue/requirement that, I have to make the item conditions tab in display or deactivate mode to prevent users to change or create the price or conditions while posting VF01.
    As std, system allows users to create or change the prices/qts and also add new conditions. My client needs to make it as display mode for all type of postings in VF01.
    Please guide me, how to arrive it through Exit or Enhancements.
    thanks & regards
    Sankar.

    Hi,
    Try these steps to find the BADI.
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    These are exits in VF01.
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Hope this helps u.
    Thanks.

  • Badi/User-Exits for VF01

    Hi expert’s,
    I need to find a User-Exit or a BADI in transaction VF01 or VF02, I have found several but I need one  “before save” or “after save”.
    Anyone knows any User-Exit or Badi for this case?
    Thanks in advance
    Nuno Rodrigues

    SDVFX007            User exit: Billing plan during transfer to Accounting                  
    SDVFX008            User exit: Processing of transfer structures SD-FI                     
    SDVFX009            Billing doc. processing KIDONO (payment reference number)              
    SDVFX010            User exit item table for the customer lines                            
    SDVFX011            Userexit for the komkcv- and kompcv-structures                         
    V05I0001            User exits for billing index                                           
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure              
    V60A0001            Customer functions in the billing document                             
    V60P0001            Data provision for additional fields for display in lists              
    V61A0001            Customer enhancement: Pricing                                          
    check out which exit suits ur reqirement.

  • User Exit For VF01 VBRK-NETWR and VBRP-NETWR

    I want to change the invoice price about VF01.
    Anyone know the method?

    Transaction Code - VF01                     Create Billing Document
    Exit Name           Description
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    J_3RSINV            Customer enhancement: Pricing
    No of Exits:         17
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Rewards if useful.........
    Minal

  • User exit for VF01(after g/l account is determined).

    I have requirement in which i have to throw an error message in VF01
    In this i need a user exit in which i can access the G/L account number and on basis of that i need to display error message.But i am not able to find out a user exit  where i can access g/l account determined by sap std code.
    The requirement is to put a validation on WBS element based on G/l account and stop billing document creation in addition to accounting doc creation.

    hi ,
                                                                                    Exit Name           Description                                                                               
    SDVFX007            User exit: Billing plan during transfer to Accounting                     
    SDVFX008            User exit: Processing of transfer structures SD-FI                        
    SDVFX009            Billing doc. processing KIDONO (payment reference number)                 
    SDVFX010            User exit item table for the customer lines                               
    SDVFX011            Userexit for the komkcv- and kompcv-structures                            
    V05I0001            User exits for billing index                                              
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure                 
    V60A0001            Customer functions in the billing document                                
    V60P0001            Data provision for additional fields for display in lists                 
    V61A0001            Customer enhancement: Pricing                                                                               
    check these exits..
    regards,
    venkat.

  • Problem in user - Exit for VF01?

    Hi all,
    I have a requirement where i need to calucate the condition value for my billing document and pass the same value to Net value of the billing header also. Here there is no sales order in the flow.
    I am using the exit   USEREXIT_PRICING_PREPARE_TKOMK in the program RV60AFZZ . The calculation is working fine and the net value of the billing header is changing. But if click on any button on screen or saving the billing document the value is not saving and set back to 0?
    Please help me to resolve the problem?
    Thanks,
    Aravind.

    This may be because there are more than one entry points in exit USEREXIT_PRICING_PREPARE_TKOMK i.e the code written in this will be executed varoius time . SO, you need to code in such a way that desired code get executed only for your senario.
    As per my understanding , when you click your button  user exit USEREXIT_PRICING_PREPARE_TKOMK get executed and may be by initial quantity of some field and hence net quantity becomes zero.
    Check this by puutting a breakpoint in USEREXIT_PRICING_PREPARE_TKOMK and check when all it get executed and then ristrict its execution as per your need.
    Hope you get it.

  • User Exit for VF01 upon creation of Invoice

    Hi All,
    We have USEREXIT_SAVE_DOCUMENT in MV45AFZZ once the sales order is saved......similarly do we have a same user exit once the invvoice is saved??I need this to populate my custom table once the invoice have been saved.....If yes can you please let me know........i'm currently working with SDVFX001-EXIT_SAPLV60B_001,but just in case if it has any such please do let me know so that i can be more specific on coding my requirement

    EXIT_SAPLV60B_008 is triggered when an SD invoice is transferred to accounting (SD -> FI), so it is not triggerred if:
    - an invoice is not relevant for accounting;
    - an invoice is relevant for accounting but some of its data result in an error that occurs before the system starts transferring the document to FI.
    So you can use that exit to be informed of invoices being created and posted to FI.
    regards

  • User exit for vf01 for delivery date should be a current date

    Hi Experts,
                   I won t allow to save vf01 delivery date mismatch with system date. Delivery date must equal with system date. kindly give any userexit for this issue.
    regards
    G.Vendhan

    Hi Vendhan,
    Probably we are waiting for your Reply.......
    You didn't replied to MxG question.....that whether writing VF01 for delivery was a typing mistake or you actually mean it.
    Your reply will help us to answer your thread.......in case you already solved the problem by yourself.....I suggest you to close the Thread......and you may share the solution implemented/used ...so as to avoid a redundant thread creation in the future.

  • User exit for calculating Base line due date in VF01

    Hi,
    I need a User Exit for calculating Base line Due date i'e ZFBDT with respect to billing date
    for VF01
    Regards,
    Moderator message: if there is one, you can find it yourself by doing due research.
    Edited by: Thomas Zloch on Nov 23, 2011 1:52 PM

    >
    Rahul Saxena wrote:
    > I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign  constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
    >
    > How do I add Baseline date in that popup to select and assign values.
    >
    > Please suggest.
    >
    > Thanks-
    i think your date format and system date format is not suitable.
    give the date format as 20090216 as system format.

  • User exit for proforma invoice preparation vf01

    Hi experts,
    I using Enhancement SDVFX008 for VF01 its working fine, but its not fire while STO(JEX) invoice preparation.
    In Proforma invoice i need to check road permit. User should not save without roadpermit in particular states only. Kindly give Userexit for this issue.
    Thanks & Regards
    G.Vendhan

    Please donot cross post
    Read the forum rules
    User exit for proforma invoice preparation vf01

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    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
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • User Exits for transaction VF01 before saving the billing document

    Can any one say is there any user exit which exits before saving the billing document since i want to check the net value of the billing with the net value of sales order so that it should not go beyond the total amount specified in sales order.

    J_3RSINV
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line in transfer to accounting
    SDVFX003  User exit cash clearing in transfer to accounting
    SDVFX004  User exit G/L line in transfer to accounting
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    These are the Exits Available in the Package
    Jus try finding which will suffice ur Requirement.
    Regards,
    Mithun

  • VF01 User Exit for VBRK-XBLNR

    In my client i have requirement as I want to display number ranges for VBELN and XBLNR . But VBELN purpsoe we used RV60AFZZ program and FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN. This is calling in Function module RV_INVOICE_DOCUMENT_ADD  inside this we used perform userexit_number_range using da_numki.
    But for XBLNR purpose i did not get the exit please suggest me how to resolve this . Please suggest me exit for this.

    Hi
    You can handle it with VOFM subroutines in copy rules (tcodes VTFA and VTFL) in data VBRK/VBRP. For this you can copy the VOFM that you are using and add the coding:
      vbrk-xblnr = 'string'.
    See Note 327220 - VOFM function and its objects for a further information.
    If you only want to transfer it to FI, see Note 301077 - User exits for the interface to accounting
    Regards
    Eduardo
    Edited by: E_Hinojosa on Mar 25, 2011 3:36 PM

  • User Exit in VF01 for Tax Conditions

    Hello,
    Please inform if any user exit is available for processing Conditions (Tax) in a Sales Order.
    I'm facing a problem that while Invoicing, a certain Tax condition is not being executed.
    Thanks,
    Shalabh Jain

    HI Colleague,
    I will list the available user-exit to be used for Billing Document:
    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    I hope that one of them could be helpful.
    Regards
    Ruy Castro

  • User exit in VF01 for plant validation while taking the output smartform

    Hi Gurus,
    I am in a typical situation..
    We ahve a scenario where for one specific plant we need to trigger a different output type(smartform) where the billing type is being common for all plants...
    example: billing type : A00 ( same for all plants)
                  outout type (billing) : B00 ( one smartform)
                                                 C00 (another smartform)
    For all the plants, Boo triggers as the layout is same for all Except for One specific plant where it should trigger C00 i.e., different smartform i.e., layout...
    Any user exit for validating Plant at the time of saving the billing document to trigger a different outout type as above for the same billing type ???
    Please help me..
    regards
    Ravikumar

    Dear Ravikumar,
              You can do like this with out using User exit.
    -->Take field Plant in to the output condition table
    -->Put that condition table in to access sequence
    -->Define two condition type as you mentioned B00 and C00
    -->Assign access sequence to that condition types.
    -->Put those output condition types in the output determination procedure.
    -->Assign that output determination procedure to the billing type.
    -->Main the condition records for that conditon types with one of the key combination PLANT
    I hope it will help you
    Regards,
    Murali.

Maybe you are looking for