When we create a variable in the public section of a class, we can use it within the methods of that class. Let’s say we assign it an initial value. Later, if we create another variable with the same name ...
SAP EWM Help Latest Questions
Please help with sample code to get HU data
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 ...
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