Skip to Content
0
Former Member
Jul 02, 2011 at 04:56 AM

Re: loop condition using length

85 Views

Hi friends,

in a loop condition i am using below coding.

LOOP AT I_FORM1 INTO W_FORM1.

A = STRLEN( W_FORM1-LOTNO ).

LOOP AT I_AUFM INTO W_AUFM WHERE CHARG+0(A) = W_FORM1-LOTNO.

ENDLOOP.

ENDLOOP.

But coming error is

The length specification "(A)" is not a numeric literal or a numeric constant.

how is it possible please help me any body.