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

question reg. concatenate

In a report, i want to concatenate:

'User requests' vbeln 'info' into a workarea and display it on the output.

(where vbeln is replaced by a sales order).

For ex: a sample output would look like:

User requests 0000012345 info

Can you give me a sample code here please?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 08:33 PM

    hi,

    Use the function module CONVERSION_EXIT_ALPHA_OUTPUT with the vbeln before doing the concatenation..

    DATA: V_STRING TYPE STRING.

    DATA: V_VBELN TYPE VBELN.

    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'

    EXPORTING

    INPUT = V_VBELN

    IMPORTING

    OUTPUT = V_VBELN.

    CONCATENATE 'User requests ' V_VBELN 'info'

    INTO V_STRING SEPARATED BY SPACE.

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 08:26 PM

    Concatenate 'User requests' vbeln 'info' into wa separated by space.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 08:27 PM

    Hi,

    Check this example..

    DATA: V_STRING TYPE STRING.

    DATA: V_VBELN TYPE VBELN.

    CONCATENATE 'User requests ' V_VBELN 'info'

    INTO V_STRING SEPARATED BY SPACE.

    Thanks,

    Naren

    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.