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

MP101820 SAP ABAP INCLUDE - documentation and ABAP source code







MP101820 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 MP101820 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 MP101820. "Basic submit
SUBMIT MP101820 AND RETURN. "Return to original report after report execution complete
SUBMIT MP101820 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 MP101820

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_COSTCENTER_VALIDITY_CHECK call function 'RH_COSTCENTER_VALIDITY_CHECK' exporting controllingarea = pt1018-kokrs costcenter = pt1018-kostl start_date = p1018-begda end_date = p1018-endda * TEXTSELDATE = SY-DATUM * LANGUAGE = SY-LANGU importing shortname = namshort objectname = namobjec * TABLES * COST_CENTER_INFO = exceptions nothing_found = 1 others = 2.

RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = p1018-plvar otype = pt1018-rotype realo = cont_realo importing stext = cont_name exceptions not_found = 1 others = 2.

RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = p1018-plvar otype = pt1018-rotype realo = cont_realo importing stext = cont_name exceptions not_found = 1 others = 2.

RH_COSTCENTER_RESTRICTION call function 'RH_COSTCENTER_RESTRICTION' exporting plvar = p1018-plvar otype = p1018-otype objid = p1018-objid controllingarea = pt1018-kokrs costcenter = pt1018-kostl start_date = p1018-begda end_date = p1018-endda exceptions no_active_plvar = 1 kokrs_not_matches_fikrs = 2 others = 3.

RH_COSTCENTER_VALIDITY_CHECK call function 'RH_COSTCENTER_VALIDITY_CHECK' exporting controllingarea = pt1018-kokrs costcenter = pt1018-kostl start_date = p1018-begda end_date = p1018-endda * TEXTSELDATE = SY-DATUM * LANGUAGE = SY-LANGU * IMPORTING * SHORTNAME = * OBJECTNAME = * TABLES * COST_CENTER_INFO = exceptions nothing_found = 1 sel_period_error = 2 validity_error = 3 others = 4.

RH_PERCENT_SUM_CHECK call function 'RH_PERCENT_SUM_CHECK' exporting act_prozt = pt1018-prozt changing sum_prozt = prozsum exceptions percentage_exceeded = 1 others = 2.

RH_COSTCENTER_OF_OBJECT_GET call function 'RH_COSTCENTER_OF_OBJECT_GET' exporting plvar = p1018-plvar begda = p1018-begda endda = p1018-endda * SVECT = '1' * ACTIVE = ' ' * DIST = ' ' * OBJECT_ONLY = ' ' tables in_objects = roots main_costcenters = maincctb.

RH_COSTCENTER_VALIDITY_CHECK call function 'RH_COSTCENTER_VALIDITY_CHECK' exporting controllingarea = pdrhcostc_read-kokrs costcenter = pdrhcostc_read-kostl start_date = p1018-begda end_date = p1018-endda * TEXTSELDATE = SY-DATUM * LANGUAGE = SY-LANGU importing shortname = namshort objectname = namobjec exceptions nothing_found = 1 others = 2.

RH_INIT_RECALC_1018 CALL FUNCTION 'RH_INIT_RECALC_1018'. "Note0460402

RH_FIND_RECALC_PERS call function 'RH_FIND_RECALC_PERS' exporting i1018 = i1018 i1018_old = i1018_old "STFO493814 ok_code = pppar-fcode "STFO493814 * ok_code = ok-code "STFO493814 gdate = error_msg = 'X' * warn_msg = 'X'. "STFO493814

RH_FIND_RECALC_PERS call function 'RH_FIND_RECALC_PERS' exporting i1018 = i1018 i1018_old = i1018_old "STFO493814 ok_code = pppar-fcode "STFO493814 * ok_code = ok-code "STFO493814 gdate = error_msg = 'X' * warn_msg = 'X'. "STFO493814

RH_FIND_RECALC_PERS call function 'RH_FIND_RECALC_PERS' exporting i1018 = i1018 ok_code = pppar-fcode "STFO493814 * ok_code = ok-code "STFO493814 gdate = error_msg = 'X' warn_msg = 'X'.

RH_FIND_RECALC_PERS call function 'RH_FIND_RECALC_PERS' exporting i1018 = i1018 ok_code = pppar-fcode "STFO493814 * ok_code = ok-code "STFO493814 gdate = error_msg = 'X' warn_msg = 'X' info_msg = 'X'.

HR_COSTDISTRIBUTION_SCREEN_GET call function 'HR_COSTDISTRIBUTION_SCREEN_GET' tables i_costdistribution = gt_distribution exceptions percentage_error = 1 nothing_changed = 2 others = 3.

HR_COSTDISTRIBUTION_SCREEN_FCD call function 'HR_COSTDISTRIBUTION_SCREEN_FCD' exporting i_fcode = ok-code i_data = time.

HR_COSTDISTRIBUTION_SCREEN_FCD call function 'HR_COSTDISTRIBUTION_SCREEN_FCD' exporting i_fcode = ok-code.



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