SAP Reports / Programs

RKKBABS0 SAP ABAP Report - Set Status "Closed"







RKKBABS0 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 RKKBABS0 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 RKKBABS0. "Basic submit
SUBMIT RKKBABS0 AND RETURN. "Return to original report after report execution complete
SUBMIT RKKBABS0 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_AUART = Order Type
Selection Text: P_FAUF = With production orders
Selection Text: P_KDAUF = With sales orders
Selection Text: P_KOKRS = Controlling area
Selection Text: P_PMAUF = With maintenance orders
Selection Text: P_RESZT = Residence time
Selection Text: P_RFCGRP = Server group
Selection Text: P_TESTM = Test run
Selection Text: P_WERKS = Plant
Title: Set Status "Closed"


INCLUDES used within this REPORT RKKBABS0

INCLUDE LCOKOTYP.


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:

RM_KOKRS_TO_PLANT_FIND * CALL FUNCTION 'RM_KOKRS_TO_PLANT_FIND' * EXPORTING * WERKS = GD_LKO99-WERKS * IMPORTING * E_KOKRS = l_kokrs * EXCEPTIONS * BUKRS_NOT_FOUND = 01 * KOKRS_NOT_FOUND = 02.

RSAN_FILL_DYNAMICAL_SELECT CALL FUNCTION 'RSAN_FILL_DYNAMICAL_SELECT' EXPORTING I_T_SELECT = lt_select_werks IMPORTING E_T_DYNAMIC_SELECT = lt_dynamic_select_werks EXCEPTIONS INVALID_SELECTION_CRITERIA = 1 OTHERS = 2.

RM_KOKRS_TO_PLANT_FIND CALL FUNCTION 'RM_KOKRS_TO_PLANT_FIND' EXPORTING * WERKS = l_s_werks "1790062 WERKS = l_s_werks-werks "1790062 IMPORTING E_KOKRS = l_kokrs EXCEPTIONS BUKRS_NOT_FOUND = 01 KOKRS_NOT_FOUND = 02.

RSAN_FILL_DYNAMICAL_SELECT CALL FUNCTION 'RSAN_FILL_DYNAMICAL_SELECT' EXPORTING I_T_SELECT = lt_select_auart IMPORTING E_T_DYNAMIC_SELECT = lt_dynamic_select_auart EXCEPTIONS INVALID_SELECTION_CRITERIA = 1 OTHERS = 2.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = LS_DETAIL LS_WITEM = LS_WITEM IMPORTING LS_KEY = GS_SCMA_KEY TABLES LT_SELKRIT = LT_SELKRIT.

CM_F_INFO CALL FUNCTION 'CM_F_INFO' EXPORTING APLID = 'PPCA' IMPORTING MAX_SEVERITY_PRO = LD_SUBRC EXCEPTIONS OTHERS = 1.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = GS_SCMA_KEY LS_SCMA_EVENT = LS_SCMA_EVENT CHANGING LD_APLSTAT = LD_APLSTAT EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 2.



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