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

/SAPSLL/CALC_DOC_FOR SAP ABAP INCLUDE - /SAPSLL/CALCDOCFOR







/SAPSLL/CALC_DOC_FOR 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/CALC_DOC_FOR 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/CALC_DOC_FOR. "Basic submit
SUBMIT /SAPSLL/CALC_DOC_FOR AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/CALC_DOC_FOR 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/CALC_DOC_FOR

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:

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_lgreg is_debug = gs_debug CHANGING ct_range = lr_lgreg[].

/SAPSLL/RES_CALC_DOC_SELECT CALL FUNCTION '/SAPSLL/RES_CALC_DOC_SELECT' EXPORTING ir_lgreg = lr_lgreg[] is_cuhd_obj_crit_s = ls_cuhd_obj_crit iv_corref_data = gc_true iv_cuhddat_data = gc_true IMPORTING et_documents = lt_documents[] et_corref = lt_corref[] et_cuhddat = lt_cuhddat[] EXCEPTIONS no_documents_found = 1 OTHERS = 2.

/SAPSLL/RES_CALC_DOC_SET_DAT CALL FUNCTION '/SAPSLL/RES_CALC_DOC_SET_DAT' EXPORTING it_cuhddat = lt_cuhddat[].

/SAPSLL/RES_CALC_DOC_MAP CALL FUNCTION '/SAPSLL/RES_CALC_DOC_MAP' EXPORTING is_res_calc_head = ls_res_calc_head is_document = iv_applog = gc_false IMPORTING es_calc_pr_input = ls_calc_pr_input CHANGING ct_lgreg = lt_lgreg[] * CT_ASSIGNED_LICENSES = EXCEPTIONS no_calc_currency = 1 no_exchange_rate_type = 2 no_applog_hndl = 3 no_active_legal_regulation = 4 no_mapping = 5 OTHERS = 6.

/SAPSLL/RES_CALC_PR_SGL CALL FUNCTION '/SAPSLL/RES_CALC_PR_SGL' EXPORTING is_res_calc_pr_hd = ls_calc_pr_input-head is_res_calc_pr_it = ls_res_calc_pr_it iv_applog_ini_lev = lv_loglev IMPORTING is_res_calc_pr_it_res = ls_res_calc_pr_it_result et_res_log_calc = lt_res_log_calc[] EXCEPTIONS internal_error = 1 no_bop_found = 2 calculation_failed = 3 OTHERS = 4.

/SAPSLL/RES_CALC_DOC_RES_MEM CALL FUNCTION '/SAPSLL/RES_CALC_DOC_RES_MEM' EXPORTING it_res_calc_result = gt_result_ui[] iv_lgreg = iv_lgreg.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = gc_qalref-external_number is_debug = gs_debug CHANGING ct_range = cs_cuhd_obj_crit-corref-qalref[].

/SAPSLL/CONVERT_DATE_STAMP_RNG CALL FUNCTION '/SAPSLL/CONVERT_DATE_STAMP_RNG' EXPORTING ir_date = ir_erdat IMPORTING ir_time_stamp = cr_crtsp.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_value CHANGING ct_range = ct_range EXCEPTIONS invalid_range_structure = 1 OTHERS = 2.

/SAPSLL/APPLOG_INIT CALL FUNCTION '/SAPSLL/APPLOG_INIT' EXPORTING iv_object = gc_applog_obj-restitution iv_subobject = gc_applog_subobj-restitution_calc iv_extnumber = lv_extno iv_delete_mess = gc_true iv_default_set = gc_true iv_skip_search = gc_false iv_read_archive = gc_false iv_no_creation = gc_false is_debug = gs_debug CHANGING cv_handle = cv_loghndl EXCEPTIONS invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 OTHERS = 4.

/SAPSLL/ALV_GRID_FULLSCREEN CALL FUNCTION '/SAPSLL/ALV_GRID_FULLSCREEN' EXPORTING it_finfo = lt_finfo[] * IT_TOOLBAR_EXCLUDING = it_add_functions = lt_add_buttons[] * IT_F4_FIELDS = is_variant = ls_variant is_layout = ls_layout iv_save = gc_true iv_structure = gc_ui_strucname iv_dbl_clk_callback = '/SAPSLL/RES_CALC_DOC_ALV_DBLCL' * IV_BEFORE_UCOMM_CALLBACK = iv_ucomm_callback = '/SAPSLL/RES_CALC_DOC_ALV_UCOMM' * IV_ENTER_CALLBACK = * IV_CHECK_CALLBACK = * IV_APPL_EVENT = * IV_FLAG_STYLE = iv_titlebar = text-001 it_sort = lt_sort[] * IT_FILTER = iv_flag_input = gc_false is_debug = gs_debug CHANGING * ct_fieldcat = lt_fieldcat[] ct_data = it_result_ui[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'COYEAR' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CORDER' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'GRVSY' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'DCGRP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'PRTYP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'STCTS' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'EXDAT' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO





CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYGR' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETWE_RD_DEC' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETEH_RD_DEC' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETVAL_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NTCUR' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'GROVAL_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'GRCUR' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'TAXVAL_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'TXCUR' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'QUANT_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'QUAUM' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEINET_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEIGRO_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEIDIM' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'ERNAM' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CRTSP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'AENAM' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CHTSP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'DOCST' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CUHDA' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].




/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'INDEI' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'INCOT' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'INCOLO' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CDTYP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CDORG' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEINET_CUM_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEIGRO_CUM_FLT' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'WEIDIM_CUM' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYPL' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYDP' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYAR' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYIV' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'CTYTR' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'BOPT2' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'BOPT3' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'BOPTA' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'BOPTB' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'BOPTC' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETWE' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETEH' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETWE_RD' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'NETEH_RD' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'LOGHNDL' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'PRPROF' iv_fieldinfo = gc_finfo-tech is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'ADDDA1' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'ADDDA2' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].

/SAPSLL/APPEND_FINFO CALL FUNCTION '/SAPSLL/APPEND_FINFO' EXPORTING iv_tablename = gc_ui_strucname iv_fieldname = 'ADDDA3' iv_fieldinfo = gc_finfo-no_out is_debug = gs_debug CHANGING ct_finfo = ct_finfo[].



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/CALC_DOC_FOR or its description.