SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

RKE_HDB_WRITE_REALIGNMENT_DATA SAP ABAP Report - Report for Transferring Realignments to HANA Database







RKE_HDB_WRITE_REALIGNMENT_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to transfer changes to profitability segments from different operating concerns to the SAP HANA database...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 RKE_HDB_WRITE_REALIGNMENT_DATA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KEHD - Transfer Realignments


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 RKE_HDB_WRITE_REALIGNMENT_DATA. "Basic submit
SUBMIT RKE_HDB_WRITE_REALIGNMENT_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT RKE_HDB_WRITE_REALIGNMENT_DATA 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: P_DETLG = Generate Detailed Log
Selection Text: P_ERKRS = D .
Selection Text: P_GROUP = D .
Selection Text: P_PACK = D .
Selection Text: P_PROC = D .
Title: Report for Transferring Realignments to HANA Database
Text Symbol: 001 = Schedule Manager
Text Symbol: 002 = Customizing
Text Symbol: P01 = Source of Replication
Text Symbol: P03 = Processing Options


INCLUDES used within this REPORT RKE_HDB_WRITE_REALIGNMENT_DATA

INCLUDE: RKE_HDB_WRITE_DATA_F02.


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:

COPA_GET_ERK CALL FUNCTION 'COPA_GET_ERK' IMPORTING ERKRS = P_ERKRS EXCEPTIONS OTHERS = 1.

RKE_CHECK_GENERATION CALL FUNCTION 'RKE_CHECK_GENERATION' EXPORTING ERKRS = P_ERKRS EXCEPTIONS OTHERS = 1.

RKE_CHECK_GENERATION CALL FUNCTION 'RKE_CHECK_GENERATION' EXPORTING ERKRS = P_ERKRS EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = S_LOG IMPORTING E_LOG_HANDLE = G_LOG_HANDLE EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

HDB_TABLE_GET_INFO CALL FUNCTION 'HDB_TABLE_GET_INFO' EXPORTING I_TABNAME = TABNAME I_APPLICATION = 'KE' I_SUBAPPLICATION = SUB_APPL I_KEY_VALUE = KEY IMPORTING E_ERP_IDENTICAL = IDENTICAL EXCEPTIONS OTHERS = 1.

RKE_HDB_MODIFY_DATA CALL FUNCTION 'RKE_HDB_MODIFY_DATA' EXPORTING I_DBCON = G_DBCON I_TABLE = TABNAME IT_PAOBJNR = T_PAOBJNR IMPORTING E_DBCNT_READ = DBCNT_READ E_DBCNT_UPDATE = DBCNT_UPDATE E_TIME_READ = TIME_READ E_TIME_UPDATE = TIME_UPDATE.

RKE_HDB_MODIFY_DATA CALL FUNCTION 'RKE_HDB_MODIFY_DATA' STARTING NEW TASK S_TASK-ID DESTINATION IN GROUP P_GROUP PERFORMING DONE ON END OF TASK EXPORTING I_DBCON = G_DBCON I_TABLE = TABNAME IT_PAOBJNR = T_PAOBJNR EXCEPTIONS RESOURCE_FAILURE = 1 SYSTEM_FAILURE = 2 MESSAGE MSG COMMUNICATION_FAILURE = 3 MESSAGE MSG OTHERS = 4.



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