SAP CVE9_RDO_FIND_CHANGED_REPORTS Function Module for NOTRANSL: Report Export: Find all changed Reports in given time period
CVE9_RDO_FIND_CHANGED_REPORTS is a standard cve9 rdo find changed reports 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: Report Export: Find all changed Reports in given time period 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 cve9 rdo find changed reports FM, simply by entering the name CVE9_RDO_FIND_CHANGED_REPORTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CVE9
Program Name: SAPLCVE9
Main Program: SAPLCVE9
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function CVE9_RDO_FIND_CHANGED_REPORTS 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 'CVE9_RDO_FIND_CHANGED_REPORTS'"NOTRANSL: Report Export: Find all changed Reports in given time period.
EXPORTING
I_STARTDATE = "Date and Time, Current (Application Server) Date
I_ENDDATE = "Date and Time, Current (Application Server) Date
* I_STARTIME = "Date and Time, Current Application Server Time
* I_ENDTIME = "Date and Time, Current Application Server Time
* I_GENVARIANT = "Report generation variant
* I_LANGU = "Language
* I_REPTYPE = "Report category
IMPORTING
E_RECORDS_FOUND = "File Name on the Application Server
TABLES
* I_REPSTATUS_TAB = "
E_CHANGED_REP_TAB = "
EXCEPTIONS
REPORTS_FIND_BY_SUBLIST = 1 REPORTS_READ = 2
IMPORTING Parameters details for CVE9_RDO_FIND_CHANGED_REPORTS
I_STARTDATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_ENDDATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_STARTIME - Date and Time, Current Application Server Time
Data type: SY-UZEITOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ENDTIME - Date and Time, Current Application Server Time
Data type: SY-UZEITOptional: Yes
Call by Reference: No ( called with pass by value option)
I_GENVARIANT - Report generation variant
Data type: ESTDH-SBGVIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LANGU - Language
Data type: ESTDH-LANGUOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REPTYPE - Report category
Data type: ESTDH-REPTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CVE9_RDO_FIND_CHANGED_REPORTS
E_RECORDS_FOUND - File Name on the Application Server
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CVE9_RDO_FIND_CHANGED_REPORTS
I_REPSTATUS_TAB -
Data type: ESPRE_REPSTATUS_TAB_TYPEOptional: Yes
Call by Reference: Yes
E_CHANGED_REP_TAB -
Data type: CVDA3_REP_TAB_TYPEOptional: No
Call by Reference: Yes
EXCEPTIONS details
REPORTS_FIND_BY_SUBLIST -
Data type:Optional: No
Call by Reference: Yes
REPORTS_READ -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CVE9_RDO_FIND_CHANGED_REPORTS 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_startdate | TYPE SY-DATUM, " | |||
lv_e_records_found | TYPE SY-TABIX, " | |||
lt_i_repstatus_tab | TYPE STANDARD TABLE OF ESPRE_REPSTATUS_TAB_TYPE, " | |||
lv_reports_find_by_sublist | TYPE ESPRE_REPSTATUS_TAB_TYPE, " | |||
lv_i_enddate | TYPE SY-DATUM, " | |||
lv_reports_read | TYPE SY, " | |||
lt_e_changed_rep_tab | TYPE STANDARD TABLE OF CVDA3_REP_TAB_TYPE, " | |||
lv_i_startime | TYPE SY-UZEIT, " | |||
lv_i_endtime | TYPE SY-UZEIT, " | |||
lv_i_genvariant | TYPE ESTDH-SBGVID, " | |||
lv_i_langu | TYPE ESTDH-LANGU, " | |||
lv_i_reptype | TYPE ESTDH-REPTYPE. " |
  CALL FUNCTION 'CVE9_RDO_FIND_CHANGED_REPORTS' "NOTRANSL: Report Export: Find all changed Reports in given time period |
EXPORTING | ||
I_STARTDATE | = lv_i_startdate | |
I_ENDDATE | = lv_i_enddate | |
I_STARTIME | = lv_i_startime | |
I_ENDTIME | = lv_i_endtime | |
I_GENVARIANT | = lv_i_genvariant | |
I_LANGU | = lv_i_langu | |
I_REPTYPE | = lv_i_reptype | |
IMPORTING | ||
E_RECORDS_FOUND | = lv_e_records_found | |
TABLES | ||
I_REPSTATUS_TAB | = lt_i_repstatus_tab | |
E_CHANGED_REP_TAB | = lt_e_changed_rep_tab | |
EXCEPTIONS | ||
REPORTS_FIND_BY_SUBLIST = 1 | ||
REPORTS_READ = 2 | ||
. " CVE9_RDO_FIND_CHANGED_REPORTS |
ABAP code using 7.40 inline data declarations to call FM CVE9_RDO_FIND_CHANGED_REPORTS
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 DATUM FROM SY INTO @DATA(ld_i_startdate). | ||||
"SELECT single TABIX FROM SY INTO @DATA(ld_e_records_found). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_i_enddate). | ||||
"SELECT single UZEIT FROM SY INTO @DATA(ld_i_startime). | ||||
"SELECT single UZEIT FROM SY INTO @DATA(ld_i_endtime). | ||||
"SELECT single SBGVID FROM ESTDH INTO @DATA(ld_i_genvariant). | ||||
"SELECT single LANGU FROM ESTDH INTO @DATA(ld_i_langu). | ||||
"SELECT single REPTYPE FROM ESTDH INTO @DATA(ld_i_reptype). | ||||
Search for further information about these or an SAP related objects