SAP Reports / Programs | Specification 2000 | Aerospace & Defence Industry Solution | Specification 2000(IS-AD-SPC) SAP IS

ADS2KIPUPL_START_UPLOAD SAP ABAP Report - SPEC 2000 Initial Provisioning: Upload







ADS2KIPUPL_START_UPLOAD is a standard Executable ABAP Report 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 ADS2KIPUPL_START_UPLOAD 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

ADS2KUPL - SPEC2000 Initial Provisioning Upload


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 ADS2KIPUPL_START_UPLOAD. "Basic submit
SUBMIT ADS2KIPUPL_START_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT ADS2KIPUPL_START_UPLOAD 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_PROF = Upload Profile
Selection Text: P_PATH = D File name
Selection Text: P_OPNJOB = Open job overview
Selection Text: P_BYSPL = Use TDC as SPL
Selection Text: P_BYMFR = Use MFR as SPL
Selection Text: P_BYIPDB = Bypass writing to IP database
Selection Text: P_BYEIMP = Upload without End Items
Selection Text: P_BYCHK = Bypass customer file checks
Title: SPEC 2000 Initial Provisioning: Upload
Text Symbol: 033 = Upload profile
Text Symbol: 032 = View profile
Text Symbol: 031 = Profile selection
Text Symbol: 030 = Starting dialog processing...
Text Symbol: 029 = Dialog processing upload - Warning
Text Symbol: 028 = Use Transmitter of Data (TDC) as Supplier (SPL)
Text Symbol: 027 = Use Manufacturer (MFR) as Supplier (SPL)
Text Symbol: 026 = Application server file
Text Symbol: 025 = Front end file
Text Symbol: 024 = Select path
Text Symbol: 023 = Selection for upload
Text Symbol: 022 = Select processing mode
Text Symbol: 021 = Background
Text Symbol: 020 = Dialog
Text Symbol: 019 = Starting job overview in new window...
Text Symbol: 018 = Specify Sequence Number...
Text Symbol: 017 = Validating file header....
Text Symbol: 016 = File header read successfully...
Text Symbol: 014 = Upload started in dialog process...
Text Symbol: 013 = Upload started in background...
Text Symbol: 012 = Starting background processing...
Text Symbol: 011 = File header validation successful...
Text Symbol: 010 = Reading file....
Text Symbol: 009 = File
Text Symbol: 006 = File Types (S,V,T)
Text Symbol: 005 = RSPL File
Text Symbol: 004 = Select file type
Text Symbol: 003 = Additional selection for upload


INCLUDES used within this REPORT ADS2KIPUPL_START_UPLOAD

INCLUDE: LBTCHDEF.




INCLUDE: ADS2KIP_BROWSER_SWITCH.


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:

ADS2KIPUPL_GET_PROFILES CALL FUNCTION 'ADS2KIPUPL_GET_PROFILES' TABLES t_profiles = lt_profiles.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P_PROF' values = lt_values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_d020s-prog dynumb = l_d020s-dnum TABLES dynpfields = lt_dynpread 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.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gs_custom_settings-logical_file IMPORTING file_name = gf_path EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2.

F4_DXFILENAME_TOPRECURSION CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION' EXPORTING i_location_flag = gf_location i_server = p_server i_path = gf_path filemask = '*.*'

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING action = 'S' view_name = 'VADS2KIPUPL_GSET' TABLES dba_sellist = lt_sellist excl_cua_funct = lt_cua_func EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 OTHERS = 14.

ADS2KIPUPL_START_UPLOAD CALL FUNCTION 'ADS2KIPUPL_START_UPLOAD' DESTINATION p_server EXPORTING is_upload_options = gs_upload_options i_file_path = gf_fpath i_profile = p_prof EXCEPTIONS communication_failure = 1 MESSAGE l_msg_text system_failure = 2 MESSAGE l_msg_text.

ADS2KIPUPL_GET_SEQUENCE_NUMBER CALL FUNCTION 'ADS2KIPUPL_GET_SEQUENCE_NUMBER' IMPORTING e_canc = gf_canc_flag CHANGING cs_header = gs_api_header cs_headert = gs_api_spciphdrt.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' IMPORTING rfcsi_export = l_rfcsi.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = lc_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' at_opmode_periodic = gs_job_start-periodic calendar_id = gs_job_start-calendarid event_id = gs_job_start-eventid event_param = gs_job_start-eventparm event_periodic = gs_job_start-periodic jobcount = l_jobcount jobname = lc_jobname laststrtdt = gs_job_start-laststrtdt laststrttm = gs_job_start-laststrttm prddays = gs_job_start-prddays prdhours = gs_job_start-prdhours prdmins = gs_job_start-prdmins prdmonths = gs_job_start-prdmonths prdweeks = gs_job_start-prdweeks predjob_checkstat = gs_job_start-checkstat pred_jobcount = gs_job_start-predjobcnt pred_jobname = gs_job_start-predjob sdlstrtdt = gs_job_start-sdlstrtdt sdlstrttm = gs_job_start-sdlstrttm startdate_restriction = btc_process_always strtimmed = g_start_immed targetsystem = gs_job_start-instname start_on_workday_not_before = gs_job_start-notbefore start_on_workday_nr = gs_job_start-wdayno workday_count_direction = gs_job_start-wdaycdir targetserver = p_gs_upload_options-bgrd_server IMPORTING job_was_released = l_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

NAVIGATION_EXECUTE_OBJECT_HELP CALL FUNCTION 'NAVIGATION_EXECUTE_OBJECT_HELP' EXPORTING object_name = 'SM37' reporttype = 'TR' new_window = adupl_boolean-yes no_progress_indicator = adupl_boolean-yes.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = p_percentage text = p_text EXCEPTIONS OTHERS = 1.

GUI_GET_FILE_INFO CALL FUNCTION 'GUI_GET_FILE_INFO' EXPORTING fname = p_path IMPORTING file_size = lf_file_size EXCEPTIONS fileinfo_error = 1 OTHERS = 2.

ADS2KIPUPL_GET_FILE_ATTRIBUTES CALL FUNCTION 'ADS2KIPUPL_GET_FILE_ATTRIBUTES' DESTINATION p_server EXPORTING i_filepath = l_path IMPORTING * E_FILE_NAME = * E_DIR_NAME = * E_FILE_TYPE = e_file_len = lf_file_size * E_OWNER = * E_MODIFICATION_DATE = * E_MODIFICATION_TIME = * E_PERMISSIONS = * E_ERRNO = * E_ERROR_MESSAGE = EXCEPTIONS failed = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT_WITH_PARAMS CALL FUNCTION 'POPUP_DISPLAY_TEXT_WITH_PARAMS' EXPORTING language = sy-langu popup_title = text-029 text_object = lc_filesize_warning help_modal = adupl_boolean-yes IMPORTING cancelled = p_cancelled TABLES parameters = lt_parameters EXCEPTIONS error_in_text = 1 text_not_found = 2 OTHERS = 3.

API_S2K_IP_HDR_CREATE CALL FUNCTION 'API_S2K_IP_HDR_CREATE' EXPORTING is_update_options = ls_api_spcip_options is_spciphdr = p_gs_api_header is_spciphdrt = p_gs_api_spciphdrt IMPORTING es_spciphdr = p_gs_header es_spciphdrt = p_gs_headert es_upload_status_hdr = ls_upload_status_hdr TABLES t_messages = lt_msg_comm t_messages_doc_params = lt_msg_comm_doc_params t_spcipextn = p_gt_extension.

ADS2KIPUPL_CONVERT_MSG_COMM CALL FUNCTION 'ADS2KIPUPL_CONVERT_MSG_COMM' TABLES t_msg_comm = lt_msg_comm t_msg_comm_doc_para = lt_msg_comm_doc_params t_msg_comm_o_table = lt_msg_comm_o_table.






ADS2KIPUPL_APPLLOG_HEADER CALL FUNCTION 'ADS2KIPUPL_APPLLOG_HEADER' EXPORTING is_file_header = p_gs_header i_uname = sy-uname i_profile = p_profile IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

ADS2KIPUPL_LOG_MSG_ADD CALL FUNCTION 'ADS2KIPUPL_LOG_MSG_ADD' EXPORTING i_object_handle = l_log_handle TABLES t_msg_comm = p_lt_msg_comm_o_table EXCEPTIONS log_not_found = 1 OTHERS = 2.

ADS2KIPUPL_DISPLAY_LOG CALL FUNCTION 'ADS2KIPUPL_DISPLAY_LOG' EXPORTING i_log_handle = l_log_handle i_display_tree = adupl_boolean-no i_profile = p_profile.

ADS2KIPUPL_GET_CUSTOMIZING CALL FUNCTION 'ADS2KIPUPL_GET_CUSTOMIZING' EXPORTING e_profile = p_profile IMPORTING is_custom_settings = p_custom.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = gs_job_start stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = l_modify_flag stdt_output = gs_job_start EXCEPTIONS fcal_id_not_defined = 1 incomplete_last_startdate = 2 incomplete_startdate = 3 invalid_dialog_type = 4 invalid_eventid = 5 invalid_opcode = 6 invalid_opmode_name = 7 invalid_periodbehaviour = 8 invalid_predecessor_jobname = 9 last_startdate_in_the_past = 10 no_period_data_given = 11 no_startdate_given = 12 period_and_predjob_no_way = 13 period_too_small_for_limit = 14 predecessor_jobname_not_unique = 15 startdate_interval_too_large = 16 startdate_in_the_past = 17 startdate_is_a_holiday = 18 startdate_out_of_fcal_range = 19 stdt_before_holiday_in_past = 20 unknown_fcal_error_occured = 21 no_workday_nr_given = 22 invalid_workday_countdir = 23 invalid_workday_nr = 24 notbefore_stdt_missing = 25 workday_starttime_missing = 26 no_eventid_given = 27 OTHERS = 28.



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