J_3GJUPG 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 J_3GJUPG 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: Report for Renaming Condition tables and updating auxilary tables
Text Symbol: 034 = Rename Step 6 Data copy failed:
Text Symbol: 033 = Rename Step 4.1 Table Copy Index Failed:
Text Symbol: 032 = Word
Text Symbol: 031 = Error during generation in line
Text Symbol: 030 = : Changes not made, New table already Exists
Text Symbol: 029 = : Changes not made, Old table does not Exists
Text Symbol: 028 = Table Successfully Renamed:
Text Symbol: 027 = Does not exists
Text Symbol: 026 = Rename Not needed:
Text Symbol: 025 = Rename Step 5 Table Delete Failed:
Text Symbol: 024 = Rename Step 4 Table Activate Failed:
Text Symbol: 023 = Rename Step 3 Table Rename Failed:
Text Symbol: 022 = Rename Step 2 Table Activation Failed:
Text Symbol: 021 = Rename Step 1 Table Copy Failed:
Text Symbol: 020 = :Entries changed in table TADIR
Text Symbol: 019 = :Entries changed in table KONH
Text Symbol: 018 = :Entries changed in table TMC1K
Text Symbol: 017 = :Entries changed in table TMC1T
Text Symbol: 016 = :Entries changed in table TMC1
Text Symbol: 015 = :Entries changed in table T682I
Text Symbol: 014 = :Entries changed in table T681X
Text Symbol: 013 = :Entries changed in table T681T
Text Symbol: 012 = :Entries changed in table T681S
Text Symbol: 011 = :Entries changed in table T681E
Text Symbol: 010 = To
Text Symbol: 009 = :Entries changed in table T681
Text Symbol: 007 = :Changes not required, No Entries Exists for condition table
Text Symbol: 006 = Condition table Update Completed
Text Symbol: 005 = No ADDON relevent for report found in table AVERS
Text Symbol: 004 = Update Ended
Text Symbol: 003 = This Report executes only when upgrade is running
Text Symbol: 002 = Update Started
Text Symbol: 001 = Condition table upgrade started
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING * IV_COMPONENT = '*' * IV_NEWRELEASE = ' ' * IV_UPGTYPE = '*' * IV_READMODE = 'ACT' iv_readmode = 'LST' iv_comp_select = 'X' * IV_BUFFERED = ' ' iv_avers_select = 'X' * IMPORTING * EV_UPGCNT = TABLES tt_upginfo = gt_uvers EXCEPTIONS readmode_unknown = 1 component_not_active = 2 ambigious_entries = 3 no_upgrade_active = 4 OTHERS = 5.
TR_FLUSH_LOG * CALL FUNCTION 'TR_FLUSH_LOG'.
TR_FLUSH_LOG * CALL FUNCTION 'TR_FLUSH_LOG'.
TR_FLUSH_LOG * CALL FUNCTION 'TR_FLUSH_LOG'.
CALL FUNCTION * lc_commit(72) VALUE 'CALL FUNCTION ''DB_COMMIT''.' ,
DB_COMMIT ** CALL FUNCTION 'DB_COMMIT'.
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = p_old_kotab IMPORTING subrc = rc.
DD_TABL_COPY CALL FUNCTION 'DD_TABL_COPY' EXPORTING dst_name = p_new_kotab force = 'X' * get_state = 'M ' prid = -1 src_name = p_old_kotab withtext = 'X' langu = sy-langu source_system = 'NONE' TABLES dd03p_tab = lt_dd03p * DD05M_TAB = * DD08V_TAB = dd12v_tab = lt_dd12v dd17v_tab = lt_dd17v EXCEPTIONS illegal_value = 1 op_failure = 2 copying_refused = 3 OTHERS = 4 .
DD_TABL_ACTM CALL FUNCTION 'DD_TABL_ACTM' EXPORTING * MODE = 1 * GETSTATE = 'A' * NTAB_PUTSTATE = 'A' prid = 0 * SETTMST = ' ' tabname = p_new_kotab * AUTH_CHK = 'X' * EXCOMMIT = 'X' * TIMER_ON = ' ' * UPGRMODE = ' ' * MODEFLAG = ' ' * ACTION = ' ' IMPORTING act_result = rc * DD02V_WA = * CTRL_TABL_RES = * TABLES * CTRL_TBVI_TAB = * CTRL_TBSH_TAB = * CTRL_TBEN_TAB = * DEPTYPES = EXCEPTIONS dbchange_failure = 1 ntab_gen_failure = 2 put_failure = 3 read_failure = 4 access_failure = 5 OTHERS = 6 .
DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = p_new_kotab * AUTH_CHK = 'X' * PRID = -1 IMPORTING rc = rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3 .
DB_DATA_MOVE CALL FUNCTION 'DB_DATA_MOVE' EXPORTING src_tab = p_old_kotab dst_tab = p_new_kotab * PRID = 0 no_exec = ' ' * DATA_CHECK = 'W' * COM_SIZE = 16777216 * CLIENT_STATE = ' ' with_lock = ' ' * LOADER = * DDPROF_USE = ' ' * ACT_MODE = 'M' * CLI_ADD_TYPE = ' ' * IMPORTING * STATISTICS = * NO_OF_SUB_POOLS = * TABLES * STATEMENTS = * CHANGING * SCHEMA = '' EXCEPTIONS op_failure = 1 illegal_value = 2 syntax_error = 3 wrong_method = 4 dst_ntab_illegal = 5 dst_tab_illegal = 6 dst_tab_missing = 7 data_exists = 8 src_ntab_illegal = 9 src_tab_missing = 10 no_of_pools_exceeded = 11 src_tab_illegal = 12 OTHERS = 13 .
TR_APPEND_LOG * CALL FUNCTION 'TR_APPEND_LOG' * TABLES * xmsg = g_iprot[] * EXCEPTIONS * OTHERS = 0.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = lc_acttype filename = gv_logfile subdir = gc_subprot IMPORTING file = gv_protfile EXCEPTIONS wrong_call = 1 OTHERS = 2.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = g_iprot[] EXCEPTIONS write_failed = 01 OTHERS = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
J_3GJUPG - Report for Renaming Condition tables and updating auxilary tables J_3GJUPG - Report for Renaming Condition tables and updating auxilary tables J_3GJTO4 - Upgrade report for changing the usage type from J to 4 J_3GJTO4 - Upgrade report for changing the usage type from J to 4 J_3GJAAA - Display Condition Records J_3GJAAA - Display Condition Records