SAP Reports / Programs

CNV_20100_CHECK_N_TO_1 SAP ABAP Report - Check the N:1 conversion for ChtAccts conversion







CNV_20100_CHECK_N_TO_1 is a standard Executable ABAP Report 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_20100_CHECK_N_TO_1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CNV_20100_CHECK_N - Check accounts for conversion


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_20100_CHECK_N_TO_1. "Basic submit
SUBMIT CNV_20100_CHECK_N_TO_1 AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_20100_CHECK_N_TO_1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Check the N:1 conversion for ChtAccts conversion


INCLUDES used within this REPORT CNV_20100_CHECK_N_TO_1

INCLUDE CNV_20100_ERRTYPE.
INCLUDE CNV_20100_DATA_INCLUDE.


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:

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = gc_packid EXCEPTIONS active_package_not_found = 1 OTHERS = 2.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bprio_buk coa_old1 = '' account_old1 = gt_bprio_all-account_old coa_old2 = '' account_old2 = '' coa_new = gv_master_coa_new account_new = gv_master_account_new bukrs = iv_bukrs * kokrs = msgid = 'CNV_20100' msgno = '219' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'I' cfield = '' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bprio_buk coa_old1 = '' account_old1 = gt_bprio_all-account_old coa_old2 = '' account_old2 = '' coa_new = gv_master_coa_new account_new = gv_master_account_new bukrs = iv_bukrs * kokrs = msgid = 'CNV_20100' msgno = '219' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'I' cfield = '' EXCEPTIONS OTHERS = 1.

CNV_20100_GET_MAPPING CALL FUNCTION 'CNV_20100_GET_MAPPING' EXPORTING iv_packid = iv_packid * IV_COA_OLD = iv_get_from_me = '' "<-- shall be read from original tables IMPORTING ev_timestamp = lv_timestamp TABLES t_chart_of_acc = gt_coa t_coa_t004 = gt_coa_t004 t_ccode = gt_ccode t_account = gt_account_sach t_others = gt_account_others t_mapping = lt_account_temp EXCEPTIONS no_mapping = 1 error = 2 OTHERS = 3.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_ziel_prion coa_old1 = '' account_old1 = '' coa_old2 = '' account_old2 = '' coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '095' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'E' cfield = 'CNV_COA_ACCOUNT-PRIORITY' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_ziel_prias coa_old1 = '' account_old1 = '' coa_old2 = '' account_old2 = '' coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '115' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'CNV_COA_ACCOUNT-PRIORITY' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_ziel_pribs coa_old1 = lv_b_merge_ktopl1 account_old1 = lv_b_merge_saknr1 coa_old2 = lv_b_merge_ktopl2 account_old2 = lv_b_merge_saknr2 coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new bukrs = lv_b_merge_bukrs * KOKRS = msgid = 'CNV_20100' msgno = '201' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'CNV_COA_ACCOUNT-PRIORITY' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_ziel_priak coa_old1 = '' account_old1 = '' coa_old2 = '' account_old2 = '' coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '202' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'CNV_COA_ACCOUNT-PRIORITY' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_ziel_pribk coa_old1 = lv_b_merge_ktopl1 account_old1 = lv_b_merge_kstar1 coa_old2 = lv_b_merge_ktopl2 account_old2 = lv_b_merge_kstar2 coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = kokrs = lv_b_merge_kokrs msgid = 'CNV_20100' msgno = '203' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'CNV_COA_ACCOUNT-PRIORITY' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_qkont_noex coa_old1 = gt_account_sach-coa_old account_old1 = gt_account_sach-account_old coa_old2 = '' account_old2 = '' coa_new = '' account_new = '' * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '092' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'SKA1-SAKNR' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_qksta_noex coa_old1 = gt_account_costele-coa_old account_old1 = gt_account_costele-account_old coa_old2 = '' account_old2 = '' coa_new = '' account_new = '' * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '093' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'W' cfield = 'CSKA-KSTAR' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_kadat_diff coa_old1 = gv_master_coa_aus account_old1 = gv_master_account_aus coa_old2 = gv_master_coa_aus * GT_ACCOUNT_CHECK-COA_OLD account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = kokrs = gt_strub_kstar_datbi-kokrs msgid = 'CNV_20100' msgno = '438' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe4 msgv4 = lv_ausgabe3 severity = 'W' cfield = 'CSKB-DATBI' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_kadat_diff coa_old1 = gv_master_coa_aus account_old1 = gv_master_account_aus coa_old2 = gv_master_coa_aus * GT_ACCOUNT_CHECK-COA_OLD account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = kokrs = gt_strub_kstar_datbi-kokrs msgid = 'CNV_20100' msgno = '438' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe4 msgv4 = lv_ausgabe3 severity = 'W' cfield = 'CSKB-DATBI' bprio_set = 'X' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bestkonto coa_old1 = gv_master_coa account_old1 = gv_master_account coa_old2 = gt_account_check-coa_old account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '059' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'E' cfield = 'SKA1-XBILK' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_erfkonto coa_old1 = gv_master_coa account_old1 = gv_master_account coa_old2 = gt_account_check-coa_old account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '060' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'E' cfield = 'SKA1-GVTYP' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bprio_kok coa_old1 = '' account_old1 = gt_bprio_all-account_old coa_old2 = '' account_old2 = '' coa_new = gv_master_coa_new account_new = gv_master_account_new * bukrs = kokrs = iv_kokrs msgid = 'CNV_20100' msgno = '240' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'I' cfield = '' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bprio_kok coa_old1 = '' account_old1 = gt_bprio_all-account_old coa_old2 = '' account_old2 = '' coa_new = gv_master_coa_new account_new = gv_master_account_new * bukrs = kokrs = iv_kokrs msgid = 'CNV_20100' msgno = '240' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'I' cfield = '' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL * CALL FUNCTION 'CNV_20100_CHECK_FILL' * EXPORTING * PACKID = gc_packid * ERROR = GC_ERR_M_REINSAK * COA_OLD1 = LD_COA_REINSAK * ACCOUNT_OLD1 = LD_ACCOUNT_REINSAK * COA_OLD2 = LD_COA * ACCOUNT_OLD2 = LD_ACCOUNT * COA_NEW = GT_ACCOUNT_CHECK-COA_NEW * ACCOUNT_NEW = GT_ACCOUNT_CHECK-ACCOUNT_NEW ** BUKRS = ** KOKRS = * MSGNO = '227' * SEVERITY = 'E' * CFIELD = '' * EXCEPTIONS * OTHERS = 1.

CNV_20100_CHECK_FILL





CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_m_reinsak coa_old1 = lv_coa_reinsak account_old1 = lv_account_reinsak coa_old2 = lv_coa account_old2 = lv_account coa_new = lt_account_check-coa_new account_new = lt_account_check-account_new * BUKRS = kokrs = lt_kokrs_bukrs-kokrs msgid = 'CNV_20100' msgno = '227' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'E' cfield = '' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_bestkonto coa_old1 = gv_master_coa account_old1 = gv_master_account coa_old2 = gt_account_check-coa_old account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = '059' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = '' severity = 'E' cfield = 'SKA1-XBILK' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = gc_erfkonto coa_old1 = gv_master_coa account_old1 = gv_master_account coa_old2 = gt_account_check-coa_old account_old2 = gt_account_check-account_old coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new msgid = 'CNV_20100' msgno = '060' msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = 'E' cfield = 'SKA1-GVTYP' EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = is_tabfld-identifier coa_old1 = lv_coa1 account_old1 = lv_acc1 coa_old2 = lv_coa2 account_old2 = lv_acc2 coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = kokrs = gs_strub_kstar_cmp-kokrs msgid = 'CNV_20100' msgno = is_tabfld-msgno msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe4 msgv4 = lv_ausgabe3 severity = lv_state cfield = lv_cfield EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = is_tabfld-identifier coa_old1 = lv_coa1 account_old1 = lv_acc1 coa_old2 = lv_coa2 account_old2 = lv_acc2 coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new * BUKRS = * KOKRS = msgid = 'CNV_20100' msgno = is_tabfld-msgno msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe3 msgv4 = lv_ausgabe4 severity = is_tabfld-severity cfield = lv_cfield EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL CALL FUNCTION 'CNV_20100_CHECK_FILL' EXPORTING packid = gc_packid error = is_tabfld-identifier coa_old1 = lv_coa1 account_old1 = lv_acc1 coa_old2 = lv_coa2 account_old2 = lv_acc2 coa_new = gt_account_check-coa_new account_new = gt_account_check-account_new bukrs = gs_strub_cmp-bukrs * KOKRS =
msgid = 'CNV_20100' msgno = is_tabfld-msgno msgv1 = lv_ausgabe1 msgv2 = lv_ausgabe2 msgv3 = lv_ausgabe4 msgv4 = lv_ausgabe3 severity = lv_state cfield = lv_cfield EXCEPTIONS OTHERS = 1.

CNV_20100_CHECK_FILL * CALL FUNCTION 'CNV_20100_CHECK_FILL' * EXPORTING * PACKID = GC_PACKID * ERROR = GC_INF_BPRIO_KOK * COA_OLD1 = '' * ACCOUNT_OLD1 = GT_BPRIO_ALL-ACCOUNT_OLD * COA_OLD2 = '' * ACCOUNT_OLD2 = '' * COA_NEW = GV_MASTER_COA_NEW * ACCOUNT_NEW = GV_MASTER_ACCOUNT_NEW ** bukrs = * KOKRS = IV_KOKRS * MSGNO = '240' * SEVERITY = 'I' * CFIELD = '' * EXCEPTIONS * OTHERS = 1.

CNV_20100_CHECK_FILL * CALL FUNCTION 'CNV_20100_CHECK_FILL' * EXPORTING * PACKID = GC_PACKID * ERROR = GC_INF_BPRIO_KOK * COA_OLD1 = '' * ACCOUNT_OLD1 = GT_BPRIO_ALL-ACCOUNT_OLD * COA_OLD2 = '' * ACCOUNT_OLD2 = '' * COA_NEW = GV_MASTER_COA_NEW * ACCOUNT_NEW = GV_MASTER_ACCOUNT_NEW ** bukrs = * KOKRS = IV_KOKRS * MSGNO = '240' * SEVERITY = 'I' * CFIELD = '' * EXCEPTIONS * OTHERS = 1.



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