Schlagwort: Type

interne Tabelle (itab)

REPORT YZSM0006 . TABLES SFLIGHT. TYPES: BEGIN OF F_LISTE, CARRID LIKE SFLIGHT-CARRID, SEATSMAX LIKE SFLIGHT-SEATSMAX, END OF F_LISTE. DATA: ID LIKE SFLIGHT-CARRID, MAX LIKE SFLIGHT-SEATSMAX, FLUG_LISTE TYPE F_LISTE OCCURS 10 WITH HEADER LINE. SELECT CARRID SEATSMAX INTO (ID, MAX) FROM

Veröffentlicht in ABAP Getagged mit: , , , , , , , , ,

Taschenrechner

REPORT YZSM0004 . PARAMETERS: PAR1 TYPE I, OPERATOR TYPE C, PAR2 TYPE I. DATA: RESULT TYPE P DECIMALS 2. CASE OPERATOR. WHEN ‚+‘. RESULT = PAR1 + PAR2. WHEN ‚-‚. RESULT = PAR1 – PAR2. WHEN ‚*‘. RESULT = PAR1

Veröffentlicht in ABAP Getagged mit: , , , , , , , , , , , ,