02-09-2015 6:44 AM
Hi All,
I am trying to create a pricing condition records using the Function Module RV_CONDITION_COPY as of now it is doing fine for all the cases except in one scenario. Assume if we trying to create a condition records by using Condition Type MXTS and condition Table as 564 then it creating successful but the w/taxcode field is not updating.If I try to create a same record by using vk11 it is updating.
As of now to update the value by using RV_CONDITION_COPY also i need to find any USER EIXTS or BADI's are present.
My questions are:
1) why the value is not updating if I use RV_CONDITION_COPY.
2) How to find the USER EXITS or any BADI's in the RV_CONDITION_COPY to update those value.
Below are the screen shots of my requirements:
selecting the combination of Condition Type and Condition Table:
In the below two records the first record is by using the VK11 transaction hence the w/taxcode field is updated where as the second one is created by using RV_CONDITION_COPY the value is not updated.
Regards,
Chakradhar
02-12-2015 8:20 AM
Hi,
I have solved it by using the BADI. I have found the existence of BADI for vk11 transaction by using class CL_EXITHANDLER.
Regards,
Chakradhar.
02-09-2015 7:02 AM
Hi Chakradhar,
1)why the value is not updating if I use RV_CONDITION_COPY.
Please check wether all the required values (& its dependent values) are passed to the fucntion module.
02-09-2015 7:23 AM
Hi Ashok,
Thanks for your reply.
I have seen it and I have passed all the values correctly to the RV_CONDITION_COPY but it is not getting updated.
In case of normal taxcode(MWSK1) the value is updating where as in case of w/taxcode(MWSK2) it is not updating.
Regards,
Chakradhar.
02-12-2015 8:20 AM
Hi,
I have solved it by using the BADI. I have found the existence of BADI for vk11 transaction by using class CL_EXITHANDLER.
Regards,
Chakradhar.