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

/SAPSLL/TLC_CUSB_SUB SAP ABAP INCLUDE - General Subroutines







/SAPSLL/TLC_CUSB_SUB 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/TLC_CUSB_SUB 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/TLC_CUSB_SUB. "Basic submit
SUBMIT /SAPSLL/TLC_CUSB_SUB AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/TLC_CUSB_SUB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: General Subroutines


INCLUDES used within this REPORT /SAPSLL/TLC_CUSB_SUB

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/AUTH_CHECK_LRG_SGL call function '/SAPSLL/AUTH_CHECK_LRG_SGL' exporting iv_autho = iv_autho iv_lgreg = iv_lgreg * IV_ACTVT = ' ' it_ac_actvt = lt_actvt * IV_LANGU = ' ' * IMPORTING * EV_AUTH_CHECK_OK = exceptions no_activity_provided = 1 no_authority = 2 wrong_authority_object = 3 others = 4 .

LVC_VARIANT_EXISTENCE_CHECK call function 'LVC_VARIANT_EXISTENCE_CHECK' exporting i_save = lc_layoutvar_save changing cs_variant = cs_variant exceptions wrong_input = 1 not_found = 2 program_error = 3 others = 4.

LVC_VARIANT_F4 call function 'LVC_VARIANT_F4' exporting is_variant = cs_variant * IT_DEFAULT_FIELDCAT = i_save = lc_layoutvar_save importing e_exit = lv_exit es_variant = cs_variant exceptions not_found = 1 program_error = 2 others = 3.

/SAPSLL/T606G_DB_SGL_READ call function '/SAPSLL/T606G_DB_SGL_READ' exporting is_pk = ls_t606g-pk * IV_FLAG_BYPASS_BUFFER = ' ' * IV_FLAG_NO_DB_ACCESS = ' ' * IV_FLAG_FILL_BUFFER = 'X' is_debug = ls_debug importing es_result = ls_t606g exceptions no_data = 1 invalid_call = 2 others = 3.

/SAPSLL/ACT_LEG_REG_SERV_GET call function '/SAPSLL/ACT_LEG_REG_SERV_GET' exporting iv_srvll = gc_services-customs * IV_INDEI = * is_crit = * IS_DEBUG = importing et_t606g = lt_t606g_det * EV_DSLRG = exceptions no_determination_scheme = 1 no_check_objects = 2 no_entries_found = 3 others = 4.

/SAPSLL/ACT_LEG_REG_SERV_GET call function '/SAPSLL/ACT_LEG_REG_SERV_GET' exporting iv_srvll = gc_services-restitution * IV_INDEI = * is_crit = * IS_DEBUG = importing et_t606g = lt_t606g_det * EV_DSLRG = exceptions no_determination_scheme = 1 no_check_objects = 2 no_entries_found = 3 others = 4.

/SAPSLL/T606G_DB_SGL_READ call function '/SAPSLL/T606G_DB_SGL_READ' exporting is_pk = ls_t606g-pk * IV_FLAG_BYPASS_BUFFER = ' ' * IV_FLAG_NO_DB_ACCESS = ' ' * IV_FLAG_FILL_BUFFER = 'X' is_debug = ls_debug importing es_result = ls_t606g exceptions no_data = 1 invalid_call = 2 others = 3.

/SAPSLL/ACT_LEG_REG_SERV_GET call function '/SAPSLL/ACT_LEG_REG_SERV_GET' exporting iv_srvll = gc_services-customs * IV_INDEI = * IS_CRIT = * IS_DEBUG = importing et_t606g = lt_t606g_det * EV_DSLRG = exceptions no_determination_scheme = 1 no_check_objects = 2 no_entries_found = 3 others = 4.

/SAPSLL/NUMBERING_SCHEME_GET call function '/SAPSLL/NUMBERING_SCHEME_GET' exporting is_tlegsu_pk = ls_tlegsu-pk iv_date = sy-datlo importing es_tlegsu = ls_tlegsu exceptions no_data = 1 invalid_call = 2 others = 3.

/SAPSLL/ACT_LEG_REG_SERV_GET call function '/SAPSLL/ACT_LEG_REG_SERV_GET' exporting iv_srvll = gc_services-restitution * IV_INDEI = * IS_CRIT = * IS_DEBUG = importing et_t606g = lt_t606g_det * EV_DSLRG = exceptions no_determination_scheme = 1 no_check_objects = 2 no_entries_found = 3 others = 4.

/SAPSLL/NUMBERING_SCHEME_GET call function '/SAPSLL/NUMBERING_SCHEME_GET' exporting is_tlegsu_pk = ls_tlegsu-pk iv_date = sy-datlo importing es_tlegsu = ls_tlegsu exceptions no_data = 1 invalid_call = 2 others = 3.

/SAPSLL/APPEND_RANGE call function '/SAPSLL/APPEND_RANGE' exporting iv_value_low = sy-mandt is_debug = ls_debug changing ct_range = ls_ctsgen_crit-mandt exceptions invalid_range_structure = 1 others = 2.

/SAPSLL/APPEND_RANGE call function '/SAPSLL/APPEND_RANGE' exporting iv_value_low = iv_stcts is_debug = ls_debug changing ct_range = ls_ctsgen_crit-stcts exceptions invalid_range_structure = 1 others = 2.

/SAPSLL/CTSGEN_DB_RNG_READ call function '/SAPSLL/CTSGEN_DB_RNG_READ' exporting is_crit = ls_ctsgen_crit * IV_FLAG_FILL_BUFFER = 'X' is_debug = ls_debug importing et_result = lt_ctsgen exceptions no_data = 1 open_sql_error = 2 others = 3.

/SAPSLL/APPEND_RANGE call function '/SAPSLL/APPEND_RANGE' exporting iv_value_low = -guid_ctsgen is_debug = ls_debug changing ct_range = er_guid_htsnum exceptions invalid_range_structure = 1 others = 2.

/SAPSLL/CTSNUM_DB_RNG_READ call function '/SAPSLL/CTSNUM_DB_RNG_READ' exporting is_crit = ls_ctsnum_crit * IV_FLAG_FILL_BUFFER = 'X' is_debug = ls_debug importing et_result = lt_ctsnum exceptions no_data = 1 open_sql_error = 2 others = 3.

/SAPSLL/APPEND_RANGE call function '/SAPSLL/APPEND_RANGE' exporting iv_value_low = -guid_ctsnum is_debug = ls_debug changing ct_range = er_guid_htsnum exceptions invalid_range_structure = 1 others = 2.

/SAPSLL/CTSNUMC_DB_RNG_READ call function '/SAPSLL/CTSNUMC_DB_RNG_READ' exporting is_crit = ls_ctsnumc_crit * IV_FLAG_FILL_BUFFER = 'X' is_debug = ls_debug importing et_result = lt_ctsnumc exceptions no_data = 1 open_sql_error = 2 others = 3.

/SAPSLL/APPEND_RANGE





call function '/SAPSLL/APPEND_RANGE' exporting iv_value_low = -guid_ctsnumc is_debug = ls_debug changing ct_range = er_guid_htsnum exceptions invalid_range_structure = 1 others = 2.

/SAPSLL/LLNS_CALL_MATCH_CODE call function '/SAPSLL/LLNS_CALL_MATCH_CODE' exporting iv_stcts = iv_stcts * IV_DATBI = * IR_LAND1 = iv_ccngn = cv_ccngn * IV_CTSTA = 'X' * IV_CTSTB = ' ' importing es_ctsxxx = ls_ctsxxx exceptions stcts_not_found = 1 no_data_found = 2 invalid_call = 3 others = 4.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = &1-msgty cl = &1-msgid number = &1-msgno par1 = &1-msgv1 par2 = &1-msgv2 par3 = &1-msgv3 par4 = &1-msgv4 log_no = &2 * LOG_MSG_NO = ' ' * PARAMETER = ' ' row = &1-index * FIELD = ' ' importing return = &3.

/SAPSLL/APPLOG_INIT call function '/SAPSLL/APPLOG_INIT' exporting iv_object = iv_balobject iv_subobject = iv_subobject iv_extnumber = iv_extnumber * IV_DELETE_MESS = ' ' * IV_DEFAULT_SET = 'X' iv_skip_search = gc_true * IV_READ_ARCHIVE = ' ' * IV_NO_CREATION = ' ' * IS_DEBUG = GS_DEBUG changing cv_handle = ev_loghandle exceptions invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 others = 4.

/SAPSLL/APPLOG_APPEND call function '/SAPSLL/APPLOG_APPEND' exporting iv_lghdl = iv_loghandle iv_msgid = is_syst-msgid iv_msgty = is_syst-msgty iv_msgno = is_syst-msgno iv_msgv1 = is_syst-msgv1 iv_msgv2 = is_syst-msgv2 iv_msgv3 = is_syst-msgv3 iv_msgv4 = is_syst-msgv4 iv_probclass = ' ' iv_detlevel = lv_appl_level * is_debug = gs_debug exceptions internal_error = 1 others = 2.

/SAPSLL/APPLOG_DISPLAY call function '/SAPSLL/APPLOG_DISPLAY' exporting * iv_object = gc_applog_obj-tlc * iv_subobject = gc_applog_subobj-tlc_upload iv_extnumber = iv_extnumber iv_handle = iv_loghandle iv_funcname = '/SAPSLL/APPLOG_PROF_DET' * IS_LOG_FILTER = * IS_MSG_FILTER = * IS_DISPLAY_PROFILE = * IV_USE_GRID = iv_head_text = lv_head_text * IV_READ_ARCHIVE = ' ' * IS_DEBUG = exceptions no_log_found = 1 others = 2.

/SAPSLL/APPLOG_SAVE call function '/SAPSLL/APPLOG_SAVE' exporting iv_handle = iv_loghandle iv_extnumber = iv_extnumber * IV_IN_UPDATE_TASK = ' ' * IT_LOG_HANDLE = * IS_DEBUG = * IMPORTING * ET_LOGNUMBERS = .



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