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

concatenate - Syntax Error

Former Member
0 Likes
665

I am getting syntax Error in following code

data: mailtxt type table of solisti1 with header line.

mailtxt-line = 'DDL Reloaded for Approvel Number'.
CONCATENATE  p_appno INTO mailtxt-line.
append mailtxt.

p_appno  is in Selection screen

Error is

Unable to interpret  "p_appno". Possible causes of error : Spelling or comma error

Pls help me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
373

Hi Kumar,

You can't concatenate using 1 variable only.

How p_appno should concatenate with mailtxt-line? before or after?

CONCATENATE p_appno mailtxt-line INTO mailtxt-line.

CONCATENATE mailtxt-line p_appno INTO mailtxt-line.

Thanks,

Victor.

1 REPLY 1
Read only

Former Member
0 Likes
374

Hi Kumar,

You can't concatenate using 1 variable only.

How p_appno should concatenate with mailtxt-line? before or after?

CONCATENATE p_appno mailtxt-line INTO mailtxt-line.

CONCATENATE mailtxt-line p_appno INTO mailtxt-line.

Thanks,

Victor.