Skip to Content
Former Member
Oct 05, 2009 at 06:39 AM

concatenation problem


Hi all,

In the BSP application :SRMSUS

Requirement : concatenation of vendor name and company name separated by three spaces.

In the controller class

I have concatenated the Vendor name (ls_partner_list-name_2) and company name (ls_partner_list-name) (company name within the parenthesis). Separated by three spaces.

But u201Cseparated by three spacesu201D are not getting displayed on the SUS portal screen .

No problem at ABAP side ,Spaces are coming while debugging but not displaying on the SUS portal screen.

Constants : c_space TYPE char1 VALUE ' '.

CONCATENATE ls_partner_list-name_2



'(' ls_partner_list-name ')'

INTO ls_partner_list-prtname_ext SEPARATED BY space.

Why the spaces are compressed when coming to portal screen ?

Any pointers will be appreciated greatly.

thanks and regards