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: 

rv60afzz update problem

Former Member
0 Kudos

Hi,

In rv60afzz exit we update xkomv table with two fields. One of them is

kwert and the other one is kinak. In the user exit ,I saw the internal

table xkomv values . Both of these fields are modified truely. After

completing vf01 operation I use se16 transaction to view konv table

data. In komv table kwert field is updated but kinak field is not

updated. what is the reason of this problem?

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the following link.

http://help.sap.com/saphelp_40b/helpdata/en/ff/f52c7dd435d1118b3f0060b03ca329/content.htm

1) Check the data type of the field you are passing to XKOMV-KINAK is same as KINAK itself.

2) Check in debug mode if your reqd condition is coming up in the XKOMV table header and both KWERT & KINAK fields are getting modified at header as well as internal table level.

3) Since xkomv is std pricing structure always use modify statement with 'TRANSPORTING' addition, so that only the required fields are modified in the structure and others remain protected.

[Example|;

Also let us know under which form have you written the code.

If it is a specific condition type only that needs to be updated, you can write a routine under VOFM, instead of using an user exit.

Regards,

Amit

2 REPLIES 2

Former Member
0 Kudos

Hi,

Check the following link.

http://help.sap.com/saphelp_40b/helpdata/en/ff/f52c7dd435d1118b3f0060b03ca329/content.htm

1) Check the data type of the field you are passing to XKOMV-KINAK is same as KINAK itself.

2) Check in debug mode if your reqd condition is coming up in the XKOMV table header and both KWERT & KINAK fields are getting modified at header as well as internal table level.

3) Since xkomv is std pricing structure always use modify statement with 'TRANSPORTING' addition, so that only the required fields are modified in the structure and others remain protected.

[Example|;

Also let us know under which form have you written the code.

If it is a specific condition type only that needs to be updated, you can write a routine under VOFM, instead of using an user exit.

Regards,

Amit

former_member156446
Active Contributor
0 Kudos

at the end of the routine.. you need to populate Xkwert = xkomv-kwert and zwavr as well...