Переключение языка
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
PARAMETERS: p_langu LIKE sy-langu OBLIGATORY MATCHCODE OBJECT h_t002. DATA: gt_servers TYPE STANDARD TABLE OF msxxlist WITH DEFAULT KEY. START-OF-SELECTION. CALL FUNCTION 'TH_SERVER_LIST' TABLES list = gt_servers. READ TABLE gt_servers ASSIGNING FIELD-SYMBOL(<server>) WITH KEY host = sy-host. SET LOCALE LANGUAGE p_langu. CALL FUNCTION 'TH_REMOTE_TRANSACTION' EXPORTING tcode = space dest = <server>-name. |