cancel
Showing results for 
Search instead for 
Did you mean: 

Tax details in returns

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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