‎2005 Mar 10 4:05 PM
I'm getting an error message that says 'The work area ITABTWO is not long enough.'
How do I extend the length of my work area.
//zdolsarc03 is a structure with caseid, SearchFld, and a Value (component type RSDSSELOPT <which is the structure of generic select-option for dynamic selections>)
ZDOLTARC03 is a table similar to the structure ZDOLSARC03, however its value is of data element: rsdsselop_ not rsdsselopT.
Could this be the reason why the WA's size is exceeded?
DATA: ITABTWO LIKE ZDOLSARC03 OCCURS 0,
WATWO LIKE ZDOLSARC03.
SELECT * INTO TABLE ITABTWO FROM ZDOLTARC03
WHERE SEARCHFLD EQ WAONE-SEARCHFLD ORDER BY SEARCHFLD.N L
‎2005 Mar 10 4:10 PM
this is how it should be :
ZDOLSARC03 - structure of DDIC type
ZDOLTARC03 - table of DDIC type
It should <b>not be similar</b>, but have exactly the <b>same number of elements and in the same order</b>.
If ZDOLTARC03 and ZDOLSARC03 have different number of elements, your program will give an error.
Regards,
Subramanian V.
‎2005 Mar 10 4:10 PM
this is how it should be :
ZDOLSARC03 - structure of DDIC type
ZDOLTARC03 - table of DDIC type
It should <b>not be similar</b>, but have exactly the <b>same number of elements and in the same order</b>.
If ZDOLTARC03 and ZDOLSARC03 have different number of elements, your program will give an error.
Regards,
Subramanian V.
‎2005 Mar 10 4:29 PM