...
created_items = created_items " Generated Delivery Items
return = error_log. " Return Parameter(s)
append lines of error_log to bapi_log.
loop at error_log assigning field-symbol() where type ca 'EAX'. ...
...
importing e_mdpa = mdpa e_mdlb = mdlb ).
check mdpa is not initial and mdlb is not initial.
append mdlb to mdlb_tab.
call function 'ME_COMPONENTS_MAINTAIN' ...
...
delete allowed_buttons where function = iv_button.
append iv_button to excluded_buttons.
endif.
endmethod.
method show_button.
check iv_button is not initial.
if not line_exists( allowed_buttons[ function = iv_button ] ). ...
...
data: fs_exclude like line of ft_exclude.
if sy-dynnr eq 1001.
"Exclude functions which are not used from modal SS
fs_exclude-fcode = 'GET'.
append fs_exclude to ft_exclude. ...
...
ms_object_id-option = 'EQ'.
ms_object_id-low = i_temp_object.
append ms_object_id to mr_object_id.
else. "change the date to tommorow for all temporary files older than 1 day. ...
...
append fs_mbm_matnr to fs_mbm_sel_type-matnr.
concatenate 'I' 'EQ' i_werks into fs_mbm_werks.
append fs_mbm_werks to fs_mbm_sel_type-werks.
* objects for loading ...
... value in IACTIVE. If you want to save the settings directly to DB then you need to set the flag in ISAVE parameter, in other case you'll need to call FM ES_SAVE_USER_SETTINGS later. call function 'ES_APPEND_USER_SETTINGS' ...
... ES_READ_USER_OBJECTS ES_APPEND_USER_OBJECTS ES_DELETE_USER_OBJECTS ES_SAVE_USER_OBJECTS ES_READ_USER_SETTINGS ES_APPEND_USER_SETTINGS ES_SAVE_USER_SETTINGS ES_DELETE_USER_SETTINGS As you can ...
...
loop at it_list assigning .
move-corresponding to ms_list.
delete table it_list from .
append ms_list to mt_list.
endloop.
refresh: it_list[].
export export from mt_list to memory id 'ZMB51_FULLLIST_EXPORT'. ...
...
assign mt_exlist->* to .
assign ms_exlist->* to .
loop at mt_list assigning .
move-corresponding to .
append to ct_list.".
clear .
delete table mt_list from . ...
...
f_text = i_text.
"get lenght
f_times = strlen( f_text ).
"translate to upper case so we have always same start
translate f_text to upper case.
"append initial line to range and put first value into table ...
...
data: f_fieldname type string.
data: f_lines type i.
append c_k to ft_keywords.
clear fs_authorization.
*read the source of an program
read report f_program into ft_src. ...
...
fs_values-key = 'K1'. "key is the value that will be passed to parameter
fs_values-text = 'Text of K1'. "descritpion of paramter shown in listbox
append fs_values to ft_values. ...
In part one for this tutorial I quickly shown you how to create a chart customizing using Chart Designer, in this part I will show how I store and use such customizing. For the beginning I'll tell ...
...
fs_selopt-option = 'EQ'.
fs_selopt-low = fs_sscr-name.
append fs_selopt to fr_selopt.
endloop.
*delete parameters and values not used on our subscreen
delete ft_params where selname not in fr_selopt. ...