on 05-02-2016 1:06 PM
If you assign standard routine 003 against the field "Data VBRK/VBRP" in copy control, that will take care of your requirement.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
G Lakshmipathi,
Thanks!
We can not do that because few sales organizations want individual billing and others don't. The split routine is at document type and item category level, this is being shared by markets with different invoice split and combining requirements. That is why I want to have dedicated variants, one for those who want individual billing and the other for those who want collective billing, and in a variant setup individual billing, in the Data VBRK/VBRP it remains collective splitting routine, this split routine will ensure that the other variant has collective billing.
TW
Hi Typewriter,
Please take a look at function SD_COLLECTIVE_RUN_EXECUTE. There is a customer exit here (EXIT_SAPLV60P_009) to manipulate number of sales documents which are to combined into one billing document.
CHECK RCODE = 0.
MAX_DOCUMENTS = 1000.
CALL CUSTOMER-FUNCTION '009'
TABLES
CT_VKDFIF = V60P_INPUT_VKDFIF
CHANGING
CD_MAX_DOCUMENTS = MAX_DOCUMENTS
EXCEPTIONS
OTHERS = 1.
I'm not sure, as I have not used this approach before, but this looks like it can help you achieve what you've wanted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bad news is my suggestion does not seem like working, my bad
"Individual billing documents" button's functionality works only on foreground processing I suppose. In program RV60SBAT there is no functionality like this.
What is your exact requirement? I noticed you tagged this with rebate functionality, let me guess your requirement: You want one credit memo for every credit memo request? Am I close?
Hey typewriter,
Another way to go is:
1- Copy/enhance standard routine 003.
2- Create a z-table with key field sales org. Maintain entries here (sales org's which require individual billing doc in cmr/cm process).
3- Read that z-table in your routine to decide for ind. Billing doc. (If sales org is in z-table, vbrk-zukri = vbrp-vgbel. Endif.)
4- if you've created a new routine instead of enhancing 003, assign it in vtfa.
User | Count |
---|---|
100 | |
9 | |
9 | |
5 | |
4 | |
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.