SAP CNVL_DETERMINE_FIELD Function Module for NOTRANSL: Variable Übersichten: Feld an Cursorposition ermitteln
CNVL_DETERMINE_FIELD is a standard cnvl determine field SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Variable Übersichten: Feld an Cursorposition ermitteln 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 cnvl determine field FM, simply by entering the name CNVL_DETERMINE_FIELD into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNVL
Program Name: SAPLCNVL
Main Program: SAPLCNVL
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CNVL_DETERMINE_FIELD 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 'CNVL_DETERMINE_FIELD'"NOTRANSL: Variable Übersichten: Feld an Cursorposition ermitteln.
EXPORTING
* I_LINTYP = ' ' "
* I_OBJECT = ' ' "Object
* I_LINE = 0 "
* I_POSIT = 0 "
IMPORTING
E_TABNAME = "DDIC table name
E_FIELDNAME = "DDIC field name
E_FIELD = "Internal Field Name
E_LINE_INFO = "
E_POSIT = "
E_ENDPOS = "
E_TABINDEX = "
EXCEPTIONS
NO_VARIABLE_LIST_LINE = 1
IMPORTING Parameters details for CNVL_DETERMINE_FIELD
I_LINTYP -
Data type: TCNVF-LINTYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJECT - Object
Data type: TCNVF-OBJECTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LINE -
Data type: TCNVF-LINEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_POSIT -
Data type: TCNVF-POSITOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNVL_DETERMINE_FIELD
E_TABNAME - DDIC table name
Data type: TCNVD-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_FIELDNAME - DDIC field name
Data type: TCNVD-FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_FIELD - Internal Field Name
Data type: TCNVF-FIELDOptional: No
Call by Reference: No ( called with pass by value option)
E_LINE_INFO -
Data type: CNVL_LINE_INFOOptional: No
Call by Reference: No ( called with pass by value option)
E_POSIT -
Data type: TCNVF-POSITOptional: No
Call by Reference: No ( called with pass by value option)
E_ENDPOS -
Data type: TCNVF-POSITOptional: No
Call by Reference: No ( called with pass by value option)
E_TABINDEX -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_VARIABLE_LIST_LINE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNVL_DETERMINE_FIELD 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_i_lintyp | TYPE TCNVF-LINTYP, " SPACE | |||
| lv_e_tabname | TYPE TCNVD-TABNAME, " | |||
| lv_no_variable_list_line | TYPE TCNVD, " | |||
| lv_i_object | TYPE TCNVF-OBJECT, " SPACE | |||
| lv_e_fieldname | TYPE TCNVD-FIELDNAME, " | |||
| lv_i_line | TYPE TCNVF-LINE, " 0 | |||
| lv_e_field | TYPE TCNVF-FIELD, " | |||
| lv_i_posit | TYPE TCNVF-POSIT, " 0 | |||
| lv_e_line_info | TYPE CNVL_LINE_INFO, " | |||
| lv_e_posit | TYPE TCNVF-POSIT, " | |||
| lv_e_endpos | TYPE TCNVF-POSIT, " | |||
| lv_e_tabindex | TYPE SY-TABIX. " |
|   CALL FUNCTION 'CNVL_DETERMINE_FIELD' "NOTRANSL: Variable Übersichten: Feld an Cursorposition ermitteln |
| EXPORTING | ||
| I_LINTYP | = lv_i_lintyp | |
| I_OBJECT | = lv_i_object | |
| I_LINE | = lv_i_line | |
| I_POSIT | = lv_i_posit | |
| IMPORTING | ||
| E_TABNAME | = lv_e_tabname | |
| E_FIELDNAME | = lv_e_fieldname | |
| E_FIELD | = lv_e_field | |
| E_LINE_INFO | = lv_e_line_info | |
| E_POSIT | = lv_e_posit | |
| E_ENDPOS | = lv_e_endpos | |
| E_TABINDEX | = lv_e_tabindex | |
| EXCEPTIONS | ||
| NO_VARIABLE_LIST_LINE = 1 | ||
| . " CNVL_DETERMINE_FIELD | ||
ABAP code using 7.40 inline data declarations to call FM CNVL_DETERMINE_FIELD
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 LINTYP FROM TCNVF INTO @DATA(ld_i_lintyp). | ||||
| DATA(ld_i_lintyp) | = ' '. | |||
| "SELECT single TABNAME FROM TCNVD INTO @DATA(ld_e_tabname). | ||||
| "SELECT single OBJECT FROM TCNVF INTO @DATA(ld_i_object). | ||||
| DATA(ld_i_object) | = ' '. | |||
| "SELECT single FIELDNAME FROM TCNVD INTO @DATA(ld_e_fieldname). | ||||
| "SELECT single LINE FROM TCNVF INTO @DATA(ld_i_line). | ||||
| "SELECT single FIELD FROM TCNVF INTO @DATA(ld_e_field). | ||||
| "SELECT single POSIT FROM TCNVF INTO @DATA(ld_i_posit). | ||||
| "SELECT single POSIT FROM TCNVF INTO @DATA(ld_e_posit). | ||||
| "SELECT single POSIT FROM TCNVF INTO @DATA(ld_e_endpos). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_e_tabindex). | ||||
Search for further information about these or an SAP related objects