Skip to Content
avatar image
Former Member

Exit or badi for VF01

Dear Experts,

Want to delete some line items in invoice ( VF01 ) transaction.  So any one known exit or badi through which we can do???? Please help me.

Thanks !

Manoj.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 03, 2015 at 03:52 AM

    Hi,

    Try these steps to find the BADI.

    1. Go to the T-Code 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

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 03, 2015 at 12:06 AM

    You can try implementing enhancement spot ES_SAPLV60A. More precisely, try adding code to enhancement points GN_INVOICE_CREATE_11 that you can find at the bottom of FM GN_INVOICE_CREATE. I have never deleted line items; if I were you I would try deleting the ones you want from all the TABLES parameters before calling the FM RV_INVOICE_DOCUMENT_ADD.

    Add comment
    10|10000 characters needed characters exceeded