RKALVERSION_CLEAR 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 RKALVERSION_CLEAR 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.
Selection Text: RECE = Receiver Version
Selection Text: CYCNM = D .
Selection Text: DATE = D .
Selection Text: KOKRS = D .
Selection Text: TAB = D .
Title: Reset versions
Text Symbol: 001 = Cycle Selection
Text Symbol: 002 = The report is deleting the entries for the segment versions of an actual cycle
Text Symbol: 003 = the version in the cycle header is being set to zero
Text Symbol: 004 = This may be necessary if the actual cycle is the copy of a plan cycle
Text Symbol: 006 = Changed successfully
INCLUDE KGALDTYP.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EKGALC CALL FUNCTION 'ENQUEUE_EKGALC' EXPORTING mode_t811c = 'E' * MANDT = SY-MANDT tab = tab cycle = ls_cycle sdate = date * X_TAB = ' ' * X_CYCLE = ' ' * X_SDATE = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 * SYSTEM_FAILURE = 2 * OTHERS = 3 .
DEQUEUE_EKGALC CALL FUNCTION 'DEQUEUE_EKGALC' EXPORTING mode_t811c = 'E' mandt = sy-mandt tab = tab cycle = ls_cycle sdate = date * X_TAB = ' ' * X_CYCLE = ' ' * X_SDATE = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .
KGAL_F4_ON_CYCLE CALL FUNCTION 'KGAL_F4_ON_CYCLE' EXPORTING tab = 'CCSS' group = kokrs IMPORTING e_t811c = ls_t811c EXCEPTIONS no_cycle = 1 OTHERS = 2.
CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = ld_sdate IMPORTING date_external = dynpfields-fieldvalue EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr translate_to_upper = true TABLES dynpfields = dynpfields.
CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = dynpfields-fieldvalue IMPORTING date_internal =
.
SMAN_CONVERT_TO_INTERN * CALL FUNCTION 'SMAN_CONVERT_TO_INTERN' * EXPORTING * I_CONVEXIT = lt_fields-convexit * i_intlen = lt_fields-intlen * i_input = dynpfields-fieldvalue * IMPORTING * e_output =
.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 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.