on 05-21-2012 5:12 AM
Dear all
In our scenario, we have created a new pricing procedure for Returns and we create returns order wrt to sales order. Our client needs to take into account the tax (CST or VAT) details only if the returns is made inside 3 months of delivery of the material. So how can I bring this into my pricing procedure? Should i use a routine? and if so, what should be the logic?
Thanks in advance
Harish
With any of the following sale order exits, you have validate FKDAT from VBRK table and based on the validity, system should allow to save the return order.
1) USEREXIT_SAVE_DOCUMENT in the program MV45AFZZ
2) USEREXIT_CHECK_VBAK in the program MV45AFZB
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish,
Solution to fix this: Write Logic in pricing procedure infront on condition type VAT / CST condition type i.e. in requireemnt routine.
Logic: FInd the Original sales order and check the respective delivery and post goods issue date and check the current date span>>>if it is more than 3 months then activate condition type CST/VAT i.e. sy-subrc=0 or else sy-subrc=4.
I think that you require one more enhancement i.e. ztable to get 2 values in it i.e. original sales order and its post goods issue date should capture in ZTABLE when any post goods issue happen and then refer this table in pricing requirement and check post goods issue date with current date.
I hope that it should work.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.