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: 

concatenate

Former Member
0 Kudos

hi,

dear experts,

I read out some characters and concatenate

them later. My problem is the first readed

character appears at the end and the last readed

at the beginning. How can I avoid that.

They must be appear vice versa (other way round).

The first readed must be stay at the first position

and the second ....

rgds

ertas

LOOP AT l_api_iaprop_data_tab INTO  l_api_iaprop_unftxt2_wa
 WHERE  recnmaster EQ l_api_iava_wa-recn
 AND    atnam = 'HS_1103_001_UNF'.
 
 concatenate  l_api_iaprop_unftxt2_wa-atwrt gv_unftxt
               INTO gv_unftxt separated by space.
 ENDLOOP.
      wa_zehs_incident_li-loa   =  gv_unftxt.
      wa_zehs_incident_li-loat   = l_api_iaprop_data_wa-atwtb.
      clear:  l_api_iaprop_unftxt2_wa-atwtb, gv_unftxt.
      MODIFY lt_zehs_incident_li FROM wa_zehs_incident_li TRANSPORTING loa loat.
    ENDIF.
  ENDLOOP.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Place gv_unfttxt field first after CONCATENATE then Place

l_api_iaprop_unftxt2_wa-atwrt .

Like This-

concatenate gv_unftxt l_api_iaprop_unftxt2_wa-atwrt

INTO gv_unftxt separated by space.

Regrds,

Sujit

5 REPLIES 5

Former Member
0 Kudos

write gv_unftxt in the begining ...

concatenate gv_unftxt l_api_iaprop_unftxt2_wa-atwrt

INTO gv_unftxt separated by space.

Former Member
0 Kudos

hi,

Swap the variables ..

concatenate gv_unftxt l_api_iaprop_unftxt2_wa-atwrt

INTO gv_unftxt separated by space.

Former Member
0 Kudos

Hi,

Try to use the below code....

concatenate gv_unftxt

l_api_iaprop_unftxt2_wa-atwrt

INTO gv_unftxt separated by space.

Rgds,

Bujji

Former Member
0 Kudos

Hi,

Place gv_unfttxt field first after CONCATENATE then Place

l_api_iaprop_unftxt2_wa-atwrt .

Like This-

concatenate gv_unftxt l_api_iaprop_unftxt2_wa-atwrt

INTO gv_unftxt separated by space.

Regrds,

Sujit

Former Member
0 Kudos

hi,

All the above friends are right. You have to swap the variables while concatenating.

Regards

Sumit Agarwal