SAP CNV_CDMC_UCIA_ACCESS_OBJECT Function Module for CDMC - UCIA : Workbench Operations for the given Object
CNV_CDMC_UCIA_ACCESS_OBJECT is a standard cnv cdmc ucia access object SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CDMC - UCIA : Workbench Operations for the given Object 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 cnv cdmc ucia access object FM, simply by entering the name CNV_CDMC_UCIA_ACCESS_OBJECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_CDMC_UCIA_FUNCTIONS
Program Name: SAPLCNV_CDMC_UCIA_FUNCTIONS
Main Program: SAPLCNV_CDMC_UCIA_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CNV_CDMC_UCIA_ACCESS_OBJECT 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_CDMC_UCIA_ACCESS_OBJECT'"CDMC - UCIA : Workbench Operations for the given Object.
EXPORTING
* IV_OBJ_TYPE = "CDOP : UCIA - Objects in the Customer Namespace
* IV_OBJ_NAME = "Operation
* IV_OPERATION = "Operation
* IV_ENCLOSING_OBJECT = "Programm name
* IV_POSITION = ' ' "Position
IMPORTING
IV_MESSAGE = "Output message text
EXCEPTIONS
NOT_EXECUTED = 1 NOT_EXISTS = 2
IMPORTING Parameters details for CNV_CDMC_UCIA_ACCESS_OBJECT
IV_OBJ_TYPE - CDOP : UCIA - Objects in the Customer Namespace
Data type: CNVCDMCUCIA_OBJ_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_OBJ_NAME - Operation
Data type: EU_LNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_OPERATION - Operation
Data type: CHAR20Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_ENCLOSING_OBJECT - Programm name
Data type: EU_LNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_POSITION - Position
Data type: CHAR5Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_CDMC_UCIA_ACCESS_OBJECT
IV_MESSAGE - Output message text
Data type: SY-LISELOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_EXECUTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_EXISTS -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_CDMC_UCIA_ACCESS_OBJECT 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_iv_message | TYPE SY-LISEL, " | |||
| lv_iv_obj_type | TYPE CNVCDMCUCIA_OBJ_TYPE, " | |||
| lv_not_executed | TYPE CNVCDMCUCIA_OBJ_TYPE, " | |||
| lv_not_exists | TYPE CNVCDMCUCIA_OBJ_TYPE, " | |||
| lv_iv_obj_name | TYPE EU_LNAME, " | |||
| lv_iv_operation | TYPE CHAR20, " | |||
| lv_iv_enclosing_object | TYPE EU_LNAME, " | |||
| lv_iv_position | TYPE CHAR5. " SPACE |
|   CALL FUNCTION 'CNV_CDMC_UCIA_ACCESS_OBJECT' "CDMC - UCIA : Workbench Operations for the given Object |
| EXPORTING | ||
| IV_OBJ_TYPE | = lv_iv_obj_type | |
| IV_OBJ_NAME | = lv_iv_obj_name | |
| IV_OPERATION | = lv_iv_operation | |
| IV_ENCLOSING_OBJECT | = lv_iv_enclosing_object | |
| IV_POSITION | = lv_iv_position | |
| IMPORTING | ||
| IV_MESSAGE | = lv_iv_message | |
| EXCEPTIONS | ||
| NOT_EXECUTED = 1 | ||
| NOT_EXISTS = 2 | ||
| . " CNV_CDMC_UCIA_ACCESS_OBJECT | ||
ABAP code using 7.40 inline data declarations to call FM CNV_CDMC_UCIA_ACCESS_OBJECT
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 LISEL FROM SY INTO @DATA(ld_iv_message). | ||||
| DATA(ld_iv_position) | = ' '. | |||
Search for further information about these or an SAP related objects