abap 简单的屏幕输入条件CL_DEMO_INPUT及屏幕输出CL_DEMO_OUTPUT报表
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 ).