SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

FT_PULL_FILES SAP ABAP Report - Upload Customs Data







FT_PULL_FILES 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 FT_PULL_FILES 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

FT_PULL_FILES - Upload Customs 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 FT_PULL_FILES. "Basic submit
SUBMIT FT_PULL_FILES AND RETURN. "Return to original report after report execution complete
SUBMIT FT_PULL_FILES 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_RCVPOR = D Receiver Port
Selection Text: P_RCVPRN = D Recip. Partner No.
Selection Text: P_RCVPRT = D Receiver Partn. Type
Selection Text: P_SNDPOR = D Sender Port
Selection Text: P_SNDPRN = D Sender Partner No.
Selection Text: P_SNDPRT = D Partner Type of Sender
Selection Text: ZUPDATE = Update
Title: Upload Customs Data


INCLUDES used within this REPORT FT_PULL_FILES

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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' "#EC DOM_EQUAL IMPORTING own_logical_system = p_rcvprn EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = lv_filename.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename * FILETYPE = 'ASC' * IMPORTING * FILELENGTH = TABLES data_tab = lt_datatab EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 OTHERS = 6 .

EDI_AGREE_IN_MESSTYPE_READ CALL FUNCTION 'EDI_AGREE_IN_MESSTYPE_READ' EXPORTING rec_edk21 = ls_edk21 IMPORTING rec_edd21 = ls_edd21 EXCEPTIONS db_error = 1 entry_not_exist = 2 OTHERS = 3.

EDI_AGREE_PARTNER_INSERT CALL FUNCTION 'EDI_AGREE_PARTNER_INSERT' EXPORTING rec_edpp1 = ls_edpp1 * NO_PTYPE_CHECK = ' ' EXCEPTIONS db_error = 1 entry_already_exist = 2 parameter_error = 3 OTHERS = 4.

EDI_AGREE_IN_MESSTYPE_INSERT CALL FUNCTION 'EDI_AGREE_IN_MESSTYPE_INSERT' EXPORTING rec_edp21 = ls_edp21 EXCEPTIONS db_error = 1 entry_already_exist = 2 parameter_error = 3 OTHERS = 4.

IDOC_INBOUND_ASYNCHRONOUS CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS' * STARTING NEW TASK 'UPLOAD' IN BACKGROUND TASK AS SEPARATE UNIT TABLES idoc_control_rec_40 = ps_edi_dc40 idoc_data_rec_40 = pt_edi_dd40.



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