SAP UPARM_VALID_CVI Function Module for Validate Additional InfoObject
UPARM_VALID_CVI is a standard uparm valid cvi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Validate Additional InfoObject 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 uparm valid cvi FM, simply by entering the name UPARM_VALID_CVI into the relevant SAP transaction such as SE37 or SE38.
Function Group: UPARM_FG_CUSTOM_VALID
Program Name: SAPLUPARM_FG_CUSTOM_VALID
Main Program: SAPLUPARM_FG_CUSTOM_VALID
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function UPARM_VALID_CVI 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 'UPARM_VALID_CVI'"Validate Additional InfoObject.
EXPORTING
I_TABLE_TYPE = "Results Table Type (Main or Second Table)
I_USE_AS_LARGE_IMG = "Is Large Image
I_WEIGHTING_FACTOR = "Weighting Factor
I_RANKING_COLUMN = "Is Ranking Column
I_COLUMN_NAME = "InfoProvider
I_VIRTUAL_COL_TYPE = "Virtual Column Type (Calculated or Image)
I_KF_UNIT_SOURCE = "Key Figure Unit Source (InfoObject or Virtual Column)
I_KF_UNIT_IOBJ = "Key Figure Unit InfoObject
I_KF_UNIT_ATTR = "Key Figure Unit InfoObject Attribute
I_KF_UNIT_VIRT = "Virtual Column Name Holding Key Figure Unit
I_IMAGE_NAME = "Image Name
I_IMAGE_TYPE = "Data Element for Image Type
IMPORTING Parameters details for UPARM_VALID_CVI
I_TABLE_TYPE - Results Table Type (Main or Second Table)
Data type: UPARM_Y_RESULT_TABLE_TYPEOptional: No
Call by Reference: Yes
I_USE_AS_LARGE_IMG - Is Large Image
Data type: UPARM_Y_IMG_IS_LARGE_IMAGEOptional: No
Call by Reference: Yes
I_WEIGHTING_FACTOR - Weighting Factor
Data type: UPARM_Y_ATTR_WEIGHTING_FACTOROptional: No
Call by Reference: Yes
I_RANKING_COLUMN - Is Ranking Column
Data type: UPARM_Y_ATTR_RANKING_COLUMNOptional: No
Call by Reference: Yes
I_COLUMN_NAME - InfoProvider
Data type: UPARM_Y_VIRTUAL_COLUMN_NAMEOptional: No
Call by Reference: Yes
I_VIRTUAL_COL_TYPE - Virtual Column Type (Calculated or Image)
Data type: UPARM_Y_VIR_COL_TYPEOptional: No
Call by Reference: Yes
I_KF_UNIT_SOURCE - Key Figure Unit Source (InfoObject or Virtual Column)
Data type: UPARM_Y_KF_UNIT_SOURCEOptional: No
Call by Reference: Yes
I_KF_UNIT_IOBJ - Key Figure Unit InfoObject
Data type: UPARM_Y_KF_UNIT_INFO_OBJOptional: No
Call by Reference: Yes
I_KF_UNIT_ATTR - Key Figure Unit InfoObject Attribute
Data type: UPARM_Y_KF_UNIT_ATTRIBUTEOptional: No
Call by Reference: Yes
I_KF_UNIT_VIRT - Virtual Column Name Holding Key Figure Unit
Data type: UPARM_Y_KF_UNIT_VIRTUAL_COLUMNOptional: No
Call by Reference: Yes
I_IMAGE_NAME - Image Name
Data type: UPARM_Y_IMG_NAMEOptional: No
Call by Reference: Yes
I_IMAGE_TYPE - Data Element for Image Type
Data type: UPARM_Y_IMG_TYPEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for UPARM_VALID_CVI 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_table_type | TYPE UPARM_Y_RESULT_TABLE_TYPE, " | |||
| lv_i_use_as_large_img | TYPE UPARM_Y_IMG_IS_LARGE_IMAGE, " | |||
| lv_i_weighting_factor | TYPE UPARM_Y_ATTR_WEIGHTING_FACTOR, " | |||
| lv_i_ranking_column | TYPE UPARM_Y_ATTR_RANKING_COLUMN, " | |||
| lv_i_column_name | TYPE UPARM_Y_VIRTUAL_COLUMN_NAME, " | |||
| lv_i_virtual_col_type | TYPE UPARM_Y_VIR_COL_TYPE, " | |||
| lv_i_kf_unit_source | TYPE UPARM_Y_KF_UNIT_SOURCE, " | |||
| lv_i_kf_unit_iobj | TYPE UPARM_Y_KF_UNIT_INFO_OBJ, " | |||
| lv_i_kf_unit_attr | TYPE UPARM_Y_KF_UNIT_ATTRIBUTE, " | |||
| lv_i_kf_unit_virt | TYPE UPARM_Y_KF_UNIT_VIRTUAL_COLUMN, " | |||
| lv_i_image_name | TYPE UPARM_Y_IMG_NAME, " | |||
| lv_i_image_type | TYPE UPARM_Y_IMG_TYPE. " |
|   CALL FUNCTION 'UPARM_VALID_CVI' "Validate Additional InfoObject |
| EXPORTING | ||
| I_TABLE_TYPE | = lv_i_table_type | |
| I_USE_AS_LARGE_IMG | = lv_i_use_as_large_img | |
| I_WEIGHTING_FACTOR | = lv_i_weighting_factor | |
| I_RANKING_COLUMN | = lv_i_ranking_column | |
| I_COLUMN_NAME | = lv_i_column_name | |
| I_VIRTUAL_COL_TYPE | = lv_i_virtual_col_type | |
| I_KF_UNIT_SOURCE | = lv_i_kf_unit_source | |
| I_KF_UNIT_IOBJ | = lv_i_kf_unit_iobj | |
| I_KF_UNIT_ATTR | = lv_i_kf_unit_attr | |
| I_KF_UNIT_VIRT | = lv_i_kf_unit_virt | |
| I_IMAGE_NAME | = lv_i_image_name | |
| I_IMAGE_TYPE | = lv_i_image_type | |
| . " UPARM_VALID_CVI | ||
ABAP code using 7.40 inline data declarations to call FM UPARM_VALID_CVI
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.Search for further information about these or an SAP related objects