‎2014 Dec 18 4:37 PM
Hi All,
I am getting data from CDPOS and I have to show this on an ALV . Depending upon which field is changed we have to update that field in work area and other fields should remain same as current from actual table.
How can I use this .
I have to create the work area then append it to internal table.
Thanks & Regards,
Rahul
‎2014 Dec 18 4:56 PM
Hi..
Declare field symbols work as dynamic memory area where you create a pointer to your static memory area. When you update a field-symbol you're going to change the static area (HEAP/STACK memory)
You can move to a work-area and change your data. What's your purpose?
Hope to help
Bye
‎2014 Dec 18 7:35 PM
‎2014 Dec 19 3:47 PM
Hi Roberto,
I am writing this logic but it is not working.
loop at lt_cdpos into lw_cdpos_op.
READ TABLE gt_op_status INTO lw_op_current INDEX lv_current.
CONCATENATE 'LW_OP_CURRENT-' lw_cdpos_op-fname INTO lv_value_one.
ASSIGN lv_value_one TO <fs_any_new>.
<fs_any_new> = lw_cdpos_op-oldvalue.
endloop.
but it is not changing value of workarea field LW_OP_CURRENT-FIELDNAME.
Please check.