03-13-2007 4:31 AM
Hi,
Below is a code from the SAP ERP Central Component 5.0 version. I need to get it working for R/3 release 4.6C. Can anyone help me with this?
*********************************************************************
DATA area TYPE REF TO zselarea.
area = zselarea=>attach_for_read( ).
DATA t_ranges TYPE ace_field_ranges_t.
t_ranges = area->root->get_fields( ).
area->detach( ).
*********************************************************************
Thanks in advance...
Lilan
03-13-2007 4:38 AM
Hi Lilan,
Copy/ Create the class zselarea from the ECC to your 4.6C version for you make the code work.
Regards,
George
03-13-2007 4:40 AM
Try this:
1. Define area, zselarea and t_ranges as internal tables/ ranges.
***********************************
area[] = zselarea[].
LOOP AT area.
MOVE-CORRESPONDING area TO t_ranges.
APPEND t_ranges.
ENDLOOP.
REFRESH area.
FREE area.
************************************
Naveen
03-13-2007 4:42 AM
I tried to copy the class. But it gives lots of errors with table issues. So that was not possible.