RGJV_DOC_COMPARE_DB 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 RGJV_DOC_COMPARE_DB 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: JV document compare - DB reads
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
READ_DOCUMENT_HEADER call function 'READ_DOCUMENT_HEADER' exporting belnr = pv_belnr bukrs = pv_bukrs gjahr = pv_gjahr xarch = lv_xarch I_XSUPPRESSDIALOG = 'X' importing E_BKPF = gs_fidoc-hdr E_ARCHIVED = lv_xarch exceptions exit = 1 NOT_FOUND = 2 ARCHIVE_CANCEL = 3.
CO_DOCUMENT_READ_FROM_ARCHIVE CALL FUNCTION 'CO_DOCUMENT_READ_FROM_ARCHIVE' EXPORTING i_kokrs = pv_kokrs i_belnr = pv_belnr IMPORTING E_COBK = gs_codoc-hdr * TABLES * T_COEP = t_coep * T_COEPL = * T_COEPR = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
ASH_MM_MATBEL_READ call function 'ASH_MM_MATBEL_READ' "#EC * EXPORTING I_BORIDENT = I_BORIDENT TABLES ET_MKPF = i_mkpf ET_MSEG = i_mseg * ET_SADR = XSADR * ET_ADDR1_VAL = XADDR1_VAL EXCEPTIONS NOT_IN_INFOSTRUCTURE = 1 NOT_IN_ARCHIVE = 2 NO_INSTRUCTURE_DEFINED = 3 OTHERS = 4.
GJV_ARCHIVE_READ * CALL FUNCTION 'GJV_ARCHIVE_READ' * EXPORTING * i_selections = lT_FRANGE * tables * t_jvso1 = lt_jvso1.
READ_DOCUMENT_HEADER call function 'READ_DOCUMENT_HEADER' exporting belnr = pv_belnr bukrs = pv_bukrs gjahr = pv_gjahr xarch = lv_xarch I_XSUPPRESSDIALOG = 'X' importing E_BKPF = ps_fidoc-hdr E_ARCHIVED = lv_xarch exceptions exit = 1 NOT_FOUND = 2 ARCHIVE_CANCEL = 3.
FAGL_GET_ARCH_FI_DOCUMENT call function 'FAGL_GET_ARCH_FI_DOCUMENT' exporting i_bukrs = pv_bukrs i_belnr = pv_belnr i_gjahr = pv_gjahr tables t_bseg = i_bseg exceptions others = 99.
CO_DOCUMENT_READ_FROM_ARCHIVE CALL FUNCTION 'CO_DOCUMENT_READ_FROM_ARCHIVE' EXPORTING i_kokrs = pv_kokrs i_belnr = pv_belnr IMPORTING E_COBK = ps_codoc-hdr TABLES T_COEP = i_coep * T_COEPL = * T_COEPR = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .
ASH_MM_MATBEL_READ call function 'ASH_MM_MATBEL_READ' "#EC * EXPORTING I_BORIDENT = I_BORIDENT TABLES ET_MKPF = i_mkpf ET_MSEG = i_mseg * ET_SADR = XSADR * ET_ADDR1_VAL = XADDR1_VAL EXCEPTIONS NOT_IN_INFOSTRUCTURE = 1 NOT_IN_ARCHIVE = 2 NO_INSTRUCTURE_DEFINED = 3 OTHERS = 4.
GJV_ARCHIVE_READ CALL FUNCTION 'GJV_ARCHIVE_READ' EXPORTING i_selections = lT_FRANGE tables t_jvso1 = lt_jvso1.
EC_PCA_SELECT_FROM_ARCHIVE CALL FUNCTION 'EC_PCA_SELECT_FROM_ARCHIVE' EXPORTING i_selections = lt_selections[] i_field_catalogs = lt_field_catalogs[] i_obligatory_fields = lt_oblfields[] IMPORTING e_glpca = lt_glpca_curr EXCEPTIONS no_infostruc_found = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RGJV_DOC_COMPARE_DB - JV document compare - DB reads RGJV_DOC_COMPARE_ALV - JV document compare - ALV routines RGJV_DOC_COMPARE - JV document comparison RGJV_DOC_COMPARE - JV document comparison RGJV_CUTB_REVERSE_TREEFORMS - Include RGJV_CUTB_REVERSE_TREEFORMS RGJV_CUTB_REVERSE_TABLFORMS - Include RGJV_CUTB_REVERSE_TABLFORMS