05-18-2006 3:37 PM
Hi!
I'm using USEREXIT_NUMBER_RANGE_INV_DATE in RV60AFZC to check invoice data and generate an error message. Unfortunately this error message generate a gaps document number because a COMMIT WORK occurs before this user-exit. How and where I can set this check and error message during invoice saving?
I know that exsist RV60AFZZ but it work in the same mode. Do you know if exsist a form like user_exit_prepare_save_document like sales order or delivery?
Thanks,
Gianluca
05-18-2006 3:56 PM
Hi Simeone,
Check 'BADI_SD_BILLING'. You can check invoice data before posting using this badi.
This badi is called inside function module 'RV_INVOICE_DOCUMENT_ADD'.
Hope this will help you to solve your problem.
Cheers,
Nilesh
05-19-2006 8:10 AM
Hi Nilesh.
I know this BADI but if I try to implement it the system stop me because it can use only for SAP internal use.
Do you know how I can sblock it?
Thanks,
Gianluca