losing values in XKOMV structure
I have written a routine FORM FRM_KONDI_WERT_901 for pricing procedure for sales order but the calculation is not reflected.
It is over written by the structure rettkomv having old values in program LV61AA55 by the code below.
IF xkomv-kofrm NE 0 AND wertformel EQ space AND komp-kposn NE 0.
rettkomv = xkomv.
xkwert = xkomv-kwert.
frm_kondi_wert-nr = xkomv-kofrm.
PERFORM (frm_kondi_wert) IN PROGRAM saplv61a IF FOUND.
xkomv = rettkomv.
How to overcome this problem.Though I have tried by modifying xkwert field as well as the table xkomv but no result.