Skip to Content
Jun 16, 2009 at 06:03 AM

display problm in alv



below is my code...

if i enter one plant in the selection screen then my prgrm works fine

now my prblm is in selection screen if i enetr more than 1 plant then i should get uot put as below

Process Order details for 1120,1130,1410

how to do this?

DATA: it_header TYPE slis_t_listheader,
      wa_header TYPE slis_listheader,
      werks1 TYPE eine-werks,
      werks2 TYPE eine-werks,
      t_text TYPE string.

    move i_werks-low to werks1.
  LOOP AT i_werks.
 CONCATENATE text-to1 ':' werks1 INTO t_text SEPARATED BY space.
 wa_header-typ = 'H'.
  wa_header-info = t_text.
  APPEND wa_header to it_header.
  CLEAR wa_header.