Code: Alles auswählen.
CALL FUNCTION 'CE_I_CONFIGURE'
EXPORTING
multilevel = lv_multilevel "527093
configure_instance = <ls_iistpom>-cuobj
object_instance = <ls_iistpom>-insts
internal_instance = lv_current_instance
set_user_vals_to_cfg = <ls_iistpom>-cinstnew
rootid = lv_obtab "763455
root = lv_objek
profile = ls_profile
profile_root = gs_profile_root
key_date = rcuko-datuv
language = rcuko-spras
focus = space
display = lv_display_mode
no_f8 = g_nof8
no_f11 = lv_no_f11 "527093
no_masterdata = lv_no_masterdata "527093
no_overview = lv_no_overview "527093
no_result = lv_no_result "527093
no_ncfg = lv_no_ncfg "901841
suppress_dialog = space
sd_communication = sdcom
include_header = incl1
is_message = cs_msg_cei0 "546832
simulation = g_simulation
retracted_actions = space
retracted_procedures = space
iv_plant = lv_werks "571603
iv_show_material_variant = lv_show_material_variant "996198
IMPORTING
return = iv_okcode
next_instance = lv_next_instance
ncfg_instance = lv_ncfg_instance
ncfg_root = lv_ncfg_root
sd_communication_exp = lv_sdcom_exp
language_changed = lv_language_changed
EXCEPTIONS
no_class_allocation = 01
no_characteristics = 02.
So ganz sicher war sich der Programmierer an der stelle auch nicht warum er den Fuba nochmals aufrufen muss (zu mindestens kommt man sich dann selbst nicht mehr ganz so blöd vor ).* now the configuration with the values exists and is refered by CCUOBJ
* but: CE_C_PROCESSING must be processed once more (because of values?)
Code: Alles auswählen.
:
:
CALL FUNCTION 'VC_I_GET_CONFIGURATION'
EXPORTING
instance = <fs>-cuobj
language = nast-spras
print_sales = lc_charx
TABLES
configuration = gt_conf_out
EXCEPTIONS
OTHERS = 4.
RANGES lr_da_in_cabn FOR lt_da_t_cabn-atinn.
CLEAR lr_da_in_cabn.
REFRESH lr_da_in_cabn.
LOOP AT gt_conf_out INTO ls_conf_out.
lr_da_in_cabn-option = 'EQ'.
lr_da_in_cabn-sign = 'I'.
lr_da_in_cabn-low = ls_conf_out-atinn.
APPEND lr_da_in_cabn.
ENDLOOP.
:
: