SAP EHPRC_CP_IM53_PARSE Function Module for
EHPRC_CP_IM53_PARSE is a standard ehprc cp im53 parse SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ehprc cp im53 parse FM, simply by entering the name EHPRC_CP_IM53_PARSE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EHPRC_CP_IM53
Program Name: SAPLEHPRC_CP_IM53
Main Program: SAPLEHPRC_CP_IM53
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EHPRC_CP_IM53_PARSE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EHPRC_CP_IM53_PARSE'".
EXPORTING
IT_STREAM = "
I_FILESIZE = "
IT_LINES = "
I_IMPTYP = "
IMPORTING
E_ERROR = "
ET_DATA = "
ET_COMP = "
ET_OBJECT = "
CHANGING
XTS_ATTACH = "
XTS_DECSUB = "
XTS_LINKID = "
TABLES
* XT_MSG = "
* XT_LTEXT = "
IMPORTING Parameters details for EHPRC_CP_IM53_PARSE
IT_STREAM -
Data type: EHPRCT_RCGREPFILEOptional: No
Call by Reference: Yes
I_FILESIZE -
Data type: RCGAPIDI-FILEBYTES1Optional: No
Call by Reference: Yes
IT_LINES -
Data type: EHPRCT_IMPFILEOptional: No
Call by Reference: Yes
I_IMPTYP -
Data type: EHPRC_IMPTYPOptional: No
Call by Reference: Yes
EXPORTING Parameters details for EHPRC_CP_IM53_PARSE
E_ERROR -
Data type:Optional: No
Call by Reference: Yes
ET_DATA -
Data type: EHPRCT_IMDATAOptional: No
Call by Reference: Yes
ET_COMP -
Data type: EHPRCT_IMCOMPOptional: No
Call by Reference: Yes
ET_OBJECT -
Data type: EHPRCT_IMOBJOptional: No
Call by Reference: Yes
CHANGING Parameters details for EHPRC_CP_IM53_PARSE
XTS_ATTACH -
Data type: EHPRCT_IMATTACHOptional: No
Call by Reference: Yes
XTS_DECSUB -
Data type: EHPRCT_IMDECSUBOptional: No
Call by Reference: Yes
XTS_LINKID -
Data type: EHPRCT_IMLINKIDOptional: No
Call by Reference: Yes
TABLES Parameters details for EHPRC_CP_IM53_PARSE
XT_MSG -
Data type: EHPRCT_IMERROROptional: Yes
Call by Reference: No ( called with pass by value option)
XT_LTEXT -
Data type: RCGAPIPLOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for EHPRC_CP_IM53_PARSE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_xt_msg | TYPE STANDARD TABLE OF EHPRCT_IMERROR, " | |||
| lv_e_error | TYPE EHPRCT_IMERROR, " | |||
| lv_it_stream | TYPE EHPRCT_RCGREPFILE, " | |||
| lv_xts_attach | TYPE EHPRCT_IMATTACH, " | |||
| lv_et_data | TYPE EHPRCT_IMDATA, " | |||
| lt_xt_ltext | TYPE STANDARD TABLE OF RCGAPIPL, " | |||
| lv_i_filesize | TYPE RCGAPIDI-FILEBYTES1, " | |||
| lv_xts_decsub | TYPE EHPRCT_IMDECSUB, " | |||
| lv_et_comp | TYPE EHPRCT_IMCOMP, " | |||
| lv_it_lines | TYPE EHPRCT_IMPFILE, " | |||
| lv_xts_linkid | TYPE EHPRCT_IMLINKID, " | |||
| lv_i_imptyp | TYPE EHPRC_IMPTYP, " | |||
| lv_et_object | TYPE EHPRCT_IMOBJ. " |
|   CALL FUNCTION 'EHPRC_CP_IM53_PARSE' " |
| EXPORTING | ||
| IT_STREAM | = lv_it_stream | |
| I_FILESIZE | = lv_i_filesize | |
| IT_LINES | = lv_it_lines | |
| I_IMPTYP | = lv_i_imptyp | |
| IMPORTING | ||
| E_ERROR | = lv_e_error | |
| ET_DATA | = lv_et_data | |
| ET_COMP | = lv_et_comp | |
| ET_OBJECT | = lv_et_object | |
| CHANGING | ||
| XTS_ATTACH | = lv_xts_attach | |
| XTS_DECSUB | = lv_xts_decsub | |
| XTS_LINKID | = lv_xts_linkid | |
| TABLES | ||
| XT_MSG | = lt_xt_msg | |
| XT_LTEXT | = lt_xt_ltext | |
| . " EHPRC_CP_IM53_PARSE | ||
ABAP code using 7.40 inline data declarations to call FM EHPRC_CP_IM53_PARSE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single FILEBYTES1 FROM RCGAPIDI INTO @DATA(ld_i_filesize). | ||||
Search for further information about these or an SAP related objects