SAP Reports / Programs | Personnel Management | Personnel Administration | Belgium(PA-PA-BE) SAP PA

RPLMOGB3 SAP ABAP INCLUDE - Subroutines for Model G







RPLMOGB3 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 RPLMOGB3 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 RPLMOGB3. "Basic submit
SUBMIT RPLMOGB3 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLMOGB3 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: S_WORKPL = Workplace address code
Selection Text: S_ENTITY = Main company address code
Selection Text: P_REG_SP = Create specific register
Selection Text: P_REG_GE = Create general register
Selection Text: P_DATE = From
Selection Text: E_DATE = Ending date
Title: Subroutines for Model G
Text Symbol: HE2 = Seq. no.
Text Symbol: HE3 = Name/Christ. name
Text Symbol: HE8 = Home address
Text Symbol: HF2 = Identity card
Text Symbol: HF3 = Govrn.regstr.
Text Symbol: HF5 = Entry date
Text Symbol: HD9 = Postal code name
Text Symbol: HD1 = Personnel Register concerning the firm
Text Symbol: HD2 = Personnel register
Text Symbol: HD3 = Standard
Text Symbol: HD6 = Official name
Text Symbol: HD7 = Commercial name
Text Symbol: HD8 = Street and number
Text Symbol: HF6 = Leave date
Text Symbol: SC1 = Juridical entities
Text Symbol: SC2 = Workplaces
Text Symbol: SC3 = Juridical entities employees are assigned to
Text Symbol: SC7 = Not chosen or empty
Text Symbol: U01 = Persons that could not be assigned
Text Symbol: U02 = Name/Christ.Name Juridical Entities Workplaces


INCLUDES used within this REPORT RPLMOGB3

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:

HR_BE_READ_INSTITUTION_CODES CALL FUNCTION 'HR_BE_READ_INSTITUTION_CODES' EXPORTING im_instgr = pbe04_c_child_allowance_fund im_date = sel_date im_language = sy-langu IMPORTING ex_institutions = l_tab_institutions ex_returncode = l_returncode.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'SOORT' tabname = 'T5B9A' title_in_values_list = 'Child Allowance Funds'(sc1) titel = 'Child Allowance Funds'(sc1) IMPORTING select_value = instl TABLES fields = ihelp_fields valuetab = helptab.

HR_BE_READ_INSTITUTION_CODES CALL FUNCTION 'HR_BE_READ_INSTITUTION_CODES' EXPORTING im_instgr = pbe04_c_child_allowance_fund im_date = sel_date im_language = taal IMPORTING ex_institutions = l_tab_chfund ex_returncode = l_returncode.

HR_BE_GE_READ_MAX_HOURS_WEEK CALL FUNCTION 'HR_BE_GE_READ_MAX_HOURS_WEEK' EXPORTING in_pmebw = pmebw IMPORTING rtn_beuwg = beuwg EXCEPTIONS feature_not_generated = 1 input_is_empty = 2 zero_output = 3 unknwon_feature = 4 OTHERS = 5.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0101' begda = prevday endda = prevday IMPORTING subrc = l_returncode TABLES infty_tab = prevp0101 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = '5V' msgty = 'W' msgno = '78' msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = '5V' msgty = 'I' msgno = '78' msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' EXPORTING USE_ABAP_MEMORY = 'X' TABLES error = display_err errortexts = error_texts EXCEPTIONS no_errors.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING * NO_POPUP = ' ' no_print = 'X' * NO_IMG = ' ' * NO_MSGNO = 'X' linesize = sy-linsz * LISTHEADER = ' ' * COLHEADER = ' ' TABLES error = display_err EXCEPTIONS * invalid_linesize = 1 OTHERS = 2.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = '5V' msgty = 'E' msgno = '78' msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

HR_ES_CD_ACTUALS_FOR_INPER CALL FUNCTION 'HR_ES_CD_ACTUALS_FOR_INPER' EXPORTING inper = l_max_inper "max inper p_fpbeg = p_fpbeg "first forper of year p_fpend = p_fpend "last forper of year p_pernr = p_pernr TABLES evpdir = p_evpdir EXCEPTIONS no_record_found = 1 error = 2 OTHERS = 3.

HR_99S_GET_EVAL_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_EVAL_CLASS_VALUE' EXPORTING p_molga = p_molga p_lgart = p_lgart p_eval_class = p_eval_class p_keydate = p_endda * p_t512w = IMPORTING p_value = p_aklas p_return_code = p_returncode.

HR_BE_READ_SUBAREA CALL FUNCTION 'HR_BE_READ_SUBAREA' EXPORTING imp_date = sel_date imp_werks = p_werks imp_btrtl = p_btrtl imp_lang = sy-langu
IMPORTING subarea_class = lc_subarea EXCEPTIONS empty_parameter = 0 no_subarea = 1 orphaned_subarea = 0 not_found = 0 OTHERS = 2.

HR_BE_READ_REGNO CALL FUNCTION 'HR_BE_READ_REGNO' EXPORTING date = sel_date pers_area = p_werks pers_subarea = p_btrtl inst_group = pbe04_c_social_insurance_gr * persg = p_persg * persk = p_persk IMPORTING attribute_value = l_regno EXCEPTIONS OTHERS = 6.

HR_BE_READ_COMPANY CALL FUNCTION 'HR_BE_READ_COMPANY' EXPORTING imp_date = sel_date imp_comp_code = l_bukrs imp_lang = p_langu IMPORTING company_class = lc_company EXCEPTIONS empty_parameter = 1 no_company = 2 no_company_defined_in_lang = 3 wrong_company_data = 4 not_found = 5 OTHERS = 6.



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