on 09-17-2013 5:53 AM
Hi Experts,
As per our business requirement, when user create invoice(VF01), at that time automatic rebate settlement should be done without run Tcode: VBO2. If yes, please let me know how it can be apply with our business.
Thanks in advance.
Regards,
Shatrughan Singh
Hi Expert,
Can we run VBO2 transaction in background? If yes, please suggest how can be done.
Regards,
Shatrughan Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I got solution.
First we check the pending rebate settlement document in BSIS table. Now we get the invoice document number. With reference the invoice number we get the material code, price list and agreement number (In our process last four digit of customer master is rebate agreement number). Than we run VBO2 in background (BDC recording of VBO2 with Material code, price list and amount and scheduled in hourly) than run F.13 in background (scheduled F.13 in hourly with rebate GL number).
Regards,
Shatrughan Singh
Hi
I don't understand the rational are you sure you want to use the rebate functionality for your business requirement ? A rebate agreement is normally an commercial agreement between 2 parties where a discount is agreed based on real sales targets. Normally a duration of 3,6 or 12 months is common.
In this scenario here you would have a rebate settlement for every invoice created ?
If you only create one invoice in the rebate validity period this is possible but you would still need to
settle the agreement via VBo2 or VB(7 (report RV15C001)
The rebate functionality is NOT designed to meet this requirement
Sorry I do not have better news
Kind regards
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
Thanks for your reply.
Yes, here we do rebate settlement for every invoice created not do periodic. Is it possible to run the rebate settlement transaction in background automatically during save the invoice (VF01) with the help of ABAP Consultant. Please suggest.
Regards,
Shatrughan Singh
Hi
As Ivano pointed out the condition values and rebate tables and structures VBOX, S136 etc are
required for the final settlement. These are only updated when the accouting document is posted. From VF01 you could not use any enhancements at that point because the database updates of the
critical setlement data would not have taken place.
So it is not possible from VF01 you will need a second step.
Kind regards
Brian
Hi Shatrughan
Because of the design and the point where the rebate settlement data is updated in the database you will not be able to use a user exit or BADI in billing to trigger a rebate settlement. When I said you need a second step I meant you can't do it in VF01, so you have to do it after billing when the accounting document is posted. It wouldn't make any sense to do a Z development in that case becasue you already have RV15C001 or VBo2 to do it in that second step
RV15C001 can be scheduled to run periodically
Kind regards
Brian
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
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.