on 01-03-2011 10:05 PM
Hi Gurus!
I have an small problem, I know that is quite complex, but I would like to know if someone has seen this before, my client works in CPG industry
The question is that the use a manual header discount, I mean a discount to the total order but this qty needs to be distributed to some lines that match with specifique characteristic like same material group 2 for example
Can somebody help me please, either standard way either custom way?
Thanks in advance and best regards
I have the same problem. We created a new routine but it doesn't work. I susspect we are writting the wrong code. Can anyone suggest the actual code please ?
Izi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As advised by others, we are already using this. We have created a Header Condition with Group condition and put our requirement in Routine.
This will work.
Regards,
Veerendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Not sure if this will work for sure or not but u can try group condition at line item level . And also find determine what would condition distribution criteeria e.g. Qty, value etc.
Otherwise you can use routine (vofm) object to handle this.
Thx
Dilip sadh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The suggestion given by Shiva Ram will work. Following are the things which need to be done.
1. Condition has to be header condition type (Header condition checkbox is ticked)
2. Condition has to be a group condition (Group condition checkbox should be ticked)
3. Now create a group condition routine in VOFMFormulasStructure of group key. Here copy one of the routines and code as per your convenience to split the value as per your criteria.
4. Assign this routine number (say 901) to the condition type in V/06.
Now you create transactions and you can see the functionality working.
Dear Experts,
I have similar requirements ,where Header discounts should not be applicable to Free of Charge items.
Mentioned is the routine logic ,written in VOFM and applied in pricing procedure.
FORM KOBED_600.
*{ INSERT MEDK905678 1
sy-subrc = 4.
if komp-kposn ne 0.
if komp-pstyv = 'ZTNN'.
komp-prsfd = ' '.
endif.
check: komp-prsfd ca 'BX'.
check: komp-kznep = space.
endif.
sy-subrc = 0.
*} INSERT
ENDFORM.
FORM KOBEV_600.
*{ INSERT MEDK905678 1
sy-subrc = 0.
*} INSERT
ENDFORM.
Still my issue not solved.
Please help me in solving the issue .
Thanks & Regards,
H V Kumar Babu.
I assume you can achieve this by checking group condition in the condition type in t.code v/07.
Then develop a routine in VOFM to distribute the discounts based on certain condition and assign the routine in the field GrpCond routine field in the condition type.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.