-1

Putting Fields of internal tables into listboxes is easy but how do you do it with transparent tables? Please the easiest possible way. (Important: Te Table shouldn't be changed!)

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
FirstProg1
  • 11
  • 3

1 Answers1

0

If you know how to do it with internal table, then Transparent tables (database tables) each have a structure with the same name, that you can use to create an internal table. Tthis is more or less all you need:

data: lt_mara type standard table of mara. "Define internal table with structure type of a transparent table
select * from mara into @lt_mara up to 100 rows. "Select your data

Keep in mind that this is a very basic select statement. To retrieve the data you need (and not first 100 rows) you can look into

  • SQL in general. Common principles are the same and more popular languages tend to have better summaries
  • OpenSQL/AbapSQL(different versions of the same thing) for info about SQL you use in abap.
Zero
  • 1,562
  • 1
  • 13
  • 29