on 03-11-2011 12:23 PM
Hi,
I am developing a Z report based on Rebate agreements. Now my user's requirement is that he want all the invoice numbers to be displayed against a rebate agreement.
I have been trying to find out how we can find out the Invoices which have been accrued to a rebate agreement. I have found one way of linking tables KONA, KONV & VBRK.
But I would like to know if there is any better way of finding this out?
Regards
Mohan
Suggest you have a look at the following function modules.
SD_BONUS_INVOICE_READ
SD_BONUS_REPORT_NO_READ
SD_BONUS_REPORT_TAB_BY_INDEX
Plus consider other functions that contain SD_BONUS in the name.
Our strategy is to get all the data that you would see in the verification levels of an agreement from our own versions of these FMs. Our versions return tables of data and then query the billing documents for more information into our reports.
Regards,
Ken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohan,
that report is already available in the standard by VBO3 menu Rebate payment > Drill down.
If you are running the new rebate processing, with info-structure S136 activated on OMO1, then you can get from condition tables KOTEnnn where KNUMA = rebate agreement number the field KNUMH.
Then use KNUMH to select from S136 the billing documents.
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 |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.