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

/SAPSLL/GPA_LOAD SAP ABAP Report - Transfer GPA Files to Presentation Server







/SAPSLL/GPA_LOAD 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 /SAPSLL/GPA_LOAD 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/GPA_LOAD - Transfer GPA Files to Client


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/GPA_LOAD. "Basic submit
SUBMIT /SAPSLL/GPA_LOAD AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/GPA_LOAD 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_DELETE = Delete Source File
Selection Text: P_OPEN = Open Target Folder
Selection Text: P_PATHA1 = Path of Customs Declar. File
Selection Text: P_PATHA2 = Path of Customs Number File
Selection Text: P_PATHF = Path of Target Folder
Title: Transfer GPA Files to Presentation Server
Text Symbol: 002 = Select Folder
Text Symbol: 003 = ENT
Text Symbol: 004 = FINUM
Text Symbol: S01 = Source Files - Application Server
Text Symbol: S02 = Target Folder - Presentation Server
Text Symbol: S04 = Transferred from:
Text Symbol: S05 = Transferred to:
Text Symbol: S06 = General Control Parameters


INCLUDES used within this REPORT /SAPSLL/GPA_LOAD

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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl_gpa 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_gpa 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_gpa including_dir = gc_true IMPORTING file_name = lv_path.

F4_DXFILENAME_TOPRECURSION CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION' EXPORTING i_location_flag = 'A'"Applicationserver i_server = ' ' i_path = ' ' filemask = iv_filemask fileoperation = ' ' IMPORTING o_path = lv_path abend_flag = lv_abend_flag EXCEPTIONS rfc_error = 1 error_with_gui = 2 OTHERS = 3.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'READ' filename = lv_file_auth_check EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'DELETE' filename = lv_file_auth_check EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

DX_FILE_EXISTENCE_CHECK CALL FUNCTION 'DX_FILE_EXISTENCE_CHECK' EXPORTING filename = lv_filename pc = iv_frontend * SERVER = IMPORTING file_exists = cv_file_exists EXCEPTIONS rfc_error = 1 frontend_error = 2 no_authority = 3 OTHERS = 4.

DX_FILE_COPY_NO_CONVERSION CALL FUNCTION 'DX_FILE_COPY_NO_CONVERSION' EXPORTING source_filename = lv_source_filename source_pc = gc_false * source_server = v_server target_filename = lv_target_filename target_pc = gc_true * target_server = n_server EXCEPTIONS file_read_error = 1 file_write_error = 2 canceled_by_user = 3 db_error = 4 no_authority = 5.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING activity = 'DELETE' filename = lv_file_auth_check EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl_gpa 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_gpa including_dir = gc_true IMPORTING file_name = lv_path.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_log_fname-sll_upl_gpa 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_gpa 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/GPA_LOAD or its description.