Functionality The function module returns the current values of the field namesspecified in the table FIELDVALUES. On the standard selection screen,you can retrieve the values of any number of fields (select-options andparameters). On the multiple selection screen, you can only retrievethe values of the LOW and HIGH fields in the current cursor line. Example AT SELECTION-SCREEN ON VALUE-REQUEST FOR budat-high. CLEAR fieldvalues. REFRESH fieldvalues. MOVE: 'BUDAT' TO fieldvalues-name, 'S' TO fieldvalues-kind, 'LOW' TO fieldvalues-position. APPEND fieldvalues. CLEAR fieldvalues. MOVE: 'PARAM' TO fieldvalues-name, 'P' TO fieldvalues-kind. APPEND fieldvalues. CLEAR fieldvalues. MOVE: 'ERWIN' TO fieldvalues-name, 'S' TO fieldvalues-kind, 'HIGH' TO fieldvalues-position. APPEND fieldvalues. CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = 'TEST' TABLES fieldvalues = fieldvalues. The field FIELDVALUES-fieldvalue contains the current value of eachfield. |