I had defined multiple rebate condition types as Y000, Y001 and Y002, which are montly offtake rebate, distance rebate and yearly offtake rebate.
Y000 and Y001 can be in the same validity period and also will be applicable to the same invoicee.
When i create a rebate agreement for customer for Y000 and go for the settlement of the rebate it is happening fine.
But for the same customer, i had defined Y001 as a rebate agreement type for the same period and materilal.
The sales volume is not updated in the rebate agreement. Evenif I do VBOF the sales volume is not updated.
the error that comes while doing VBOF is :
"7000158055 Document number RCFL 7000158055 2011 was already assigned
7000158053 Document number RCFL 7000158053 2011 was already assigned
7000158052 Document number RCFL 7000158052 2011 was already assigned
7000158054 Document number RCFL 7000158054 2011 was already assigned"
Please help me to solve this problem.
Mrs. Swati Pawar
the suggestion of JP is correct.
I explain it better.
- the document type of FI document created from SD depends on the customizing of billing type field TVFK-BLART. If it is blank, then by default is 'RV'.
- if the number range assigned to the account document type is External, then the FI document gets the same number of the SD invoice.
- transaction VBOF creates FI document referred to SD invoice. If it has external number range, and an FI document already exist with same number (created when SD invoice has been released to accounting), then the errof F5152 occurs.
in the selection screen of VBOF there is the field FI-Doc-type. Here you should specify the FI document type that should be created by execution of VBOF, and of course it must have number range internal.
Please try this.
First of all check in the rebate agreements who is the payer, If the same payer is having more than one rebate agreements conditions then it will pick in invoice.If rebate agreements are not required then close those rebate agreements by changing the validity period. and keep only those rebate agreements which are required.Then run VBOF.