VinceCoder
2/25/2019 - 11:45 AM

Get SET values (2°Method)

Reperimento valori SET attraverso select in tabella SETLEAF

REPORT ztest_set.

DATA: lv_valfrom TYPE setleaf-valfrom,
      lv_valto   TYPE setleaf-valto.

START-OF-SELECTION.

  CLEAR: lv_valfrom.

  SELECT valfrom valto INTO ( lv_valfrom, lv_valto )
        FROM setleaf
        WHERE setname  = 'ZCLASSE_CESPITE'.

    WRITE:/ 'DA:', lv_valfrom, '    A:',  lv_valto.

  ENDSELECT.