Skip to Content
-2

How to concatenate in same column separate by rows?

Jan 30 at 08:58 AM

115

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Alexander Geppart Jan 30 at 09:06 AM
1

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

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

can you give me some example sir? because im just new in sap abap.

0

Alexander Geppart already linked all the examples in his reply....

0
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

Show 1 Share
10 |10000 characters needed characters left 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.

1
Jelena Perfiljeva
Jan 30 at 06:21 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 06 at 03:17 AM
0

Thanks for the advice guys.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Please close your question if it's answered. For Reference

https://blogs.sap.com/2017/08/15/what-to-do-with-my-answered-questions/

0