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
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 ...
Please help with sample code to get HU data
AL11 is a standard SAP transaction used to display and manage application server directories. Think of it as the SAP file explorer for backend files. It lists logical file paths configured in transaction FILE. It shows the physical directories on the SAP application ...
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 ...
Memory id is a place holder or memory location which stores the data. We need to specify the name of the memory location in a way to access it. In code below, the memory location is CID where the value of c ...
Value Help (F4 Help) provides users with a list of valid input values for a field to ensure accurate data entry. Types of Value Help: Automatic Value Help Provided by the data element (via domain fixed values or check tables). No coding needed. Search ...
Help Request (triggered by F1 key) provides field-level documentation to help users understand the purpose or use of a field. Types of Help Request: Automatic Help (F1) from Data Element Comes from documentation maintained in the data element. No coding needed — ...