/SAPSLL/PRE_KMAT_DOC_CALC_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter /SAPSLL/PRE_KMAT_DOC_CALC_F01 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = iv_tcode EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.
/SAPSLL/LOGSYS_GET CALL FUNCTION '/SAPSLL/LOGSYS_GET' IMPORTING ev_logsys = cv_logsys EXCEPTIONS no_data = 1 not_unique = 2 OTHERS = 3.
/SAPSLL/APPLOG_INIT CALL FUNCTION '/SAPSLL/APPLOG_INIT' EXPORTING * iv_object = * iv_subobject = * iv_extnumber = * iv_delete_mess = iv_skip_search = gc_true is_debug = gs_debug CHANGING cv_handle = cv_loghandle.
/SAPSLL/PREFERENCE_LGREG_GET CALL FUNCTION '/SAPSLL/PREFERENCE_LGREG_GET' EXPORTING is_debug = gs_debug IMPORTING er_lgreg_nafta = es_crit-lgreg EXCEPTIONS incomplete_customizing = 1 internal_error = 2 OTHERS = 3.
/SAPSLL/PREFERENCE_LGREG_GET CALL FUNCTION '/SAPSLL/PREFERENCE_LGREG_GET' EXPORTING is_debug = gs_debug IMPORTING er_lgreg_eu = es_crit-lgreg EXCEPTIONS incomplete_customizing = 1 internal_error = 2 OTHERS = 3.
/SAPSLL/PRE_KMAT_RESULT_SELECT *CALL FUNCTION '/SAPSLL/PRE_KMAT_RESULT_SELECT' ** EXPORTING ** IS_MODKMAT_CRIT = ** IS_PREFKMAT_CRIT = ** IMPORTING ** ET_PRE_KMAT_DOC_CALC = ** EXCEPTIONS ** NO_DATA = 1 ** INVALID_CALL = 2 ** INTERNAL_ERROR = 3 ** OTHERS = 4 * .
/SAPSLL/ALV_HIERSEQ_DISPLAY CALL FUNCTION '/SAPSLL/ALV_HIERSEQ_DISPLAY' EXPORTING * IT_EXCL_FUNC = * IT_FIELDINFO = * IT_SORT = * IS_VARIANT = is_keyinfo = ls_keyinfo * iv_repid = gc_progname-kmat_doc_calc_disp iv_repid = sy-repid iv_cb_status = gc_alv_form-pf_status iv_cb_command = gc_alv_form-user_command iv_tabname_header = gc_tablename-header iv_tabname_item = gc_tablename-item iv_strucname_header = gc_strucname-header iv_strucname_item = gc_strucname-item * IV_SAVE = * IV_CHECKBOX = ' ' is_layout = ls_layout * IV_GUID_DISPLAY = ' ' * IV_SCREEN_START_COLUMN = 0 * IV_SCREEN_START_LINE = 0 * IV_SCREEN_END_COLUMN = 0 * IV_SCREEN_END_LINE = 0 is_debug = gs_debug * IMPORTING * EV_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES ct_header = gt_kmat_doc_calc_hdr[] ct_item = gt_kmat_doc_calc_itm[] CHANGING ct_fieldcat = lt_fieldcatalog[] EXCEPTIONS invalid_call = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gc_progname-kmat_doc_calc_disp i_internal_tabname = gc_tablename-header i_structure_name = gc_strucname-header i_client_never_display = gc_true * I_INCLNAME = i_bypassing_buffer = gc_true * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = et_fieldcatalog[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gc_progname-kmat_doc_calc_disp i_internal_tabname = gc_tablename-item i_structure_name = gc_strucname-item i_client_never_display = gc_true * I_INCLNAME = i_bypassing_buffer = gc_true * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = et_fieldcatalog[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
/SAPSLL/DDUT_TEXT_FOR_VALUE CALL FUNCTION '/SAPSLL/DDUT_TEXT_FOR_VALUE' EXPORTING iv_tablename = '/SAPSLL/T606G' iv_fieldname = 'LGREG' iv_value = ls_kmat_doc_calc-lgreg IMPORTING ev_text = lv_text EXCEPTIONS OTHERS = 1.
/SAPSLL/DDUT_TEXT_FOR_VALUE CALL FUNCTION '/SAPSLL/DDUT_TEXT_FOR_VALUE' EXPORTING iv_tablename = '/SAPSLL/KMATPREF' iv_fieldname = 'PRFTY' iv_value = ls_kmat_doc_calc-prfty IMPORTING ev_text = lv_text EXCEPTIONS OTHERS = 1.
/SAPSLL/DDUT_TEXT_FOR_VALUE CALL FUNCTION '/SAPSLL/DDUT_TEXT_FOR_VALUE' EXPORTING iv_tablename = '/SAPSLL/KMATPREF' iv_fieldname = 'PREFE' iv_value = ls_kmat_doc_calc-prefe IMPORTING ev_text = lv_text EXCEPTIONS OTHERS = 1.
/SAPSLL/LOGSYS_GET_DEPENDANT CALL FUNCTION '/SAPSLL/LOGSYS_GET_DEPENDANT' EXPORTING iv_pfony = iv_pfony TABLES shlp_tab = lt_shlp_tab record_tab = lt_record_tab CHANGING shlp = ls_shlp callcontrol = lt_call_control.
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = lc_domain_prefe * STATE = 'A' langu = sy-langu * IMPORTING * GOTSTATE = * DD01V_WA = TABLES dd07v_tab = st_prefe_value EXCEPTIONS illegal_input = 1 OTHERS = 2 .
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = lc_select_prefe * IMPORTING * USER_RESET = TABLES value_tab = st_value field_tab = st_field return_tab = lt_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPSLL/PRE_KMAT_DOC_CALC_F01 - /SAPSLL/PREKMATDOCCALCF01 /SAPSLL/PRE_KMAT_DOC_CALC_DISP - Display Preference Result by Document /SAPSLL/PRE_KMAT_DOC_CALC_DISP - Display Preference Result by Document /SAPSLL/PRE_KMAT_DOC_CALC_D01 - /SAPSLL/PREKMATDOCCALCD01 /SAPSLL/PRE_KMAT_DOC_CALC_ASS - /SAPSLL/PREKMATDOCCALCASS /SAPSLL/PRE_KMATWL_DISPLAY_TOP - /SAPSLL/PREKMATWLDISPLAYTOP