‎2010 May 07 8:53 AM
Hi experts,
I am trying to Modify a Dynamic Table from a Dynamic Work Area. They are the same kind and the index is correct.
The code is this:
MODIFY <DYN_TABLE>
FROM <DYN_WA> INDEX ls_selfield-TABINDEX.
It gives me no error but it ignores the modification.
Whan am i doing wrong here?
Thanks!
Artur.
‎2010 May 07 9:00 AM
I have detected that the problem is not there:
lV_FIELD0 = ' '.
lV_FIELDX = 'X'.
To perform the modification i do this:
CONCATENATE '<DYN_WA>-'
fieldname INTO INTO LV_FIELD_NAME.
ASSIGN (LV_FIELD_NAME) TO <SELECCION>.
ASSIGN lV_FIELD0 TO <SELECCION>.
THe value on <SELECCION> changes but the value pointed in <DYN_WA> is not changing here.
How is this possible?
Thanks!
‎2010 May 07 9:00 AM
I have detected that the problem is not there:
lV_FIELD0 = ' '.
lV_FIELDX = 'X'.
To perform the modification i do this:
CONCATENATE '<DYN_WA>-'
fieldname INTO INTO LV_FIELD_NAME.
ASSIGN (LV_FIELD_NAME) TO <SELECCION>.
ASSIGN lV_FIELD0 TO <SELECCION>.
THe value on <SELECCION> changes but the value pointed in <DYN_WA> is not changing here.
How is this possible?
Thanks!
‎2010 May 07 9:11 AM
Try this
CONCATENATE '<DYN_WA>-'
fieldname INTO INTO LV_FIELD_NAME.
ASSIGN (LV_FIELD_NAME) TO <SELECCION>.
MOVE lV_FIELD0 TO <SELECCION>.
‎2010 May 07 9:19 AM
‎2010 May 07 9:04 AM
Try this and check:
MODIFY <DYN_TABLE> INDEX ls_selfield-TABINDEX FROM <DYN_WA>
‎2010 May 07 9:06 AM
Sorry, i have detected the real problem, it is in my 2nd message.
‎2010 May 07 9:09 AM
It's Okay....I just finished posting and saw your reply. No problem.