CNV_20000_CHANGE_NRIV_ROUTINES is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter CNV_20000_CHANGE_NRIV_ROUTINES into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Include CNV_20000_CHANGE_NRIV_ROUTINES
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = 'T882G' " #EC * IMPORTING subrc = l_subrc.
CNV_10020_GET_ORGDEPENDENCE CALL FUNCTION 'CNV_10020_GET_ORGDEPENDENCE' EXPORTING i_packid = packid i_packid_src = '20000' CHANGING e_orgdep = gd_org_dep.
CNV_10020_DETERMINATION CALL FUNCTION 'CNV_10020_DETERMINATION' EXPORTING i_packid = packid i_dtobj_s = p_objs i_dtval_s = p_vals i_pathid = p_path i_pathtype = p_type i_dtobj_t = p_objt i_packid_src = '20000' IMPORTING e_notrel = ld_notrel e_rc = ld_subrc.
CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20000_FY_CHANGE' IMPORTING valuefrom = ld_value operator = ld_operator EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.
CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20000_FY_CHANGE' packid = packid IMPORTING valuefrom = gv_value operator = gv_oper EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = ld_fagl_doc IMPORTING subrc = l_subrc.
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = ld_beln_doc IMPORTING subrc = l_subrc.
CNV_10020_GET_ORGDEPENDENCE * CALL FUNCTION 'CNV_10020_GET_ORGDEPENDENCE' * EXPORTING * i_packid = packid * i_packid_src = '20000' * CHANGING * e_orgdep = ld_org_dep.
CNV_00001_PARAMS_READ * CALL FUNCTION 'CNV_00001_PARAMS_READ' * EXPORTING * paramname = 'CNV_20000_FY_CHANGE' * packid = packid * IMPORTING * valuefrom = lv_value_from * operator = lv_operator * EXCEPTIONS * no_active_package = 1 * parameter_does_not_exist = 2 * package_does_not_exists = 3 * OTHERS = 4.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = sy-datlo ledger =
-rldnr variant = -periv IMPORTING year = lv_year EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = sy-datlo ledger =
-rldnr variant = -periv IMPORTING year = lv_year EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = lv_year i_periv =
-periv IMPORTING e_first_day = lv_st_date e_last_day = lv_lt_date EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = sy-datlo ledger =
-rldnr variant = -periv IMPORTING year = lv_year EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = sy-datlo ledger =
-rldnr variant = -periv IMPORTING year = lv_year EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING i_gjahr = lv_year i_periv =
-periv IMPORTING e_first_day = lv_st_date e_last_day = lv_lt_date EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.
CNV_00001_PARAMS_READ CALL FUNCTION 'CNV_00001_PARAMS_READ' EXPORTING paramname = 'CNV_20000_FY_CHANGE' packid = packid IMPORTING valuefrom = lv_value_from operator = lv_operator EXCEPTIONS no_active_package = 1 parameter_does_not_exist = 2 package_does_not_exists = 3 OTHERS = 4.
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING company =
-bukrs date = sy-datum ledger = -rldnr IMPORTING year = lv_year EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CNV_20000_CHANGE_NRIV_ROUTINES - Include CNV_20000_CHANGE_NRIV_ROUTINES CNV_20000_CHANGE_NRIV - CNV20000CHANGENRIV CNV_20000_CHANGE_NRIV - CNV20000CHANGENRIV CNV_20000_CCLED_COLLECT - Build the data for c.code and Ledger Combination CNV_20000_CCLED_COLLECT - Build the data for c.code and Ledger Combination CNV_20000_BELNR_MAP_TOP - Include CNV_20000_BELNR_MAP_TOP