Hi,
i got a special Problem here.
In my ALV Table i got a Colum name 'ZUSTIMMUNG'. In each field of this Colum i want to concatenate 6 data fields.
The Result schould be look like this:
a) blah
b) blubb
c) xyz
My Codings für the concatinate fields ist like this
DATA: zustimmung_conc TYPE char45, a(3) type c VALUE ' a)'. CLEAR zustimmung_conc. IF wa_zberufuverf-zustimmen_a IS NOT INITIAL. CONCATENATE a wa_zberufuverf-zustimmen_a INTO zustimmung_conc. ENDIF. IF wa_zberufuverf-zustimmen_b IS NOT INITIAL. CONCATENATE zustimmung_conc ' b]' wa_zberufuverf-zustimmen_b INTO zustimmung_conc. ENDIF. IF wa_zberufuverf-zustimmen_c IS NOT INITIAL. CONCATENATE zustimmung_conc ' c]' wa_zberufuverf-zustimmen_c INTO zustimmung_conc. ENDIF. wa_bv_uebersicht-zustimmung = zustimmung_conc.
Later in my coding i set the column wrapper to true
l_column = alv_config_table->if_salv_wd_column_settings~get_column( 'ZUSTIMMUNG' ). create OBJECT column_set_text. column_set_text->set_text_fieldname( 'ZUSTIMMUNG' ). column_set_text->set_wrapping( ABAP_TRUE ). l_column->set_cell_editor( column_set_text ).
The result in my ALV-Table is this
a)
blah
b)
blubb
c)
xyz
this is the result of the wrapping, i know, but without the wrapping i get
a) blah b) blubb c) xyz
it thougt the Concatenate would be helpfull but in combination with the wrapping i got a linebreak after each variable.
Is there a solution for me? to get what i whant?
kr
tobi