DATA ID TYPE SCARR-CARRID. CL_DEMO_INPUT=>REQUEST( CHANGING FIELD = ID ). SELECT CITYTO AS NAME, CARRID AS ID FROM SPFLI WHERE CARRID = @ID INTO TABLE @DATA(RESULT). CL_DEMO_OUTPUT=>DISPLAY( RESULT ).
DATA ID TYPE SCARR-CARRID. CL_DEMO_INPUT=>REQUEST( CHANGING FIELD = ID ). SELECT CITYTO AS NAME, CARRID AS ID FROM SPFLI WHERE CARRID = @ID INTO TABLE @DATA(RESULT). CL_DEMO_OUTPUT=>DISPLAY( RESULT ).