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

CNV_20000_FORMS SAP ABAP INCLUDE - Include CNV_20000_FORMS







CNV_20000_FORMS 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_FORMS 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_FORMS. "Basic submit
SUBMIT CNV_20000_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_20000_FORMS 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_FORMS


INCLUDES used within this REPORT CNV_20000_FORMS

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = p_proz text = p_text EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = it_t-tabname TABLES dfies_tab = dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

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.

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_RELVAL CALL FUNCTION 'CNV_10020_GET_RELVAL' EXPORTING i_packid = p_packid i_packid_src = '20000' i_dtobj = 'PERIV' TABLES et_relval = gt_10020_relv EXCEPTIONS OTHERS = 1.

G_COMPARE_PERIODS CALL FUNCTION 'G_COMPARE_PERIODS' EXPORTING periv1 = gt_tka01-perivk periv2 = gt_copa-periv EXCEPTIONS difference = 1 OTHERS = 2.

CNV_00001_PARAMS_DELETE CALL FUNCTION 'CNV_00001_PARAMS_DELETE' EXPORTING packid = p_packid paramname = 'CNV_20000_SCENARIO_NL' * EXCEPTIONS * NO_ACTIVE_PACKAGE = 1 * OTHERS = 2 .

CNV_00001_PARAMS_WRITE CALL FUNCTION 'CNV_00001_PARAMS_WRITE' EXPORTING paramname = 'CNV_20000_SCENARIO_NL' * PARAMTYPE = valuefrom = 'X' origpack = '20000' * UPDATE = 'X' * PACKID = * EXCEPTIONS * NO_ACTIVE_PACKAGE = 1 * PACKAGE_DOES_NOT_EXISTS = 2 * OTHERS = 3 .



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_FORMS or its description.