Skip to Content
0
Former Member
Nov 09, 2004 at 08:24 PM

ALV Grid: Displaying an output table not like a DD element

22 Views

Hi all,

Here's my issue: I need to display a single column table whose records are a raw character string matching a DD element. I need to do this because prior to run-time I will not know the structures of tables I need to display.

example: Suppose I have a DD element call ZNAME, defined like:

first(15) c,

last(30) c

I have a single column table gt_mynames defined as a character type of length 50.

Entries might look like:

my_name_record

-


John Doe

Billy Bob

When I call 'set_table_for_first_display', I want the MYNAMES table to be displayed AS IF it were a table matching the ZNAME structure.

How would I accomplish this?