Solution : https://service.sap.com/sap/support/notes/1030685 (SAP Service marketplace login required)
Summary :
Transaction /SCWM/RFUI can unexpectedly exit using 'LEAVE TO TRANSACTION SMEM' in ABAP. To manage this, Customizing allows defining transaction exit behavior. Implementation via transaction SPRO follows: navigate through "Extended Warehouse Management -> Mobile Data Entry -> Define Steps in Logical Transactions", select 'Define logical transactions' and adjust the RFMAIN entry under 'Define inter-transaction flow'. Here, setting 'Def.Navig.' as 'Same transaction' ensures /SCWM/RFUI is restarted, while other settings exit the transaction. Consider disabling automatic logon if logoff capabilities are required post-transaction.
Key words :
extended warehouse management -> mobile data entry -> define steps, system automatically restart transaction /scwm/rfui, 'define inter-transaction flow' entry, symptom transaction /scwm/rfui exits, 'define logical transactions' entry, transaction smem' abap statement, transaction /scwm/rfui, rf framework reason, call transaction spro, left dialog structure
Related Notes :
1091765 | End connection to SAPWebConsole with logoff from resource |
1055009 | Control for exiting transaction /SCWM/RFUI |