04-14-2008 11:02 AM
Hi,
I have created a Z table, when ever a invoice is created using VF01, the invoice number and some other required fileds should be saved in this Z table.
This is a very very urgent requirement, kindly do the needfull.
Thanks,
Venu Gopal Gudala.
04-14-2008 11:50 AM
Please check the user exits and Badis 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.
Badis available
SD_CIN_LV60AU02 BADI for billing
VOR_WA_FAKTURA Billing before Goods Issue
Regards,
Raj.
04-14-2008 11:52 AM
When u create an invoice, debug the program, at the point of save, see where the message S is displayed after that point, check for any implicit enhancements..if found..call a z function module, pass the invoice no and other details..in the function module..update the z table tht your create
04-14-2008 1:24 PM
Hi,
We are using FORM USEREXIT_PRICING_PREPARE_TKOMK of RV60AFZZ, to update our own z-table with the required fields. Please note that you need to put the condition check sy-ucomm = 'SICH'. as the first statement, indicating control is coming here after user have pressed 'SAVE' button.
I hope this helps,
Regards
Raju chitale