SAP CNV_TDMS_16_GET_ORA_PARAMS Function Module for Get Orcale Parameters









CNV_TDMS_16_GET_ORA_PARAMS is a standard cnv tdms 16 get ora params SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Orcale Parameters 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 tdms 16 get ora params FM, simply by entering the name CNV_TDMS_16_GET_ORA_PARAMS into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_TDMS_16_ANALYSIS_GRP
Program Name: SAPLCNV_TDMS_16_ANALYSIS_GRP
Main Program: SAPLCNV_TDMS_16_ANALYSIS_GRP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CNV_TDMS_16_GET_ORA_PARAMS 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_TDMS_16_GET_ORA_PARAMS'"Get Orcale Parameters
IMPORTING
EX_ARCHIVE_STATUS = "
EX_BUSY_WAIT = "Oracle: Busy wait time (from V$System_Event) (sec)
EX_CPU_TIME = "Oracle: Total CPU time used by Oracle (sec)
EX_TIME_PER_USER = "Oracle: Time per user call (ms)
EX_DB_TIME = "
EX_DB_WRITERS_CNT = "
EX_UNDO_RETENTION = "
.



EXPORTING Parameters details for CNV_TDMS_16_GET_ORA_PARAMS

EX_ARCHIVE_STATUS -

Data type: STRING
Optional: No
Call by Reference: No ( called with pass by value option)

EX_BUSY_WAIT - Oracle: Busy wait time (from V$System_Event) (sec)

Data type: TST04-WAIT_BUSY
Optional: No
Call by Reference: No ( called with pass by value option)

EX_CPU_TIME - Oracle: Total CPU time used by Oracle (sec)

Data type: TST04-CPU_TIME
Optional: No
Call by Reference: No ( called with pass by value option)

EX_TIME_PER_USER - Oracle: Time per user call (ms)

Data type: TST04-RESP_TIME
Optional: No
Call by Reference: No ( called with pass by value option)

EX_DB_TIME -

Data type: STRING
Optional: No
Call by Reference: No ( called with pass by value option)

EX_DB_WRITERS_CNT -

Data type: STRING
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UNDO_RETENTION -

Data type: STRING
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CNV_TDMS_16_GET_ORA_PARAMS 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_ex_archive_status  TYPE STRING, "   
lv_ex_busy_wait  TYPE TST04-WAIT_BUSY, "   
lv_ex_cpu_time  TYPE TST04-CPU_TIME, "   
lv_ex_time_per_user  TYPE TST04-RESP_TIME, "   
lv_ex_db_time  TYPE STRING, "   
lv_ex_db_writers_cnt  TYPE STRING, "   
lv_ex_undo_retention  TYPE STRING. "   

  CALL FUNCTION 'CNV_TDMS_16_GET_ORA_PARAMS'  "Get Orcale Parameters
    IMPORTING
         EX_ARCHIVE_STATUS = lv_ex_archive_status
         EX_BUSY_WAIT = lv_ex_busy_wait
         EX_CPU_TIME = lv_ex_cpu_time
         EX_TIME_PER_USER = lv_ex_time_per_user
         EX_DB_TIME = lv_ex_db_time
         EX_DB_WRITERS_CNT = lv_ex_db_writers_cnt
         EX_UNDO_RETENTION = lv_ex_undo_retention
. " CNV_TDMS_16_GET_ORA_PARAMS




ABAP code using 7.40 inline data declarations to call FM CNV_TDMS_16_GET_ORA_PARAMS

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 WAIT_BUSY FROM TST04 INTO @DATA(ld_ex_busy_wait).
 
"SELECT single CPU_TIME FROM TST04 INTO @DATA(ld_ex_cpu_time).
 
"SELECT single RESP_TIME FROM TST04 INTO @DATA(ld_ex_time_per_user).
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!