on 04-04-2011 10:18 AM
Hi,
We would like to set the billing date of CMs from rebate settlement to be set as 'current date' instead of the valid-to date of the agreement.
We already updated user exit : RV60AFZC and put the code:
IF sy-tcode EQ 'RBT_ENH_VB7'.
vbrk-fkdat = sy-datum.
But the billing date is still not getting updated..
Hello Gemma,
the relevant source code is in program LV60AA38:
PERFORM vbrk_vbrp_fuellen. < here your userexit is performed
übergebene Daten setzen
IF NOT xkomfkgn-fkdat IS INITIAL.
vbrk-fkdat = xkomfkgn-fkdat. < here VBRK-FKDAT is filled (overwriting the value set by userexit)
Please use instead a copy-routine in transaction VTFA.
The combination is:
- sales document type from field T6B1-AUART_B3 (for partial setlement) or T6B1-AUART_B1 (for final settlement)
- billing document assigned to the sales document type in VOV8 (field order related billing type)
- item category set as default in transaction VOV4
In the copy-routine you can set the billing date.
Best regards,
Ivano.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.