Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

please provide an user_exit while saving an invoice.

Former Member
0 Kudos

hi experts,

i have developed a smartform to display the invoice details for the transaction vf02/vf03. now my requirement is to send a mail to id's which are maitained at header text not to the id's of payer.

please provide me the user_exit which triggers at the time of saving an invoice through vf01 and vf02, where we should be able to get NAST and Invoice details.

reward points are awarded for the best solution.

thanks in advance

Munvar Basha.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please check this user exits available for VF01.

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

Also check this user exits as well.

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_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.

Regards,

Kiran Sure

5 REPLIES 5

Former Member
0 Kudos

Hi,

Please check this user exits available for VF01.

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

Also check this user exits as well.

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_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.

Regards,

Kiran Sure

0 Kudos

hi kiran,

i have tested with above exists, whcih are triggering only for VF01 not for VF02.

i need suitable exits for VF02 also.

0 Kudos

Hi,

try the following BADI's :

BADI_SD_ACCOUNTING

BADI_SD_BILLING

BADI_SD_BILLING_ITEM

BADI_SD_GM

BADI_SD_VF48

SD_CIN_LV60AU02

SD_COND_ACCESS_A

SD_KONV_SELECT

VOR_WA_FAKTURA

Regards

Kiran Sure

Former Member
0 Kudos

Hi,

Use FORM USEREXIT_PRICING_PREPARE_TKOMK of RV60AFZZ & have the following statement as the first statement check sy-ucomm = 'SICH'.

I hope this helps,

Regards

Raju Chitale

Former Member
0 Kudos

Hi Munvar,

Try the following BADI's

they work in both vf01 and vf02

BADI_SD_BILLING_ITEM

BADI_SD_COM_COUNTRY

Regards,

Abhinay