Hi
I hope I can address your doubts
1. Is there any difference results we get if we run the program instead of SDBONT06 in se38?
No same thing, just for debugging it from se38 you get to the source code directly
to set the BP before you run it.
2. Are the billing documents with billing type G2 or L2 will be updated into VBo2 when rebate
field is active in VOFA for the billing types?
Yes but consider VBOX entries are created, when an invoice is released to accounting.
The system checks the rebate relevance of the sales org, billing type & PAYER.
Sales Organization - TX OVB1
Billing type - TX VOFA
Payer (Billing View ) - TX VD02
If all 3 are relevant (when the invoice is released to accounting) the VBOX entry is written
If one is NOT set nothing is written to VBOX
3. For example if the missing invoices are not being updated then is there any option to manually
update those accruals values into rebate agreement of the not updated billing documents?
In the old rebate procedure you had to do this because it was not possible to update the
rebate condition into documents created before the agreement. In the new procedure unless the
agreement is up to date. (KONP-KSPAE is ' ') you will not be able to settle agreement.
If the agreement is up to date, you can post manual accruals (VBo2 > extras > manual accrual)
but I guess you should really find out why the new pricing in SDBONT06 does not update the condition in the invoice in this case. Also the final settlement figure would be wrong I guess if it did not include this invoice you are referring to. I am not sure if the VBOX entries are present or missing in your example but if they are missing and you need to include them in an agreement, the only way will be to update VBOX. This is not something to be taken on lightly as it can be a long process depending on your system volumes. It is done with transaction OVB3 (RV15B001) if required.
Hope it helps
Kind regards
Brian