TRY. lo_tu_cntrl->create_new_bo_tu( EXPORTING is_bo_tu_new = ls_new_tu_head IMPORTING eo_bo_tu = eo_bo_tu ). IF eo_bo_tu IS BOUND. es_tu_act_num = eo_bo_tu->get_num( ). APPEND es_tu_act_num TO lt_inkeys. ENDIF. lo_tu_cntrl->save( ). *--Commit work COMMIT WORK AND WAIT. tu_num = es_tu_act_num-tu_num. "Log something in case of success CATCH /scwm/cx_sr_error INTO lo_tu_exception. ROLLBACK WORK. *--Log something in case of error
SAP EWM Help Latest Questions
In an SAP S/4HANA Embedded EWM implementation for a pharmaceutical client, we are handling products with strict shelf life (SLED) requirements. Business requirement: During outbound picking, the system should propose only those batches or HUs which have a minimum remaining shelf life ...
DATA: lo_splitter TYPE REF TO cl_gui_splitter_container, lo_container1 TYPE REF TO cl_gui_container, lo_container2 TYPE REF TO cl_gui_container. DATA: lo_alv1 TYPE REF TO ...
In an SAP S/4HANA Embedded EWM implementation for a high-volume e-commerce warehouse, we are facing challenges with uneven workload distribution among warehouse resources (pickers). Business requirement: Warehouse Orders (WO) should be created in such a way that workload is evenly distributed across ...
Please help with sample code to get HU data
In an SAP S/4HANA Embedded EWM system, we are facing stock inconsistencies between EWM and ERP. Issue description: Stock quantity in EWM does not match ERP stock Difference observed at storage location or batch level Physical inventory completed successfully, but mismatch still exists No open ...
The SET PARAMETER ID and GET PARAMETER ID statements are used with SAP memory to pass data between two separate transactions, each running in its own session. When you use SET PARAMETER ID to assign a value to a field, opening ...