MLXPRA46A_ACTIVATE_INDEX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter MLXPRA46A_ACTIVATE_INDEX into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CKMLXPRA46A - Postprocessing Report for 46A-XPRA
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.
Selection Text: P_TABLE = Table
Title: Subsequent activation of indices in case of error with XPRA MLXPRA46A
Text Symbol: 001 = Program for creating the ML1 index as a unique index for the given table
Text Symbol: 002 = Only tables MBEW, EBEW, OBEW or QBEW are allowed
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_INDX_GET CALL FUNCTION 'DDIF_INDX_GET' EXPORTING name = p_table id = co_index_id "ML1 state = 'A' * LANGU = ' ' IMPORTING gotstate = l_gotstate dd12v_wa = l_wa_dd12v TABLES dd17v_tab = l_itab_dd17v EXCEPTIONS illegal_input = 1 OTHERS = 2.
DD_CREATE_INDEX CALL FUNCTION 'DD_CREATE_INDEX' EXPORTING dbsys = sy-dbsys indexname = co_index_id * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = p_table * IMPORTING * GENPROG = EXCEPTIONS basetab_error = 1 db_error = 2 dd_error = 3 index_exists = 4 OTHERS = 5 .
DDIF_INDX_PUT CALL FUNCTION 'DDIF_INDX_PUT' EXPORTING name = p_table id = co_index_id "ML1 dd12v_wa = l_wa_dd12v TABLES dd17v_tab = l_itab_dd17v EXCEPTIONS indx_not_found = 1 name_inconsistent = 2 indx_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_INDX_ACTIVATE CALL FUNCTION 'DDIF_INDX_ACTIVATE' EXPORTING name = p_table id = co_index_id "ML1 auth_chk = ' ' prid = 0 IMPORTING rc = l_rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
DD_CREATE_INDEX CALL FUNCTION 'DD_CREATE_INDEX' EXPORTING dbsys = sy-dbsys indexname = co_index_id * NO_EXEC = ' ' * PRID = 0 * PROGNAME = ' ' tabname = p_table * IMPORTING * GENPROG = EXCEPTIONS basetab_error = 1 db_error = 2 dd_error = 3 index_exists = 4 OTHERS = 5 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MLXPRA46A_ACTIVATE_INDEX - Subsequent activation of indices in case of error with XPRA MLXPRA46A MLXPRA46A_ACTIVATE_INDEX - Subsequent activation of indices in case of error with XPRA MLXPRA46A MLXPRA46A - Program MLXPRA46A MLXPRA46A - Program MLXPRA46A MLXPRA40C - Mehrstufige Abrechnung eines Materials MLXPRA40C - Mehrstufige Abrechnung eines Materials