This post demonstrates how to transform any ABAP structured data to XML format So that it can be passed to any third party system for
Author: coderobbot
CL_ABAP_DATFM- Class
Check Tx- SU01 for the User default date format settings. Other date formats are available as shown below. Class- CL_ABAP_DATFM provides all sort of methods
CL_ABAP_SYST- Class
Class- CL_ABAP_SYST provides some methods that can be helpful to get the values of some of the system variables. Check / test some methods. It
CL_ABAP_MATH Class
CL_ABAP_MATH – class provides some methods that can be useful when it is necessary to get the number decimal points in a floating point
Switch Framework – CL_ABAP_SWITCH
Class- CL_ABAP_SWITCH has methods to check if any switch is exists or not and also if any switch in ON or OFF. Here are the
ToolBar Buttons Using CL_GUI_TOOLBAR & Handling it
DATA : lr_toolbar TYPE REF TO cl_gui_toolbar, lr_cust_cont TYPE REF TO cl_gui_custom_container, lt_event TYPE cntl_simple_events, ls_event LIKE LINE OF lt_event. *———————————————————————-* * CLASS LCL_HANDLE_TOOLBAR DEFINITION *———————————————————————-* CLASS lcl_handle_toolbar DEFINITION. PUBLIC SECTION. METHODS : handle_button FOR EVENT function_selected