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

/SAPSLL/SPL_UPLOAD_IXML_FOR SAP ABAP INCLUDE - SLL: GK: SPL: Subroutines for Upload of SPL Master Data via iXML







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


Text pool values


Title: SLL: GK: SPL: Subroutines for Upload of SPL Master Data via iXML


INCLUDES used within this REPORT /SAPSLL/SPL_UPLOAD_IXML_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/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = gc_date-omega iv_time = gc_time-end IMPORTING ev_timestamp = lv_timestamp EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4.

/SAPSLL/SPL_MASTER_GET_MACOMBI CALL FUNCTION '/SAPSLL/SPL_MASTER_GET_MACOMBI' CHANGING cs_tspln = gs_tspln.

/SAPSLL/SPL_MASTER_GET_MACOMBI CALL FUNCTION '/SAPSLL/SPL_MASTER_GET_MACOMBI' CHANGING cs_tspla = gs_tspla.

/SAPSLL/SPL_MASTER_GET_MACOMBI CALL FUNCTION '/SAPSLL/SPL_MASTER_GET_MACOMBI' CHANGING cs_tspln = gs_tspln.

/SAPSLL/SPL_MASTER_GET_MACOMBI CALL FUNCTION '/SAPSLL/SPL_MASTER_GET_MACOMBI' CHANGING cs_tspla = gs_tspla.

/SAPSLL/SPL_UPLOAD_MAP_XML_DIC CALL FUNCTION '/SAPSLL/SPL_UPLOAD_MAP_XML_DIC' EXPORTING iv_element = gf_hlp_str iv_content = gf_string is_sel_data = ps_sel_data is_tzones = gs_tzones CHANGING cs_tspl = gs_tspl_entities cs_tspln = gs_tspln cs_tspla = gs_tspla cs_tspli = gs_tspli cs_tsplb = gs_tsplb EXCEPTIONS no_delimiter_found = 1 data_provider_not_valid = 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 = gc_false iv_flag_no_db_access = gc_false iv_flag_fill_buffer = gc_true is_debug = gs_debug IMPORTING es_result = ls_t606g EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/TCOCMP_DB_SGL_READ CALL FUNCTION '/SAPSLL/TCOCMP_DB_SGL_READ' EXPORTING is_pk = ls_tcocmp_pk iv_flag_bypass_buffer = gc_false iv_flag_no_db_access = gc_false iv_flag_fill_buffer = gc_true is_debug = gs_debug IMPORTING es_result = ls_tcocmp EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

CONVERSION_EXIT_ISOLA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_INPUT' EXPORTING input = sy-langu IMPORTING output = lv_txtlangu EXCEPTIONS unknown_language = 1 OTHERS = 2.

/SAPSLL/T606G_DB_SGL_READ ** CALL FUNCTION '/SAPSLL/T606G_DB_SGL_READ' ** EXPORTING ** is_pk = ls_t606g-pk ** is_debug = gs_debug ** IMPORTING ** es_result = ls_t606g ** EXCEPTIONS ** no_data = 1 ** invalid_call = 2 ** OTHERS = 3.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = gc_date-omega iv_time = gc_time-end IMPORTING ev_timestamp = ls_tspl_obj-datbi EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4.

/SAPSLL/T606G_DB_SGL_READ CALL FUNCTION '/SAPSLL/T606G_DB_SGL_READ' EXPORTING is_pk = ls_t606g-pk is_debug = gs_debug IMPORTING es_result = ls_t606g EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/SPL_MASTER_INVALID_DEL CALL FUNCTION '/SAPSLL/SPL_MASTER_INVALID_DEL' CHANGING cs_tspl = ls_obj-tspl ct_tspln = ls_obj-tspln[] ct_tspla = ls_obj-tspla[] EXCEPTIONS technical_validity_too_small = 1 OTHERS = 2.

/SAPSLL/APPLOG_INIT CALL FUNCTION '/SAPSLL/APPLOG_INIT' EXPORTING iv_object = gc_applog_obj-spl iv_subobject = gc_applog_subobj-spl_sterms iv_extnumber = '1' iv_delete_mess = gc_false is_debug = gs_debug CHANGING cv_handle = gv_lghdl_sterms.

/SAPSLL/SPL_STERMS_CREATE_INDX CALL FUNCTION '/SAPSLL/SPL_STERMS_CREATE_INDX' EXPORTING is_sel_data = gs_sel_data iv_spkwt = iv_sttyp it_tspl = lt_tspl it_tspln = ls_obj-tspln it_tspla = ls_obj-tspla iv_lghdl = gv_lghdl_sterms is_debug = gs_debug CHANGING ct_tsplnk = ls_obj-tsplnk ct_tsplak = ls_obj-tsplak EXCEPTIONS no_delimiter_found = 1 no_legal_regulation = 2 OTHERS = 3.

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING ev_guid_16 = ls_tsplr-guid_tsplr.

/SAPSLL/TEXT_STRING_TO_TABLE CALL FUNCTION '/SAPSLL/TEXT_STRING_TO_TABLE' EXPORTING iv_txtstring = lv_textstring IMPORTING et_tlines = lt_tline.

/SAPSLL/TEXT_GET_HEADER CALL FUNCTION '/SAPSLL/TEXT_GET_HEADER' EXPORTING iv_txtobj = ls_txtkey-txtobj iv_txtnam = ls_txtkey-txtnam.

/SAPSLL/TEXT_MODIFY





CALL FUNCTION '/SAPSLL/TEXT_MODIFY' EXPORTING is_txtkey = ls_txtkey it_tline = lt_tline.

/SAPSLL/TEXT_COMMIT CALL FUNCTION '/SAPSLL/TEXT_COMMIT' EXPORTING iv_savemode = gc_false.

/SAPSLL/T606G_DB_SGL_READ CALL FUNCTION '/SAPSLL/T606G_DB_SGL_READ' EXPORTING is_pk = ls_t606g_pk iv_flag_bypass_buffer = gc_true is_debug = gs_debug EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/GET_SPL_MASTER_TZONES CALL FUNCTION '/SAPSLL/GET_SPL_MASTER_TZONES' EXPORTING iv_lgreg = iv_lgreg iv_init_select = gc_false CHANGING cv_tzone_from = cv_tzfrom cv_tzone_to = cv_tzto cv_tzone_entry = cv_tzentry.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_timezone = ps_tzones-spl_tzone_from iv_date = gc_date-alpha iv_time = gc_time-begin IMPORTING ev_timestamp = lv_timestamp EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_timezone = ps_tzones-spl_tzone_to iv_date = gc_date-omega iv_time = gc_time-end IMPORTING ev_timestamp = lv_timestamp EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 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 = gc_false iv_flag_no_db_access = gc_false iv_flag_fill_buffer = gc_true is_debug = gs_debug IMPORTING es_result = ls_t606g EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/TCOCMP_DB_SGL_READ CALL FUNCTION '/SAPSLL/TCOCMP_DB_SGL_READ' EXPORTING is_pk = ls_tcocmp_pk iv_flag_bypass_buffer = gc_false iv_flag_no_db_access = gc_false iv_flag_fill_buffer = gc_true is_debug = gs_debug IMPORTING es_result = ls_tcocmp EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = pf_log_handle i_s_msg = ls_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl parameter_1 = lv_cprog CHANGING physical_filename = lv_path EXCEPTIONS OTHERS = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl including_dir = gc_true IMPORTING file_name = lv_path.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl including_dir = gc_true IMPORTING file_name = lv_path.

F4_DXFILENAME_TOPRECURSION CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION' EXPORTING i_location_flag = 'A' i_server = ' ' i_path = lv_path filemask = '*.*'

/SAPSLL/AUTH_CHECK_LRG_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_LRG_SGL' EXPORTING iv_autho = 'GTS_SPL' iv_lgreg = iv_lgreg it_ac_actvt = lt_actvt[] iv_langu = sy-langu IMPORTING ev_auth_check_ok = cv_check_ok EXCEPTIONS no_activity_provided = 1 no_authority = 2 wrong_authority_object = 3 OTHERS = 4.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = sy-mandt is_debug = gs_debug CHANGING ct_range = ls_tspl_crit-mandt[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = is_tspl_sk-lgreg is_debug = gs_debug CHANGING ct_range = ls_tspl_crit-lgreg[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = is_tspl_sk-spl_list_type is_debug = gs_debug CHANGING ct_range = ls_tspl_crit-spl_list_type[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = is_tspl_sk-spl_provider_id is_debug = gs_debug CHANGING ct_range = ls_tspl_crit-spl_provider_id[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = is_tspl_sk-spl_data_ref_id is_debug = gs_debug CHANGING ct_range = ls_tspl_crit-spl_data_ref_id[].

/SAPSLL/TSPL_DB_BUF_READ CALL FUNCTION '/SAPSLL/TSPL_DB_BUF_READ' EXPORTING is_crit = ls_tspl_crit is_debug = gs_debug IMPORTING et_result = lt_tspl[] EXCEPTIONS no_data = 1 OTHERS = 2.




/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = sy-mandt is_debug = gs_debug CHANGING ct_range = ls_tspln_crit-mandt[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_guid_tspl is_debug = gs_debug CHANGING ct_range = ls_tspln_crit-guid_tspl[].

/SAPSLL/TSPLN_DB_BUF_READ CALL FUNCTION '/SAPSLL/TSPLN_DB_BUF_READ' EXPORTING is_crit = ls_tspln_crit is_debug = gs_debug IMPORTING et_result = lt_tspln[] EXCEPTIONS no_data = 1 OTHERS = 2.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = sy-mandt is_debug = gs_debug CHANGING ct_range = ls_tspla_crit-mandt[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_guid_tspl is_debug = gs_debug CHANGING ct_range = ls_tspla_crit-guid_tspl[].

/SAPSLL/TSPLA_DB_BUF_READ CALL FUNCTION '/SAPSLL/TSPLA_DB_BUF_READ' EXPORTING is_crit = ls_tspla_crit is_debug = gs_debug IMPORTING et_result = lt_tspla[] EXCEPTIONS no_data = 1 OTHERS = 2.

/SAPSLL/TSPLR_DB_DEL CALL FUNCTION '/SAPSLL/TSPLR_DB_DEL' IN UPDATE TASK EXPORTING it_del = lt_tsplr_old[] is_debug = gs_debug.

/SAPSLL/TSPLR_DB_INS CALL FUNCTION '/SAPSLL/TSPLR_DB_INS' IN UPDATE TASK EXPORTING it_ins = lt_tsplr_new[] is_debug = gs_debug.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl parameter_1 = lv_cprog CHANGING physical_filename = lv_path EXCEPTIONS OTHERS = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl including_dir = gc_true IMPORTING file_name = lv_path.



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