SAP Reports / Programs

FOPCB_MOVE_TO_APPLSERV SAP ABAP Report - Copy Client File to Application Server







FOPCB_MOVE_TO_APPLSERV 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 FOPCB_MOVE_TO_APPLSERV into the relevant SAP transactions such as SE38 or SE80


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 FOPCB_MOVE_TO_APPLSERV. "Basic submit
SUBMIT FOPCB_MOVE_TO_APPLSERV AND RETURN. "Return to original report after report execution complete
SUBMIT FOPCB_MOVE_TO_APPLSERV 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: FILENAME = File Name
Selection Text: FILETYPE = File Type
Title: Copy Client File to Application Server
Text Symbol: 001 = Client Workstation File
Text Symbol: 004 = Sequential File
Text Symbol: 005 = File Selection
Text Symbol: 006 = File Copied Successfully
Text Symbol: 007 = Number of Rows:
Text Symbol: E01 = File for Legacy Data Transfer Not Found


INCLUDES used within this REPORT FOPCB_MOVE_TO_APPLSERV

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_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = dslognam IMPORTING file_name = ds_phy_name EXCEPTIONS file_not_found = 08.

F4_DXFILENAME_TOPRECURSION CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION' EXPORTING i_location_flag = 'A' i_server = ' ' i_path = l_path IMPORTING o_path = l_path abend_flag = l_abend_flag EXCEPTIONS communication_failure = 1 system_failure = 2 rfc_error = 3.

RH_APPLICATION_SYSTEM_CHECK CALL FUNCTION 'RH_APPLICATION_SYSTEM_CHECK' EXCEPTIONS system_type_unknown = 1 basis_system = 2 OTHERS = 3.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = gui_filename * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' IMPORTING filelength = l_file_size * HEADER = TABLES data_tab = lt_data_tab EXCEPTIONS error_message = 1 OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog CHANGING physical_filename = dataset EXCEPTIONS OTHERS = 1.



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