SAP Tutorials Blog


Example

REPORT YS_SEP_08. 

DATA: P(10) TYPE C VALUE 'APPLE',

      Q(10) TYPE C VALUE 'CHAIR'.

      IF P CA Q.

      WRITE: / 'P contains at least one character of Q'.

      ENDIF.

The above code produces the following output −


P contains at least one character of Q.


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com