SAP Reports / Programs | Controlling | Overhead Cost Controlling | Cost Center Accounting(CO-OM-CCA) SAP CO

RKALVERSION_CLEAR SAP ABAP Report - Reset versions







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


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


Text pool values


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


INCLUDES used within this REPORT RKALVERSION_CLEAR

INCLUDE KGALDTYP.


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:

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.



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