SAP Reports / Programs

/SAPSLL/SPL_UPLOAD_IXML SAP ABAP Report - Load Master Data with iXML







/SAPSLL/SPL_UPLOAD_IXML is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Automated loading of master records from sanctioned party lists to SAP Global Trade Services (SAP GTS) The 'Upload SPL Data' program is used to load SPL master data to SAP GTS using an XML file...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /SAPSLL/SPL_UPLOAD_IXML into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPSLL/SPL_UL01 - Upload XML Data


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


Text pool values


Selection Text: P_DELSUB = D .
Selection Text: S_LTYPE = D .
Selection Text: P_STERMS = D .
Selection Text: P_RUNID = D .
Selection Text: P_LGREG = D .
Selection Text: P_GRID = D .
Selection Text: P_APPLS = D .
Selection Text: P_SFILE = Save XML File
Selection Text: P_PROVI = Data Provider
Selection Text: P_PATH2 = Path for XML File (App Server)
Selection Text: P_PATH = Path for XML File (Frontend)
Title: Load Master Data with iXML
Text Symbol: SF6 = Local Source of XML File on the Application Server
Text Symbol: SF5 = Log
Text Symbol: SF4 = Time Zones
Text Symbol: SF3 = Processing Mode
Text Symbol: SF2 = Local Source of XML File
Text Symbol: SF1 = Sanctioned Party List
Text Symbol: PB1 = Copy Default Data
Text Symbol: M03 = Valid to
Text Symbol: M02 = Valid from
Text Symbol: M01 = Date of Inclusion
Text Symbol: 001 = Find Local XML File


INCLUDES used within this REPORT /SAPSLL/SPL_UPLOAD_IXML

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = syst-dynnr TABLES dynpfields = gt_dynpfields[] EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

TZON_CHECK_TIMEZONE CALL FUNCTION 'TZON_CHECK_TIMEZONE' EXPORTING if_timezone = p_tzgen IMPORTING ef_exists = gv_flag1 ef_is_active = gv_flag2.

TZON_CHECK_TIMEZONE CALL FUNCTION 'TZON_CHECK_TIMEZONE' EXPORTING if_timezone = p_tzfrom IMPORTING ef_exists = gv_flag1 ef_is_active = gv_flag2.

TZON_CHECK_TIMEZONE CALL FUNCTION 'TZON_CHECK_TIMEZONE' EXPORTING if_timezone = p_tzto IMPORTING ef_exists = gv_flag1 ef_is_active = gv_flag2.

TZON_GET_USER_TIMEZONE CALL FUNCTION 'TZON_GET_USER_TIMEZONE' EXPORTING if_username = sy-uname IMPORTING ef_timezone = p_tzgen EXCEPTIONS no_timezone_customizing = 1 no_valid_user = 2 OTHERS = 3.

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

TZON_GET_USER_TIMEZONE * CALL FUNCTION 'TZON_GET_USER_TIMEZONE' * EXPORTING * if_username = sy-uname * IMPORTING * ef_timezone = p_tzgen * EXCEPTIONS * no_timezone_customizing = 0 * no_valid_user = 0 * OTHERS = 0.

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

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = gf_filename filetype = 'BIN' "#EC NOTEXT IMPORTING filelength = gf_totalsize TABLES data_tab = gt_xml EXCEPTIONS OTHERS = 11.

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.

/SAPSLL/SPL_UPLOAD_FILL_OBJ CALL FUNCTION '/SAPSLL/SPL_UPLOAD_FILL_OBJ' EXPORTING iv_lghdl = gv_lghdl iv_del_sub = p_delsub it_tspl = gt_tspl_entities[] it_listtyp = lt_t608l IMPORTING ev_rcode = lv_rcode.

/SAPSLL/SPL_UPLOAD_CALL_APPLOG CALL FUNCTION '/SAPSLL/SPL_UPLOAD_CALL_APPLOG' EXPORTING iv_lghdl = gv_lghdl iv_grid = p_grid is_debug = gs_debug IMPORTING ev_save_data = lv_save_data EXCEPTIONS no_list_possible = 1 process_has_been_stopped = 2 OTHERS = 3.

/SAPSLL/STORE_UPLOAD_OBJECTS CALL FUNCTION '/SAPSLL/STORE_UPLOAD_OBJECTS' EXPORTING is_objdata = ls_objdata is_debug = gs_debug iv_commit = gc_false iv_save_applog = p_appls iv_save_file = p_sfile EXCEPTIONS internal_error = 1 db_write_error = 2 empty_log = 3 OTHERS = 4.

/SAPSLL/AB_SPL_CUS_CHK_GET CALL FUNCTION '/SAPSLL/AB_SPL_CUS_CHK_GET' EXPORTING iv_lgreg = p_lgreg IMPORTING es_cus_spl_chk = ls_cus_spl_chk.

/SAPSLL/SPL_INDEX_RESET CALL FUNCTION '/SAPSLL/SPL_INDEX_RESET' EXPORTING iv_lgreg = p_lgreg iv_synchron = gc_false.



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