SAP Reports / Programs | Controlling | Overhead Cost Controlling | Cost Element Accounting(CO-OM-CEL) SAP CO

RKAKALF1 SAP ABAP Report - Follow-Up Posting to Reconciliation Ledger







RKAKALF1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used for filling the cost element ledger at a later date following period-end closing...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 RKAKALF1 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

KAL1 - Reconcil. Ledger Follow-Up Posting


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 RKAKALF1. "Basic submit
SUBMIT RKAKALF1 AND RETURN. "Return to original report after report execution complete
SUBMIT RKAKALF1 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: PA_TEST = Test Run
Selection Text: PA_PERBI = To Period
Selection Text: PA_PERAB = From Period
Selection Text: PA_LIST = Detail List
Selection Text: PA_KOKRS = Controlling Area
Selection Text: PA_GJAHR = Fiscal Year
Selection Text: PA_BUKRS = Company Code
Selection Text: PA_BATCH = Background Processing
Title: Follow-Up Posting to Reconciliation Ledger
Text Symbol: 014 = *** Texts For Lists
Text Symbol: 011 = Test Run
Text Symbol: 015 = Controlling Area
Text Symbol: 016 = Company Code
Text Symbol: 017 = Fiscal Year
Text Symbol: 018 = Period
Text Symbol: 019 = To
Text Symbol: 021 = Line Items Read
Text Symbol: 022 = Number of Messages
Text Symbol: 023 = Processing Type
Text Symbol: 010 = you make follow-up postings?
Text Symbol: 009 = Should the ledger be reset before
Text Symbol: 008 = period.
Text Symbol: 007 = contains data for the specified
Text Symbol: 006 = The reconciliation ledger already
Text Symbol: 005 = Reconciln Ledger: Follow-up Posting
Text Symbol: 004 = CoCode 111/FYear 2222/Period 333-444
Text Symbol: 003 = Reconciln Ledger: Follow-up Posting
Text Symbol: 002 = Extras
Text Symbol: 024 = Update Run
Text Symbol: 121 = Follow-Up Posting to Reconc. Ledger: Results List
Text Symbol: 120 = Logs for Follow-up Posting to Reconciliation Ledger
Text Symbol: 110 = Log Evaluation for Follow-up Posting to Reconciliation Ledger
Text Symbol: 101 = Follow-up Posting to Reconciliation Ledger
Text Symbol: 030 = Value in Controlling Area Currency
Text Symbol: 029 = Termination
Text Symbol: 028 = Errors
Text Symbol: 027 = Warning
Text Symbol: 026 = Information





Text Symbol: 025 = Maximal Category


INCLUDES used within this REPORT RKAKALF1

INCLUDE RKACOINC.


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:

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' EXCEPTIONS NOT_ACTIVE = 01.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING OBJECT = GC_APPL_LOG_OBJECT SUBOBJECT = 'SUBPOSTING'.

K_RCL_APPL_LOG_WRITE CALL FUNCTION 'K_RCL_APPL_LOG_WRITE' EXPORTING I_SUBOBJECT = GC_SUBOBJECT-SUBPOSTING I_TCODE = SY-TCODE I_PROGRAM = SY-CPROG I_RCL_APPLOG = LS_RCL_APPLOG TABLES T_BALNRI = LT_BALNRI.

K_RCL_FILL CALL FUNCTION 'K_RCL_FILL' EXPORTING I_KOKRS = PA_KOKRS I_FLG_TEST = PA_TEST I_FLG_LIST = PA_LIST I_MESS_SHOW = FALSE I_PERIO = GD_CNT_PERIO I_YEAR = PA_GJAHR IMPORTING E_NUM_OF_REC = GD_NUM_REC EXCEPTIONS NO_DATA_FOUND = 01 SEVERE_ERROR_OCCURED = 02.

K_COST_LEDR_FILL * CALL FUNCTION 'K_COST_LEDR_FILL' * EXPORTING * I_BUKRS = RA_BUKRS-LOW * I_CTRL = 'L' * I_MESS_SHOW = FALSE * I_PER_FROM = PA_PERAB * I_PER_TO = PA_PERBI * I_YEAR = PA_GJAHR * I_FLG_TEST = PA_TEST * IMPORTING * E_NUM_OF_REC = GD_NUM_REC * TABLES * T_RA_VERSN = RA_VERSN * T_RA_WRTTP = RA_WRTTP * T_TOTAL_TABLES = IT_TOTAL_TABLES * EXCEPTIONS * OTHERS = 01.

K_RCL_APPL_LOG_WRITE_MESS CALL FUNCTION 'K_RCL_APPL_LOG_WRITE_MESS' EXPORTING I_SUBOBJECT = GC_SUBOBJECT-SUBPOSTING.

APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING OBJECT = GC_APPL_LOG_OBJECT SUBOBJECT = GC_SUBOBJECT-SUBPOSTING TABLES OBJECT_WITH_LOGNUMBER = LT_BALNRI.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING SEND_IF_ONE = FALSE SHOW_LINNO = FALSE EXCEPTIONS OTHERS = 01.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING GJAHR = PA_GJAHR KOKRS = PA_KOKRS IMPORTING E_TKA00 = TKA00 E_TKA01 = TKA01.

FI_COMPANY_CODE_CHECK CALL FUNCTION 'FI_COMPANY_CODE_CHECK' EXPORTING I_BUKRS = PA_BUKRS EXCEPTIONS COMPANY_CODE = 01.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING BUKRS = PA_BUKRS IMPORTING KOKRS = GD_KOKRS.

K_RCL_CHECK CALL FUNCTION 'K_RCL_CHECK' EXPORTING I_BUKRS = PA_BUKRS I_CHECK_DATA = TRUE I_GJAHR = PA_GJAHR I_KOKRS = GD_KOKRS I_PERAB = PA_PERAB I_PERBI = PA_PERBI IMPORTING E_DATA_FOUND = GF_DATA_FOUND.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING ACTVT = GC_ACTVT-EXECUTE KOKRS = GD_KOKRS VRGNG = GC_ACTIV_RKAL.

RK_BUKRS_OF_KOKRS CALL FUNCTION 'RK_BUKRS_OF_KOKRS' EXPORTING KOKRS = PA_KOKRS TABLES T_BUKRS = LD_IT_BUKRS.

K_RCL_ENQUEUE CALL FUNCTION 'K_RCL_ENQUEUE' EXPORTING I_KOKRS = PA_KOKRS I_BUKRS = PA_BUKRS I_GJAHR = PA_GJAHR I_PER_FROM = PA_PERAB I_PER_TO = PA_PERBI I_DEQUEUE = R_FLG_DEQUEUE I_SHARED = SPACE I_SCOPE = '1'.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = TEXT-006 DIAGNOSETEXT2 = TEXT-007 DIAGNOSETEXT3 = TEXT-008 TEXTLINE1 = TEXT-009 TEXTLINE2 = TEXT-010 TITEL = TEXT-005 IMPORTING ANSWER = GD_ANSWER.

MESSAGE_STORE





CALL FUNCTION 'MESSAGE_STORE' EXPORTING EXCEPTION_IF_NOT_ACTIVE = ' ' ARBGB = MESG-ARBGB MSGTY = MESG-MSGTY TXTNR = MESG-TXTNR MSGV1 = MESG-MSGV1 MSGV2 = MESG-MSGV2 MSGV3 = MESG-MSGV3 MSGV4 = MESG-MSGV4.

K_RCL_CLEAR_TOTALS CALL FUNCTION 'K_RCL_CLEAR_TOTALS' EXPORTING I_FROM_PER = PA_PERAB I_TO_PER = PA_PERBI TABLES T_GJAHR = LT_GJAHR T_BUKRS = RA_BUKRS.

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING PAR_DIALG = TRUE *! PAR_JNAME = D_JNAME "P30K096696 PAR_NSM37 = ' ' PAR_PRIPA = GS_PRIPAR "P30K096696 *! PAR_PNAME = 'RKTKAL99' "P30K096696 PAR_RNAME = 'RKAKALF1' PAR_PRINT = TRUE "P30K096696 PAR_SDMSG = TRUE TABLES TAB_SELPA = ITSELPAR EXCEPTIONS OTHERS = 01.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING LANGU = SY-LANGU TABNAME = 'COFIS' WITHTEXT = TRUE TABLES FIELDTAB = GT_DFIES EXCEPTIONS INTERNAL_ERROR = 01 NO_TEXTS_FOUND = 02.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'KAPS' VARKEY = GD_VARKEY _SCOPE = '1' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

K_RCL_SELECT_ACTIVITIES CALL FUNCTION 'K_RCL_SELECT_ACTIVITIES' TABLES T_T022 = IT_T022.

K_KAPSA_READ_SINGLES CALL FUNCTION 'K_KAPSA_READ_SINGLES' * exporting "ALRK064315 * von_periode = pa_perab "ALRK064315 * bis_periode = pa_perbi "ALRK064315 TABLES IKAPSA = IT_KAPSA_OLD EXCEPTIONS NOT_FOUND = 01.

K_KAPSA_INSERT CALL FUNCTION 'K_KAPSA_INSERT' TABLES KAPSA_TAB = IT_KAPSA.

K_KAPSA_INSERT CALL FUNCTION 'K_KAPSA_INSERT' TABLES KAPSA_TAB = IT_KAPSA_OLD.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING TABNAME = 'KAPS' VARKEY = GD_VARKEY.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = COFI_SCR-KOKRS.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = COFI_SCR-KOKRS IMPORTING E_TKA01 = TKA01 EXCEPTIONS OTHERS = 04.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING OBJECT = GC_APPL_LOG_OBJECT SUBOBJECT = GC_SUBOBJECT-SUBPOSTING OBJECT_ATTRIBUTE = 2 SUBOBJECT_ATTRIBUTE = 2 EXTERNAL_NUMBER_ATTRIBUTE = 2 DATE_FROM = '00000000' TITLE_SELECTION_SCREEN = TEXT-110 "anal.rec.post.log

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING I_KOKRS = COFI_SCR-KOKRS POPUP = '1' IMPORTING E_KOKRS = COFI_SCR-KOKRS.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = TRUE MODE = 'CURRENT' IMPORTING OUT_PARAMETERS = C_PRIPAR.

MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' * EXPORTING * SEVERITY_FROM = 12 IMPORTING COUNT = GD_COUNT_MESG MAX_SEVERITY = GD_MAX_SEVERITY.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXCEPTIONS OTHERS = 01.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = TRUE MODE = 'CURRENT' IMMEDIATELY = FALSE LINE_COUNT = 65 LINE_SIZE = 80 LIST_TEXT = LD_PRTXT NEW_LIST_ID = TRUE REPORT = 'RKAKALF1' IMPORTING OUT_PARAMETERS = C_PRIPAR.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING SHOW_LINNO = FALSE EXCEPTIONS NO_MESSAGES = 02.



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