Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RV_CONDITION_COPY(BADI's or EXITS)

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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.