SAP Reports / Programs | Global Trade Services | Global Trade Services(SLL-LEG) SAP SLL

/SAPSLL/PRE_KMAT_DOC_CALC_F01 SAP ABAP INCLUDE - /SAPSLL/PREKMATDOCCALCF01







/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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT /SAPSLL/PRE_KMAT_DOC_CALC_F01. "Basic submit
SUBMIT /SAPSLL/PRE_KMAT_DOC_CALC_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/PRE_KMAT_DOC_CALC_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT /SAPSLL/PRE_KMAT_DOC_CALC_F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /SAPSLL/PRE_KMAT_DOC_CALC_F01 or its description.