Method SET_SCREEN_TABLE
Use
On the PAI side, method SET_SCREEN_TABLE is the counterpart to method GET_SCREEN_TABLE on the PBO side.
Using the SET_SCREEN_TABLE method, the subscreen in its function group transfers its table-like field contents to the maintenance class.
Since there are now only very few table controls in the maintenance of standard BRF objects, this method is becoming less and less important.
Sample source text:
METHOD IF_MAINTENANCE_BRF~SET_SCREEN_TABLE .
IF iv_screen <> '2013' OR iv_program <> 'SAPLBRF_MAINTENANCE'.
CALL METHOD super->if_maintenance_brf~set_screen_table
EXPORTING
iv_screen = iv_screen
iv_program = iv_program
it_screen = it_screen.
ELSE.
dt_brf144 = it_screen.
ENDIF.
ENDMETHOD.
Description:
The relevant part is processed in the ELSE branch of the IF statement. The table that is transferred by the caller is transferred to the current SCR table (in this case, DT_BRF144) via IS_SCREEN.
Method SET_SCREEN_TABLE only looks after SCR tables. Do not use this method for CUR or OLD tables.