Application Development 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: 

adjustment in concatenation of strings

Former Member
0 Kudos
132

hi folks,

I need a small adjustement here.

The code goes like this...

concatenate zdate1 wa-vavartyp zbunit zposcc

into wa1-zdateproductcode separated by space.

I get the data like 7/11 MO MET

ENT

I need to get the data zdate1 and wa-vavartyp in one line and zbunit and zposcc in the other line.

Can I adjust it here by increasing the space or so?

thanks

Santhosh

5 REPLIES 5

Former Member
0 Kudos
106

This may not help, but here is how you can add a carriage return to that string:

constants: c_crt type x value '0D'.

concatenate zdate1 wa-vavartyp c_crt zbunit zposcc

into wa1-zdateproductcode separated by space.

Cheers,

John

andreas_mann3
Active Contributor
0 Kudos
106

Hi,

try that link :

regards Andreas

athavanraja
Active Contributor
0 Kudos
106

concatenate zdate1 wa-vavartyp <b>cl_abap_char_utilities=>cr_lf</b> zbunit zposcc

into wa1-zdateproductcode separated by space.

Regards

Raja

0 Kudos
106

Thanks guys for your input. I changed the form settings for got it done.

Santhosh

0 Kudos
106

none of these answers helped you to solve your problem?