Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error : Data type incompatible

Hi gurus,

The following is my code:

REPORT zssppgmm1.

DATA: l type c,

t type c,

done type c.

PARAMETERS p(25) DEFAULT ' Vendor Number'.

WHILE done = ' '

VARY l FROM p0 NEXT p1

VARY t FROM p24 NEXT p23.

IF l = ' ' AND t = ' '.

l = t = '-'.

ELSE.

done = 'X'.

ENDIF.

ENDWHILE.

WRITE: / p.

if i execute it, i get the following error msg. how to resolve it

Error: "P" and "L' are type-incompatible.

Thanks and regards,

Suresh

Edited by: Suresh S on Oct 11, 2008 9:41 AM

Edited by: Suresh S on Oct 11, 2008 9:41 AM

Tags:
Not what you were looking for? View more on this topic or Ask a question