04-10-2007 3:16 PM
Hi all.
I have problem in TC VA01. I add own field and button on item data - tab Additional Data B. I call my function, make some operation and return. When i change 'order quantity' (vbap-KWMENG) i see changes. But in tab Schedule Lines value 'order quantity' didint change. Why? What i`m doing wrong? I see that on tab 'Schedule Lines' field 'order quantity' is ref to VBEP-WMENG. I tried change that field. That nothing change. On Schedule Line nothing changes.
Thx
Grzegorz
04-10-2007 7:53 PM
Does sched.line change if you change kwmeng on the screen (not by your code) ?
If it does -> check in debug what is invoked by SAP in this case and do the same...
OR You may try to set breakpoint into userexit_move_field_to_vbap and check what do you have in vbap and *vbap... and compare if there is any difference between "you change kwmeng on the screen" & "you chaneg kwmeng by your code"
04-11-2007 12:30 PM
yes if i change order on screen the Sched. Lin. changes too and vice versa. If i have in order example 40 - Sched. Lin is 40 too. If i changes order example 50 (in my code), the Sched. lin is still 40, and if i change in sched. lin 40 to 50 (on screen) the order changes to 60 (order + difference beetwen order and sched. lin.) I cant find resolve
04-16-2007 8:05 AM
04-23-2007 11:09 AM