SAP Reports / Programs

RHKOST00 SAP ABAP dialog Program - Cost Center Interface (Cannot Handle RFC)







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


Text pool values


Title: Cost Center Interface (Cannot Handle RFC)


INCLUDES used within this REPORT RHKOST00

INCLUDE MPH5ATOP.
INCLUDE MPHFCOD0.


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:

HRCA_COSTCENTER_DISPLAY call function 'HRCA_COSTCENTER_DISPLAY' EXPORTING controllingarea = kt_costcenter-kokrs costcenter = kt_costcenter-kostl EXCEPTIONS others = 0.

HRCA_COSTCENTER_DELETE call function 'HRCA_COSTCENTER_DELETE' EXPORTING controllingarea = kt_costcenter-kokrs costcenter = kt_costcenter-kostl EXCEPTIONS others = 0.

HRCA_COSTCENTER_EDIT call function 'HRCA_COSTCENTER_EDIT' EXPORTING controllingarea = kt_costcenter-kokrs costcenter = kt_costcenter-kostl EXCEPTIONS others = 0.

HRCA_COSTCENTER_CREATE call function 'HRCA_COSTCENTER_CREATE' EXPORTING controllingarea = kt_costcenter-kokrs costcenter = kt_costcenter-kostl IMPORTING controllingarea = kt_costcenter-kokrs costcenter = kt_costcenter-kostl EXCEPTIONS others = 0.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' EXPORTING companycode = bukrs businessarea = gsber IMPORTING contrlarea = kokrs EXCEPTIONS not_found = 1 others = 2.

HRCA_COSTCENTER_RANGESELECT call function 'HRCA_COSTCENTER_RANGESELECT' EXPORTING controllingarea = dbsel_kokrs-kokrs startdate = low_date enddate = high_date TABLES costcenter_range = kostl_range costcenter_tab = costc_tab2 EXCEPTIONS nothing_found = 1 others = 2.

HRCA_COSTCENTER_INPUT_POPUP call function 'HRCA_COSTCENTER_INPUT_POPUP' EXPORTING planversion = eoi_plvar costcenter_key = loc_realo IMPORTING costcenter_key = loc_realo EXCEPTIONS others = 0.

HRCA_COSTCENTER_GETLIST call function 'HRCA_COSTCENTER_GETLIST' EXPORTING controllingarea = costcenter-kokrs costcenter = costcenter-kostl start_date = low_date end_date = high_date bypassing_buffer = read_criteria-read_db TABLES cost_center_info = costcenter_tab EXCEPTIONS nothing_found = 1 others = 2.

RH_SET_DATE call function 'RH_SET_DATE' EXPORTING beg_dat = act_begda end_dat = act_endda IMPORTING ret_dat = read_date_text EXCEPTIONS intervall_negative = 1 others = 2.

RH_SET_DATE call function 'RH_SET_DATE' EXPORTING beg_dat = act_begda end_dat = act_endda IMPORTING ret_dat = read_date EXCEPTIONS intervall_negative = 1 others = 2.

HRCA_COSTCENTER_TEXT call function 'HRCA_COSTCENTER_TEXT' EXPORTING controllingarea = costcenter-kokrs costcenter = costcenter-kostl read_date = read_date language = act_langu IMPORTING shortname = l_short objectname = l_stext EXCEPTIONS nothing_found = 1 others = 2.

HRCA_COSTCENTER_TEXT call function 'HRCA_COSTCENTER_TEXT' EXPORTING controllingarea = costcenter-kokrs costcenter = costcenter-kostl read_date = read_date language = i778l-langu IMPORTING shortname = l_short objectname = l_stext EXCEPTIONS nothing_found = 1 others = 2.

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = act_costcenter-kostl IMPORTING output = act_costcenter-kostl.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = act_costcenter-kostl IMPORTING output = act_costcenter-kostl.



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