Skip to Content
author's profile photo Former Member
Former Member

concatenate - Syntax Error

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 01:28 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.