EHPRC_CP_IM52S_PROCESS_SEG_MC is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EHPRC_CP_IM52S_PROCESS_SEG_MC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EHPRC_CP_IM52S
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EHPRC_CP_IM52S_PROCESS_SEG_MC' "CP: Processing IMDS Segments MC, MI, C, H, M, R
EXPORTING
i_imptyp = " ehprc_imptyp Import type
it_data_file = " ehprct_imsegdatl CP: Import Tool Segment Data Table
its_segfields = " ehprct_imsegfields CP: Segment Fields Import Configuration
IMPORTING
e_flg_abort = " eseboole Truth Value
CHANGING
xt_data = " ehprct_imdata
xt_comp = " ehprct_imcomp
xt_ltext = " ehprct_rcgapipl CP: Table type for RCGAPIPL (Phrases long texts)
xts_obj = " ehprct_imobjident1_unique CP: Import Object with Unique key Ident1
xt_msg = " ehprct_imerror
. " EHPRC_CP_IM52S_PROCESS_SEG_MC
The ABAP code below is a full code listing to execute function module EHPRC_CP_IM52S_PROCESS_SEG_MC including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_flg_abort | TYPE ESEBOOLE . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_xt_data | TYPE EHPRCT_IMDATA , |
| ld_e_flg_abort | TYPE ESEBOOLE , |
| ld_i_imptyp | TYPE EHPRC_IMPTYP , |
| ld_xt_comp | TYPE EHPRCT_IMCOMP , |
| ld_it_data_file | TYPE EHPRCT_IMSEGDATL , |
| ld_xt_ltext | TYPE EHPRCT_RCGAPIPL , |
| ld_its_segfields | TYPE EHPRCT_IMSEGFIELDS , |
| ld_xts_obj | TYPE EHPRCT_IMOBJIDENT1_UNIQUE , |
| ld_xt_msg | TYPE EHPRCT_IMERROR . |
EXAMPLE
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EHPRC_CP_IM52S_PROCESS_SEG_MC or its description.
EHPRC_CP_IM52S_PROCESS_SEG_MC - CP: Processing IMDS Segments MC, MI, C, H, M, R EHPRC_CP_IM52S_PROCESS_SEG_CMP - CP: Processing IMDS Segments RA, RW, RP EHPRC_CP_IM52S_PROCESS - CP: Process IMDS Import with String Tables EHPRC_CP_IM52S_PREPROCESS - CP: Preprocess IMDS Filter EHPRC_CP_IM52S_OBJECT_MATCH - Match MDS / Modules to existing Specifications EHPRC_CP_IM52S_IMDS_UNV_PROC - CP: Universal Process Module