SAP Reports / Programs | Personnel Management | Organizational Structure | Staffing(PA-OS-ST) SAP PA

MP100830 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MP100830

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:

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'KOKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'BUKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' exporting companycode = p1008-bukrs importing contrlarea = comp_kokrs exceptions not_found = 1 others = 2.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'BUKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = prog_name dynumb = dyn_num tables dynpfields = dyntab exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 others = 9.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' exporting companycode = p1008-bukrs importing contrlarea = found_kokrs exceptions not_found = 1 others = 2.

HRCA_CONTROLLINGAREA_GETDETAIL call function 'HRCA_CONTROLLINGAREA_GETDETAIL' exporting co_area = found_kokrs importing name = f4_tab_bukrs-kokrs_text exceptions not_found = 1 others = 2.

HRCA_COMPANYCODE_GETDETAIL call function 'HRCA_COMPANYCODE_GETDETAIL' exporting companycode = p1008-bukrs importing comp_name = f4_tab_bukrs-bukrs_text exceptions not_found = 1 others = 2.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'KOKRS' value_org = 'S' tables value_tab = f4_tab_bukrs return_tab = f4_return exceptions parameter_error = 1 no_values_found = 2 others = 3.

HELP_VALUES_GET call function 'HELP_VALUES_GET' exporting display = disp_flag fieldname = 'KOKRS' tabname = 'TKA01' importing select_value = p1008-kokrs exceptions others = 1.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' exporting companycode = p1008-bukrs importing contrlarea = comp_kokrs exceptions not_found = 1 others = 2.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' exporting companycode = p1008-bukrs * BUSINESSAREA = importing contrlarea = check_kokrs exceptions others = 0.

HRCA_CONTROLLINGAREA_KEO_ACTIV call function 'HRCA_CONTROLLINGAREA_KEO_ACTIV' exporting co_area = check_kokrs exceptions internal_error = 1 not_active = 2 others = 3.

RH_CHECK_ACC_INPUT call function 'RH_CHECK_ACC_INPUT' exporting plvar = p1008-plvar otype = p1008-otype objid = p1008-objid begda = p1008-begda endda = p1008-endda act_1008 = p1008 * OM_BUFFER_MODE = importing om_active_bukrs = om_active_bukrs om_active_kokrs = om_active_kokrs om_show_fikrs = om_show_fikrs inh_kokrs = inh_kokrs kokrs_t77s0 = kokrs_t77s0 inh_otype_kokrs = inh_otype_kokrs inh_objid_kokrs = inh_objid_kokrs inh_begda_kokrs = inh_begda_kokrs inh_bukrs = inh_bukrs inh_pers_area = inh_persa inh_pers_sub_area = inh_btrtl "SRON1039375 inh_otype_bukrs = inh_otype_bukrs inh_objid_bukrs = inh_objid_bukrs inh_begda_bukrs = inh_begda_bukrs inh_gsber = inh_gsber "sron965733 act_fikrs = hrca_company-fi_management exceptions internal_error = 1 others = 2.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = q1008-bukrs IMPORTING comp_name = q1008-bktext EXCEPTIONS not_found = 1 OTHERS = 2.

HRCA_BUSINESSAREA_GETDETAIL CALL FUNCTION 'HRCA_BUSINESSAREA_GETDETAIL' EXPORTING bus_area = q1008-gsber language = sy-langu IMPORTING bus_ar_des = q1008-gsbtxt EXCEPTIONS not_found = 1 OTHERS = 2.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'BUKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'KOKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

RH_CHECK_ACCOUNTING_OM





call function 'RH_CHECK_ACCOUNTING_OM' exporting keydate = p1008-begda data_set_endda = p1008-endda kokrs = act_kokrs bukrs = p1008-bukrs * FIKRS = kostl = mcstruc-kostl kokrs_at_kostl = mcstruc-kokrs gsber = p1008-gsber * AUFNR = * POSNR = importing kokrs_out = kokrs_out bukrs_out = bukrs_out * FIKRS_OUT = gsber_out = gsber_out tables e_messages = mtab.

RH_COSTCENTER_OF_OBJECT_GET call function 'RH_COSTCENTER_OF_OBJECT_GET' exporting plvar = p1008-plvar begda = p1008-begda endda = p1008-begda buffered_access = ' ' ombuffer_mode = 'X' tables in_objects = in_object main_costcenters = mcc exceptions others = 1.

HRCA_CONTROLLINGAREA_KEO_ACTIV call function 'HRCA_CONTROLLINGAREA_KEO_ACTIV' exporting co_area = q1008-kokrs exceptions internal_error = 1 not_active = 2 others = 3.

RH_CHECK_KOKRS_TOP_DOWN call function 'RH_CHECK_KOKRS_TOP_DOWN' exporting plvar = p1008-plvar otype = p1008-otype objid = p1008-objid kokrs = q1008-kokrs key_date = check_date importing subrc = subrc conflict_kokrs = conflict_kokrs up_1008 = up_1008 tables conflict_kokrs_down = conflict_kokrs_down.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'KOKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

RH_SET_DATE call function 'RH_SET_DATE' exporting beg_dat = p1008-begda end_dat = p1008-endda importing ret_dat = check_date exceptions intervall_negative = 1 others = 2.

RH_CHECK_KOKRS_TOP call function 'RH_CHECK_KOKRS_TOP' exporting plvar = p1008-plvar otype = p1008-otype objid = read_objid key_date = check_date importing i_1008 = inherit_1008.

HRCA_CONTROLLINGAREA_GETDETAIL call function 'HRCA_CONTROLLINGAREA_GETDETAIL' exporting co_area = q1008-kokrs importing name = q1008-kktext exceptions not_found = 1 others = 2.

RH_OM_BUKRS_CHECK_DOWN call function 'RH_OM_BUKRS_CHECK_DOWN' exporting act_keydate = p1008-begda act_plvar = p1008-plvar act_otype = p1008-otype act_objid = p1008-objid act_bukrs = p1008-bukrs om_buffermode = 'X' exceptions conflict_bukrs_downwards = 1 conflict_kostl_downwards = 2 conflict_persa_downwards = 3 internal_error = 4 others = 5.

RH_OM_ACC_INH_ON call function 'RH_OM_ACC_INH_ON' exporting inh = 'BUKRS' exceptions acc_inh_off = 1 wrong_input = 2 others = 3.

RH_CHECK_ACC_INPUT CALL FUNCTION 'RH_CHECK_ACC_INPUT' exporting plvar = p1008-plvar otype = p1008-otype objid = p1008-objid begda = p1008-begda endda = p1008-endda act_1008 = p1008 * OM_BUFFER_MODE = importing inh_bukrs = inh_bukrs inh_otype_bukrs = inh_otype_bukrs inh_objid_bukrs = inh_objid_bukrs inh_begda_bukrs = inh_begda_bukrs exceptions internal_error = 1 others = 2.

RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = p1008-plvar otype = inh_otype_bukrs objid = inh_objid_bukrs begda = inh_begda_bukrs endda = inh_begda_bukrs read_db = ' ' importing short = short exceptions not_found = 1 others = 2.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' EXPORTING dyname = prog_name dynumb = dyn_num TABLES dynpfields = dyntab EXCEPTIONS others = 0.

HRCA_CONTROLLINGAREA_FIND call function 'HRCA_CONTROLLINGAREA_FIND' EXPORTING companycode = P1008-bukrs IMPORTING contrlarea = found_kokrs EXCEPTIONS others = 0.

HRCA_CONTROLLINGAREA_GETDETAIL call function 'HRCA_CONTROLLINGAREA_GETDETAIL' EXPORTING co_area = found_kokrs IMPORTING name = typ_drop_down_tab-kokrs_text EXCEPTIONS others = 0.

HRCA_CONTROLLINGAREA_KEO_ACTIV call function 'HRCA_CONTROLLINGAREA_KEO_ACTIV' EXPORTING co_area = found_kokrs EXCEPTIONS internal_error = 1 not_active = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEY' value_org = 'S' TABLES value_tab = typ_drop_down_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 others = 3.

HRCA_CONTROLLINGAREA_GETLIST call function 'HRCA_CONTROLLINGAREA_GETLIST' TABLES contr_list = kokrs_tab EXCEPTIONS nothing_found = 1 others = 2.

HRCA_CONTROLLINGAREA_KEO_ACTIV call function 'HRCA_CONTROLLINGAREA_KEO_ACTIV' EXPORTING co_area = kokrs_tab-co_area EXCEPTIONS internal_error = 1 not_active = 2 others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEY' value_org = 'S' TABLES value_tab = typ_drop_down_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 others = 3.




F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEY' value_org = 'S' TABLES value_tab = typ_drop_down_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 others = 3.



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