Skip to Content
-2

How to concatenate in same column separate by rows?

Hi experts

Do you have some idea on how can i concatenate the one being mark by red square?

i would like the output is this:

Date Status Order No

07/08/2003 SETC CLSD GMPS 4000000002

conca.jpg (17.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 30 at 09:06 AM

    You could use "LOOP AT GROUP" and string templates to generate your string.

    but it depends on the abap version which you are using.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 30 at 12:44 PM
    -1

    Hi Jumil,

    you can get it by using ON CHANGE OF statement on DATE or ORDERNO (Depending on your requirement) in side loop statement and concatenate Status to a String.

    Thanks,

    Pavan G

    Add comment
    10|10000 characters needed characters exceeded

    • Not too good to recommend language elements that are obsolete since long ago and forbidden in classes.

      Alexander Geppart pointed to the correct solution.

  • Jan 30 at 06:21 PM

    STATUS_TEXT_EDIT FM does this for statuses. Can be easily found in Google.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06 at 03:17 AM

    Thanks for the advice guys.

    Add comment
    10|10000 characters needed characters exceeded