SAP Reports / Programs | Cross-Application Components | General Application Functions | Business Application Support(CA-GTF-BS) SAP CA

CNV_20000_CHANGE_NRIV_ROUTINES SAP ABAP INCLUDE - Include CNV_20000_CHANGE_NRIV_ROUTINES







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT CNV_20000_CHANGE_NRIV_ROUTINES. "Basic submit
SUBMIT CNV_20000_CHANGE_NRIV_ROUTINES AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_20000_CHANGE_NRIV_ROUTINES VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include CNV_20000_CHANGE_NRIV_ROUTINES


INCLUDES used within this REPORT CNV_20000_CHANGE_NRIV_ROUTINES

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name CNV_20000_CHANGE_NRIV_ROUTINES or its description.