SAP Reports / Programs

R_EHPRC_IMP_FRONT SAP ABAP Report - Import from Front End







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

EHPRC_CPI04 - Import from Front End


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 R_EHPRC_IMP_FRONT. "Basic submit
SUBMIT R_EHPRC_IMP_FRONT AND RETURN. "Return to original report after report execution complete
SUBMIT R_EHPRC_IMP_FRONT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Import from Front End
Text Symbol: 001 = Import/Export Files (*.dat)
Text Symbol: 002 = All Files (*.*)
Text Symbol: 003 = Word Documents (*.doc)
Text Symbol: 004 = Key Files (*.key)
Text Symbol: 005 = Text Files (*.txt)
Text Symbol: 006 = Import from Front End
Text Symbol: 007 = Exception
Text Symbol: 008 = XML Files (*.xml)


INCLUDES used within this REPORT R_EHPRC_IMP_FRONT

INCLUDE CBUI09.
INCLUDE EHPRC_I01.
INCLUDE EHPRC_I07.


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:

EHPRC_CP_LB13_FILENAME_GET CALL FUNCTION 'EHPRC_CP_LB13_FILENAME_GET' EXPORTING i_dir_file = lv_filename_upload IMPORTING e_filename = lv_filename_stripped e_dir = lv_impath.

EHPRC_CP_LB13_F_EXTENSION_GET CALL FUNCTION 'EHPRC_CP_LB13_F_EXTENSION_GET' EXPORTING i_file = lv_filename_stripped IMPORTING e_file_extension = lv_suffix.

EHPRC_CP_LB07_CONV_STREAM2IMPL CALL FUNCTION 'EHPRC_CP_LB07_CONV_STREAM2IMPL' EXPORTING it_stream = lt_raw i_input_length = ls_source-filesize iv_encoding = ls_source-encoding TABLES et_lines = lt_lines EXCEPTIONS conversion_error = 1 OTHERS = 2.

EHPRC_CP_LB07_CONV_2IMPL_TEXT CALL FUNCTION 'EHPRC_CP_LB07_CONV_2IMPL_TEXT' EXPORTING it_stream = lt_raw iv_input_length = ls_source-filesize iv_token = ic_ascii-crlf iv_encoding = ls_source-encoding TABLES et_lines = lt_lines EXCEPTIONS conversion_error = 1 OTHERS = 2.

EHPRC_CP_LB13_FILEFORMAT_CHECK CALL FUNCTION 'EHPRC_CP_LB13_FILEFORMAT_CHECK' EXPORTING i_line1000 = lv_line i_filename = lv_filename_upload_string IMPORTING es_message = ls_msg e_error = lv_error.

EHPRC_CP_LB07_CONV_2IMPL_NOERR CALL FUNCTION 'EHPRC_CP_LB07_CONV_2IMPL_NOERR' EXPORTING it_stream = lt_raw iv_input_length = lv_len iv_file_suffix = lv_suffix TABLES et_lines = lt_lines_tmp EXCEPTIONS conversion_error = 1 OTHERS = 2.

EHPRC_CP_LB13_FILEFORMAT_CHECK CALL FUNCTION 'EHPRC_CP_LB13_FILEFORMAT_CHECK' EXPORTING i_line1000 = lv_line i_filename = lv_filename_upload_string IMPORTING es_message = ls_msg e_error = lv_error.

EHPRC_CP_IM50_IMPORT CALL FUNCTION 'EHPRC_CP_IM50_IMPORT' EXPORTING i_filename = lv_filename_stripped i_path = lv_impath i_appl_log_ident = lv_appl_log_ident i_source = ics_import_source-front is_source = ls_source i_memory_id = pv_memid TABLES it_lines = lt_lines EXCEPTIONS imptyp_not_found = 1 OTHERS = 3.



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