cancel
Showing results for 
Search instead for 
Did you mean: 

Billing date for Rebate CMs

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ivano_raimondi
Active Contributor
0 Kudos

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.

Answers (0)