‎2007 Jan 08 11:48 AM
Hi every ABAPER
after startting UCCHEK wit a Z Programm i get this Message
could not specify the access range automatically. This means that you need a Range Addion :
WHEN '03'.
wrtbk_01 = wrt01_j.
wrtbk_02 = wrt01_j + wrt02_j.
ADD wrt01_j THEN wrt02_j UNTIL wrt03_j
GIVING wrtbk_03.
wrtbk_g = wrtbk_03.can someon help thanks
‎2007 Jan 08 12:15 PM
Please see following from help....you will need 'range' addition for identifying structure.
Adding field strings
ADD n1 THEN n2 UNTIL nz [ ACCORDING TO sel ] GIVING m [RANGE str ]
ADD n1 THEN n2 UNTIL nz TO m [ RANGE str ].
When adding field strings, there are certain restrictions in Unicode programs for the following statements:
Operands n1, n2, and nz must be of the same type and length.
The distance between nz and n1 must be an integral multiple of the distance between n2 and n1.
The fields n1, n2, and nz must be in one structure. If this is not statically recognizable, you must use the RANGE str addition to explicitly specify a structure as a valid area.
If it is discovered that the addressed fields are not within the structure specified using the RANGE addition, a syntax or runtime error occurs.
ADD n1 FROM i1 GIVING m [ RANGE str ].
The field n1 must be within a structure. If this is not statically recognizable, the structure must be explicitly defined with the RANGE addition.