Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unicod Problem

Former Member
0 Likes
315

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

1 REPLY 1
Read only

Former Member
0 Likes
281

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.