SAP Reports / Programs

RKAGJOBL SAP ABAP Report - Fiscal year close: Carry forward commitment







RKAGJOBL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can carry forward open commitment values into the first period of the next fiscal year as part of fiscal year close processing...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 RKAGJOBL 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

VACF - Commit. carried forwrd: Sales orders
KSCF - Carry Forward Cost Center Commitment
KOCF - Carry Forward Order Commitments
CJCF - Carry Forward Project Commitments


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 RKAGJOBL. "Basic submit
SUBMIT RKAGJOBL AND RETURN. "Return to original report after report execution complete
SUBMIT RKAGJOBL 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_GJAHR = Carry forward from fiscal year
Selection Text: P_INCLOR = Include Orders
Selection Text: P_LIST = Detail list
Selection Text: P_ORVAR = Int. Orders: Selection Variant
Selection Text: P_STRNO = Reversal
Selection Text: P_TEST = Test run
Selection Text: P_ZERO = Incl. Commts with Value Zero
Selection Text: S_AUFNR = Order
Selection Text: S_BANF = Purchase requisition
Selection Text: S_BEST = Purchase order
Selection Text: S_KDAUF = Sales order
Selection Text: S_KOSTL = Cost center
Selection Text: S_MRES = Funds commitment
Selection Text: S_NETZ = Network
Selection Text: S_PROJ = Project
Title: Fiscal year close: Carry forward commitment
Text Symbol: S02 = Parameter
Text Symbol: S01 = Processing options
Text Symbol: 059 = Sales orders
Text Symbol: 058 = Total
Text Symbol: 057 = Funds com.
Text Symbol: 056 = Purchase order
Text Symbol: 055 = Purch.Req.
Text Symbol: 054 = Networks
Text Symbol: 053 = WBS elements
Text Symbol: 052 = Orders
Text Symbol: 051 = Cost centers
Text Symbol: 001 = No commitment records for conversion
Text Symbol: 002 = or
Text Symbol: 003 = Selection Variants: Orders
Text Symbol: 004 = The variant controlling area is not the current one
Text Symbol: 011 = Purchase requisition
Text Symbol: 012 = Purchase order
Text Symbol: 013 = Funds commitment
Text Symbol: 014 = Item
Text Symbol: 015 = Acct Assignmt Object
Text Symbol: 016 = Document number
Text Symbol: 030 = Controlling area:





Text Symbol: 031 = Carryforward from fiscal year:
Text Symbol: 032 = Test run:
Text Symbol: 033 = Detail list:
Text Symbol: 034 = Cancel:
Text Symbol: 035 = to
Text Symbol: 040 = Cost Center:
Text Symbol: 041 = Order:
Text Symbol: 042 = Project:
Text Symbol: 043 = Include orders:
Text Symbol: 044 = Network:
Text Symbol: 045 = Purchase requisition:
Text Symbol: 046 = Purchase order:
Text Symbol: 047 = Funds commitment:
Text Symbol: 048 = Selection variant:
Text Symbol: 049 = Sales order:
Text Symbol: 050 = Number of Line Items Processed


INCLUDES used within this REPORT RKAGJOBL

No INCLUDES are used within this REPORT code!


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:

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING e_kokrs = p_kokrs.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datum i_periv = tka01-lmona "Period version IMPORTING e_gjahr = fiscal_year.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokrs IMPORTING e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datum i_periv = tka01-lmona "period version IMPORTING e_gjahr = fiscal_year.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = 'RKOSEL00' variant = p_orvar IMPORTING r_c = subrc.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = 'RKOSEL00' new_title = text-003 IMPORTING sel_variant = p_orvar.

K_OPEN_ITEM_CF_SELECT CALL FUNCTION 'K_OPEN_ITEM_CF_SELECT' EXPORTING pd_kokrs = p_kokrs pd_orvar = p_orvar "order variant pd_order = p_inclor "order switch IMPORTING error_kokrs = wrong_kokrs TABLES t_param = gt_param t_obj = t_objnr.

K_OPEN_ITEM_CF_READ CALL FUNCTION 'K_OPEN_ITEM_CF_READ' EXPORTING pd_storno = p_strno pd_gjahr = p_gjahr pd_kokrs = p_kokrs pd_lmona = tka01-lmona "note 968216 pd_zero = p_zero "note 1008235 pd_and = p_and "note 1743039 TABLES t_param = gt_param t_cooi = t_cooi t_obj = t_objnr.

K_OPEN_ITEM_CF_PROJECT CALL FUNCTION 'K_OPEN_ITEM_CF_PROJECT' EXPORTING pd_storno = p_strno pd_gjahr = p_gjahr pd_lmona = tka01-lmona "note 971411 TABLES t_cooi = t_cooi t_coep = t_coep EXCEPTIONS no_data = 1.






K_OPEN_ITEM_CF_POST CALL FUNCTION 'K_OPEN_ITEM_CF_POST' EXPORTING p_update = ld_update pd_kokrs = p_kokrs pd_gjahr = p_gjahr TABLES pt_coep = t_coep pt_cooi = t_cooi.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = t_cooi-objnr IMPORTING identification = l_id.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = t_cooi-objnr IMPORTING ident_txt20 = l_id_txt20 ident_objid = l_id_objid.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = l_actvt kokrs = p_kokrs vrgng = 'KOVT'.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = lt_fieldcat it_events = lt_eventtab is_layout = ls_layout it_sort = lt_sorttab * i_callback_pf_status_set = slis_ev_pf_status_set "1467535 is_print = ls_print "1467535 TABLES t_outtab = xt_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_strname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.



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