SAP CNV_10996_CALL_FORM_IN_GENPROG Function Module for
CNV_10996_CALL_FORM_IN_GENPROG is a standard cnv 10996 call form in genprog 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 cnv 10996 call form in genprog FM, simply by entering the name CNV_10996_CALL_FORM_IN_GENPROG into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_10996
Program Name: SAPLCNV_10996
Main Program: SAPLCNV_10996
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CNV_10996_CALL_FORM_IN_GENPROG 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 'CNV_10996_CALL_FORM_IN_GENPROG'".
EXPORTING
* MANDT = SY-MANDT "
* PACKID = 00000 "
* TABNAME = "
* FIELDNAME = "
FORMROUT = "
STEPFORM = "
IMPORTING
CHANGED = "
CHANGING
* ORIGINAL_VALUE = "
TABLES
* I_DFIES = "
* I_PARAMS = "
EXCEPTIONS
GENPROG_NO_EXIST = 1
IMPORTING Parameters details for CNV_10996_CALL_FORM_IN_GENPROG
MANDT -
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
PACKID -
Data type: CNVPACK-PACKIDDefault: 00000
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME -
Data type: DD02L-TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
FIELDNAME -
Data type: DFIES-FIELDNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
FORMROUT -
Data type: CNVFIELDS-CONVFUNCOptional: No
Call by Reference: No ( called with pass by value option)
STEPFORM -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_10996_CALL_FORM_IN_GENPROG
CHANGED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for CNV_10996_CALL_FORM_IN_GENPROG
ORIGINAL_VALUE -
Data type:Optional: Yes
Call by Reference: Yes
TABLES Parameters details for CNV_10996_CALL_FORM_IN_GENPROG
I_DFIES -
Data type: DFIESOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARAMS -
Data type: CNVPARAMSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
GENPROG_NO_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNV_10996_CALL_FORM_IN_GENPROG 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_mandt | TYPE SY-MANDT, " SY-MANDT | |||
| lv_changed | TYPE SY, " | |||
| lt_i_dfies | TYPE STANDARD TABLE OF DFIES, " | |||
| lv_original_value | TYPE DFIES, " | |||
| lv_genprog_no_exist | TYPE DFIES, " | |||
| lv_packid | TYPE CNVPACK-PACKID, " 00000 | |||
| lt_i_params | TYPE STANDARD TABLE OF CNVPARAMS, " | |||
| lv_tabname | TYPE DD02L-TABNAME, " | |||
| lv_fieldname | TYPE DFIES-FIELDNAME, " | |||
| lv_formrout | TYPE CNVFIELDS-CONVFUNC, " | |||
| lv_stepform | TYPE CNVFIELDS. " |
|   CALL FUNCTION 'CNV_10996_CALL_FORM_IN_GENPROG' " |
| EXPORTING | ||
| MANDT | = lv_mandt | |
| PACKID | = lv_packid | |
| TABNAME | = lv_tabname | |
| FIELDNAME | = lv_fieldname | |
| FORMROUT | = lv_formrout | |
| STEPFORM | = lv_stepform | |
| IMPORTING | ||
| CHANGED | = lv_changed | |
| CHANGING | ||
| ORIGINAL_VALUE | = lv_original_value | |
| TABLES | ||
| I_DFIES | = lt_i_dfies | |
| I_PARAMS | = lt_i_params | |
| EXCEPTIONS | ||
| GENPROG_NO_EXIST = 1 | ||
| . " CNV_10996_CALL_FORM_IN_GENPROG | ||
ABAP code using 7.40 inline data declarations to call FM CNV_10996_CALL_FORM_IN_GENPROG
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 MANDT FROM SY INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| "SELECT single PACKID FROM CNVPACK INTO @DATA(ld_packid). | ||||
| DATA(ld_packid) | = 00000. | |||
| "SELECT single TABNAME FROM DD02L INTO @DATA(ld_tabname). | ||||
| "SELECT single FIELDNAME FROM DFIES INTO @DATA(ld_fieldname). | ||||
| "SELECT single CONVFUNC FROM CNVFIELDS INTO @DATA(ld_formrout). | ||||
Search for further information about these or an SAP related objects