/SAPSLL/SLLNS_ENHANCED_XML_UPL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program loads XML files with customs classification data (tariff code numbers, the corresponding texts, and customs duty rates) into the
If you would like to execute this report or see the full code listing simply enter /SAPSLL/SLLNS_ENHANCED_XML_UPL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
/SAPSLL/LLNS_XML_UPL - Upload Data for Customs Classif.
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.
Selection Text: C_LOGSS = Save Log
Selection Text: P_PATHF = Path of Directory
Selection Text: P_PATHS = Path of Directory
Selection Text: P_UPLID = Upload ID
Selection Text: P_BP = D .
Title: Upload Customs Classification Data from XML Files
Text Symbol: 001 = Data Provider
Text Symbol: 003 = Tariff Code Numbers
Text Symbol: 004 = Texts
Text Symbol: 005 = Cust.Duty Rates
Text Symbol: B10 = Number-Specific Parameter
Text Symbol: B20 = Directory of XML Files
Text Symbol: B21 = Local Data Medium
Text Symbol: B22 = Application Server
Text Symbol: B30 = Log
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/SAPSLL/APPLOG_INIT CALL FUNCTION '/SAPSLL/APPLOG_INIT' EXPORTING iv_object = gc_applog_obj-llns iv_subobject = gc_applog_subobject iv_extnumber = p_uplid iv_skip_search = gc_true is_debug = gs_debug CHANGING cv_handle = gv_loghandle EXCEPTIONS invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 OTHERS = 4.
BUPA_DESCRIPTION_GET CALL FUNCTION 'BUPA_DESCRIPTION_GET' EXPORTING iv_partner = lv_partner iv_valdt = sy-datlo IMPORTING ev_description = lv_description TABLES et_return = lt_return[].
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_percentage text = lv_protext.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_file filetype = 'BIN' TABLES data_tab = lt_data EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
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/TCOTSB_DB_RNG_READ CALL FUNCTION '/SAPSLL/TCOTSB_DB_RNG_READ' EXPORTING is_crit = ls_tcotsb_crit * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = et_customizing EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.
/SAPSLL/CUHD_LLNS_SCHEME_DET CALL FUNCTION '/SAPSLL/CUHD_LLNS_SCHEME_DET' EXPORTING is_tlegsu_crit = ls_tlegsu_crit iv_crtsp = lv_crtsp IMPORTING et_tlegsu = et_check_lgreg EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.
/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/AUTH_CHECK_LLNS_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_LLNS_SGL' EXPORTING iv_stcts = iv_stcts it_ac_actvt = lt_actvt[] iv_langu = sy-langu EXCEPTIONS no_activity_provided = 1 no_authority = 2 OTHERS = 3.
/SAPSLL/AUTH_CHECK_LRG_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_LRG_SGL' EXPORTING iv_autho = 'GTS_CUS' iv_lgreg = iv_lgreg it_ac_actvt = lt_actvt iv_langu = sy-langu EXCEPTIONS no_activity_provided = 1 no_authority = 2 wrong_authority_object = 3 OTHERS = 4.
ENQUEUE_/SAPSLL/ECTSGEN CALL FUNCTION 'ENQUEUE_/SAPSLL/ECTSGEN' EXPORTING stcts = ls_submit_stcts-stcts _scope = '3' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ENQUEUE_/SAPSLL/E_CUSB1 CALL FUNCTION 'ENQUEUE_/SAPSLL/E_CUSB1' EXPORTING lgreg = ls_submit_lgreg-lgreg _scope = '3' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
/SAPSLL/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = iv_loghandle iv_extnumber = p_uplid.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = ls_display_profile.
/SAPSLL/APPLOG_DISPLAY CALL FUNCTION '/SAPSLL/APPLOG_DISPLAY' EXPORTING iv_object = gc_applog_obj-llns iv_subobject = gc_applog_subobject iv_extnumber = p_uplid iv_handle = iv_loghandle is_display_profile = ls_display_profile EXCEPTIONS no_log_found = 1 OTHERS = 2.
/SAPSLL/APPLOG_APPEND CALL FUNCTION '/SAPSLL/APPLOG_APPEND' EXPORTING iv_lghdl = iv_loghandle iv_msgid = sy-msgid iv_msgty = sy-msgty iv_msgno = sy-msgno iv_msgv1 = sy-msgv1 iv_msgv2 = sy-msgv2 iv_msgv3 = sy-msgv3 iv_msgv4 = sy-msgv4 iv_detlevel = iv_appl_level is_msg_par = ls_message EXCEPTIONS internal_error = 1 OTHERS = 2.
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.
CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl including_dir = gc_true IMPORTING file_name = lv_path.
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/SLLNS_ENHANCED_XML_UPL or its description.
/SAPSLL/SLLNS_ENHANCED_XML_UPL - Upload Customs Classification Data from XML Files /SAPSLL/SLLNS_ENHANCED_XML_UPL - Upload Customs Classification Data from XML Files /SAPSLL/SLLNS_DEL_LANGU - Report to Delete Unnecessary Languages /SAPSLL/SLLNS_DEL_LANGU - Report to Delete Unnecessary Languages /SAPSLL/SLLNS_CONVERT_EXSID - CORE: LLNS: Convert External Key to Upper Case Letters /SAPSLL/SLLNS_CONVERT_EXSID - CORE: LLNS: Convert External Key to Upper Case Letters