SAP Reports / Programs | Payroll | Germany | Pension Administration(PY-DE-PS-VA) SAP PY

SAPM00PS_MAS_FORMS SAP ABAP INCLUDE - Include SAPM00PS_MAS_FORMS







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


Text pool values


Title: Include SAPM00PS_MAS_FORMS


INCLUDES used within this REPORT SAPM00PS_MAS_FORMS

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:

HRCA_CONTROLLINGAREA_FIND CALL FUNCTION 'HRCA_CONTROLLINGAREA_FIND' EXPORTING companycode = p0001-bukrs businessarea = p0001-gsber IMPORTING contrlarea = p0001-kokrs EXCEPTIONS not_found = 1 OTHERS = 2.

RH_INTEGRATION_CHECK CALL FUNCTION 'RH_INTEGRATION_CHECK' IMPORTING integrated_plvar = s_planvar org_integration = s_orga EXCEPTIONS OTHERS = 1.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'PLOGI' struc_content = ls_pme17 kind_of_error = space IMPORTING back = feature_back * the parameter status is necessary to fill sy-subrc (FB works wrong) CHANGING status = feature_status EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

RH_READ_PERS_ORG_STRU CALL FUNCTION 'RH_READ_PERS_ORG_STRU' EXPORTING begda = p0001-begda endda = p0001-begda imported_plvar = planvar plste = p0001-plans TABLES stru_tab = structab EXCEPTIONS integration_not_active = 1 parameters_missing = 2 OTHERS = 3.

RH_TEXT_GET CALL FUNCTION 'RH_TEXT_GET' EXPORTING tabname = 'P0001' record = p0001 langu = sy-langu begdat = sy-datum enddat = sy-datum tclas = 'A' * INFTY_0001 = molga = g_pwehdr-molga TABLES fields = fields text_tab = text_tab EXCEPTIONS ddic_entry_not_found = 1 incorrect_call = 2 internal_error = 3 missing_text = 4 OTHERS = 5 .

RH_TEXT_GET CALL FUNCTION 'RH_TEXT_GET' EXPORTING tabname = 'P0322' record = p0322 langu = sy-langu begdat = sy-datum enddat = sy-datum tclas = 'A' * INFTY_0001 = molga = g_pwehdr-molga TABLES fields = fields text_tab = text_tab EXCEPTIONS ddic_entry_not_found = 1 incorrect_call = 2 internal_error = 3 missing_text = 4 OTHERS = 5 .

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = g_beg_date IMPORTING last_day_of_month = l_date EXCEPTIONS day_in_no_date = 1 OTHERS = 2.

HRCA_COBL_CHECK CALL FUNCTION 'HRCA_COBL_CHECK' EXPORTING i_cobl = l_cobl IMPORTING e_cobl = l_cobl TABLES cobl_messages = l_cobl_messages EXCEPTIONS OTHERS = 1.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SUBTY' value_org = 'S' TABLES value_tab = lt_value_tab.

HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = otype objid = p0001-plans begda = p0001-begda endda = p0001-endda reference_date = p0001-begda IMPORTING short_text = plans_short object_text = plans_stext return = read_return EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.

HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'K' costcenter = p0001-kostl controllingarea = p0001-kokrs begda = p0001-begda endda = p0001-endda reference_date = p0001-begda langu = sy-langu IMPORTING costcenter_name = rk_ktext EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING gjahr = p0001-begda(4) kokrs = p0001-kokrs IMPORTING e_tka00 = tka00 e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = planvar otype = ot_position seark_begda = i_p0001_begda seark_endda = i_p0001_endda dynpro_repid = or_repid dynpro_dynnr = or_dynnr dynpro_searkfield = 'P0001-PLANS' * no_seark_popup = ' ' "Interface changed IMPORTING sel_object = re_objec EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6.

RP_PNP_GET_VALUE_PLANS CALL FUNCTION 'RP_PNP_GET_VALUE_PLANS' CHANGING plans = c_p0001_plans EXCEPTIONS OTHERS = 1.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = planvar otype = ot_position seark_begda = i_p0001_begda seark_endda = i_p0001_endda dynpro_repid = or_repid dynpro_dynnr = or_dynnr dynpro_searkfield = 'P0001-PLANS' * no_seark_popup = ' ' "Interface changed IMPORTING sel_object = re_objec EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6.

RP_PNP_GET_VALUE_PLANS CALL FUNCTION 'RP_PNP_GET_VALUE_PLANS' CHANGING plans = dummy EXCEPTIONS OTHERS = 1.



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