Skip to Content
0
Former Member
Jan 31, 2007 at 08:56 AM

Changing screen feild values through field symbols

2731 Views

hi

I am working on SAPMF02D user exit, it requires validation of searchterm1 feild, I have successfully completed this part with the help of field symbols, but the problem i am facing is that, after performing validation checks, searchterm1 feild would be updated, this I am not able to do, so far I have done the following:

.....

DATA: fld(30) VALUE '(SAPLSZA1)ADDR1_DATA-SORT1'.
FIELD-SYMBOLS: <f1> TYPE ANY .

* Assign screen field values to field symbol
ASSIGN (fld) TO <f1>.
*______________________________________________________

* get the value from field symbol into our field
IF <f1> IS ASSIGNED.
  acc1 = <f1>.
ENDIF.
*_______________________________________________________
...
...
.. *Perform validation and updation on 'acc1'
...
* get the updated values back into screen feild
<f1> = acc1.

-


now this last thing is not working for me,, and the data does not get updated in screen/database....

I have tried using ' comit work' statement , but no use,

I require help on this issue and its quite urgent.

Thank you all for your time.