Dynamic call FOR ALL ENTRIES

How to dynamically call FOR ALL ENTRIES

DATA: lt_table TYPE STANDARD TABLE OF fieldname.

CONCATENATE lv_key_field ‘= lt_table-table_line’

  INTO lv_where SEPARATED BY space.
  APPEND lv_where TO lt_where.

SELECT fieldname

  FROM (lv_table)
  INTO TABLE lt_output
  FOR ALL ENTRIES IN lt_table
  WHERE (lt_where).

Komentáře

Přidat komentář

Your email address will not be published. Required fields are marked *

 

Your personal information will be exclusively used for processing current comment only. Personal data protection policy