09-04-2009 12:27 PM
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.
09-04-2009 6:04 PM
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.
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
09-04-2009 6:04 PM
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.
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
09-04-2009 6:06 PM
at the end of the routine.. you need to populate Xkwert = xkomv-kwert and zwavr as well...