REPORT Z_VTEST4.
DATA : FNAME(10) TYPE C VALUE 'TOM',
LNAME(5) TYPE C VALUE 'JERRY',
COMMA TYPE C VALUE ',',
DOT TYPE C VALUE '.',
DOTNAME(30) TYPE C,
COMMANAME(30) TYPE C,
FULLNAME(30) TYPE C.
CONCATENATE FNAME LNAME into FULLNAME.
WRITE / FULLNAME.
SKIP 2.
CONCATENATE FNAME COMMA LNAME into COMMANAME.
WRITE / COMMANAME.
SKIP 2.
CONCATENATE FNAME DOT LNAME into DOTNAME.
WRITE / DOTNAME.
DATA : FNAME(10) TYPE C VALUE 'TOM',
LNAME(5) TYPE C VALUE 'JERRY',
COMMA TYPE C VALUE ',',
DOT TYPE C VALUE '.',
DOTNAME(30) TYPE C,
COMMANAME(30) TYPE C,
FULLNAME(30) TYPE C.
CONCATENATE FNAME LNAME into FULLNAME.
WRITE / FULLNAME.
SKIP 2.
CONCATENATE FNAME COMMA LNAME into COMMANAME.
WRITE / COMMANAME.
SKIP 2.
CONCATENATE FNAME DOT LNAME into DOTNAME.
WRITE / DOTNAME.
No comments:
Post a Comment