SAP Reports / Programs | Personnel Management | Personnel Administration | Netherlands(PA-PA-NL) SAP PA

RPIMORN0_FORMS SAP ABAP INCLUDE - Create notification for MOMI : Forms







RPIMORN0_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 RPIMORN0_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 RPIMORN0_FORMS. "Basic submit
SUBMIT RPIMORN0_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT RPIMORN0_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: Create notification for MOMI : Forms


INCLUDES used within this REPORT RPIMORN0_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:

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'NLMOM' struc_content = lw_nlmom * KIND_OF_ERROR = IMPORTING back = pcv_nlmom_group * CHANGING * 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 .

DOMAIN_VALUE_GET * CALL FUNCTION 'DOMAIN_VALUE_GET' * EXPORTING * i_domname = 'P05_MOMI_SIGTY' * i_domvalue = lv_domvalue * IMPORTING * e_ddtext = lv_ddtext * EXCEPTIONS * not_exist = 1 * OTHERS = 2.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'P05_MOMI_SIGTY' text = 'X' langu = sy-langu TABLES dd07v_tab = lt_dd07v.

DOMAIN_VALUE_GET * CALL FUNCTION 'DOMAIN_VALUE_GET' * EXPORTING * i_domname = 'BVMRK' * i_domvalue = lv_domvalue * IMPORTING * e_ddtext = lv_ddtext * EXCEPTIONS * not_exist = 1 * OTHERS = 2.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'P05_MOMI_SIGTY' text = 'X' langu = sy-langu TABLES dd07v_tab = lt_dd07v.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'USER_COMMAND' it_fieldcat = lit_field_catalog i_save = 'X' i_callback_pf_status_set = 'PF_STATUS' is_layout = ls_layout TABLES t_outtab = git_momi_alv_result EXCEPTIONS program_error = 1 OTHERS = 2.

HR_CHECK_AUTHORITY_TCODE CALL FUNCTION 'HR_CHECK_AUTHORITY_TCODE' EXPORTING tcode = 'PA20' level = 'R' min_checks = 'X' EXCEPTIONS no_authorization = 1 OTHERS = 2.

HR_EMPLOYEE_ENQUEUE CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE' EXPORTING number = piwa_momi_alv_result-pernr IMPORTING locking_user = lv_locking_user.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = lv_locking_user IMPORTING address = ls_address TABLES return = lt_return2.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = '0019' number = lwa_p0029-pernr subtype = lwa_p0029-subty validityend = lwa_p0029-endda validitybegin = lwa_p0029-begda record = lwa_p0029 operation = 'INS' IMPORTING return = pcwa_return.

HR_EMPLOYEE_DEQUEUE CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE' EXPORTING number = piwa_momi_alv_result-pernr IMPORTING return = ls_return1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = piv_icon info = text-009 IMPORTING RESULT = piwa_momi_alv_result-exist.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = piv_icon info = piwa_momi_alv_result-status IMPORTING RESULT = piwa_momi_alv_result-exist.



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