@@ -234,7 +234,8 @@ CLASS z2ui5_cl_tm_001 IMPLEMENTATION.
234
234
is_transport = ms_transport ).
235
235
236
236
CATCH cx_root.
237
- client->message_toast_display( `Transport Error` ).
237
+ MESSAGE e316(42 ) into DATA (msg ). " Transport request error
238
+ client->message_toast_display( msg ).
238
239
RETURN .
239
240
ENDTRY .
240
241
@@ -257,7 +258,8 @@ CLASS z2ui5_cl_tm_001 IMPLEMENTATION.
257
258
MODIFY (mv_table) FROM TABLE @<tab_org> .
258
259
IF sy -subrc = 0 .
259
260
COMMIT WORK AND WAIT .
260
- client->message_toast_display( `Save successful` ).
261
+ MESSAGE s002(I18N) into msg.
262
+ client->message_toast_display( msg ).
261
263
262
264
CLEAR mv_change_active.
263
265
ENDIF .
@@ -268,7 +270,8 @@ CLASS z2ui5_cl_tm_001 IMPLEMENTATION.
268
270
INSERT (mv_table) FROM TABLE @<tab_org> .
269
271
IF sy -subrc = 0 .
270
272
COMMIT WORK AND WAIT .
271
- client->message_toast_display( `Save successful` ).
273
+ MESSAGE s002(I18N) into msg.
274
+ client->message_toast_display( msg ).
272
275
273
276
CLEAR mv_change_active.
274
277
ENDIF .
@@ -362,11 +365,12 @@ CLASS z2ui5_cl_tm_001 IMPLEMENTATION.
362
365
is_transport = ms_transport ).
363
366
364
367
CATCH cx_root.
365
- client->message_toast_display( `Transport Error` ).
368
+ MESSAGE e316(42 ) into DATA (msg ). " Transport request error
369
+ client->message_toast_display( msg ).
366
370
RETURN .
367
371
ENDTRY .
368
-
369
- client->message_toast_display( 'Entries were added to the transport request' ).
372
+ message s215(RMPS_GENERAL) with ms_transport-transport into msg. "Transporteintrag erfolgreich geschrieben (&1)
373
+ client->message_toast_display( msg ).
370
374
371
375
ENDIF .
372
376
ENDMETHOD .
@@ -654,25 +658,25 @@ CLASS z2ui5_cl_tm_001 IMPLEMENTATION.
654
658
press = client->_event( 'BUTTON_ADD' )
655
659
type = 'Default'
656
660
)->button( icon = 'sap-icon://refresh'
657
- text = get_txt( '/SCMB/LOC_REFRESH ' )
661
+ text = get_txt( 'REFRESH_F8 ' )
658
662
press = client->_event( 'BUTTON_REFRESH' )
659
663
type = 'Default'
660
664
)->button( enabled = client->_bind( mv_change_active )
661
- text = get_txt( '/SCWM/DE_LM_LOGSAVE ' )
665
+ text = get_txt( 'SICHERN ' )
662
666
press = client->_event( 'BUTTON_SAVE' )
663
667
type = 'Success' ).
664
668
665
669
footer->menu_button( activeicon = 'sap-icon://action-settings'
666
670
)->_generic( `menu`
667
671
)->_generic( `Menu`
668
672
)->menu_item( icon = 'sap-icon://shipping-status'
669
- text = get_txt( 'ALLENTRIES ' )
673
+ text = get_txt( 'ALLES_FUB ' )
670
674
press = client->_event( 'TRANSPORT_ALL' )
671
675
)->menu_item( icon = 'sap-icon://shipping-status'
672
- text = get_txt( 'UKM_RISK_EDIT_FLG ' )
676
+ text = get_txt( 'FUNCCHANGE ' )
673
677
press = client->_event( 'TRANSPORT_CHANGE' )
674
678
)->menu_item( icon = 'sap-icon://key-user-settings'
675
- text = 'Stala Mode' " get_txt( 'POWL_ADMIN_TY' )
679
+ text = get_txt( 'POWL_ADMIN_TY' )
676
680
press = client->_event( 'BUTTON_EDIT' ) ).
677
681
678
682
IF mo_parent_view IS INITIAL .
0 commit comments