SAP CF_DI_FHM_LST_EDIT Function Module for PRT processing in task lists and orders
CF_DI_FHM_LST_EDIT is a standard cf di fhm lst edit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PRT processing in task lists and orders processing and below is the pattern details for this FM, 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 cf di fhm lst edit FM, simply by entering the name CF_DI_FHM_LST_EDIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CFDI
Program Name: SAPLCFDI
Main Program: SAPLCFDI
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CF_DI_FHM_LST_EDIT 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 'CF_DI_FHM_LST_EDIT'"PRT processing in task lists and orders.
EXPORTING
RC271_IMP = "
RC27E_IMP = "
RC27I_IMP = "
RC27S_IMP = "
TCA05_IMP = "
IMPORTING
OK_CODE_EXP = "
RC27I_EXP = "
EXCEPTIONS
FOUND_SOPR = 1 NOT_FOUND_OPERATION = 2
IMPORTING Parameters details for CF_DI_FHM_LST_EDIT
RC271_IMP -
Data type: RC271Optional: No
Call by Reference: No ( called with pass by value option)
RC27E_IMP -
Data type: RC27EOptional: No
Call by Reference: No ( called with pass by value option)
RC27I_IMP -
Data type: RC27IOptional: No
Call by Reference: No ( called with pass by value option)
RC27S_IMP -
Data type: RC27SOptional: No
Call by Reference: No ( called with pass by value option)
TCA05_IMP -
Data type: TCA05Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CF_DI_FHM_LST_EDIT
OK_CODE_EXP -
Data type: T185-FCODEOptional: No
Call by Reference: No ( called with pass by value option)
RC27I_EXP -
Data type: RC27IOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FOUND_SOPR - Selected operation is a suboperation
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND_OPERATION - No operation selected in the act. list
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CF_DI_FHM_LST_EDIT 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: | ||||
| lv_rc271_imp | TYPE RC271, " | |||
| lv_found_sopr | TYPE RC271, " | |||
| lv_ok_code_exp | TYPE T185-FCODE, " | |||
| lv_rc27e_imp | TYPE RC27E, " | |||
| lv_rc27i_exp | TYPE RC27I, " | |||
| lv_not_found_operation | TYPE RC27I, " | |||
| lv_rc27i_imp | TYPE RC27I, " | |||
| lv_rc27s_imp | TYPE RC27S, " | |||
| lv_tca05_imp | TYPE TCA05. " |
|   CALL FUNCTION 'CF_DI_FHM_LST_EDIT' "PRT processing in task lists and orders |
| EXPORTING | ||
| RC271_IMP | = lv_rc271_imp | |
| RC27E_IMP | = lv_rc27e_imp | |
| RC27I_IMP | = lv_rc27i_imp | |
| RC27S_IMP | = lv_rc27s_imp | |
| TCA05_IMP | = lv_tca05_imp | |
| IMPORTING | ||
| OK_CODE_EXP | = lv_ok_code_exp | |
| RC27I_EXP | = lv_rc27i_exp | |
| EXCEPTIONS | ||
| FOUND_SOPR = 1 | ||
| NOT_FOUND_OPERATION = 2 | ||
| . " CF_DI_FHM_LST_EDIT | ||
ABAP code using 7.40 inline data declarations to call FM CF_DI_FHM_LST_EDIT
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 FCODE FROM T185 INTO @DATA(ld_ok_code_exp). | ||||
Search for further information about these or an SAP related objects