SAP Reports / Programs

RNPRULECHECK SAP ABAP Report - documentation and ABAP source code







RNPRULECHECK is a standard Executable ABAP Report 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 RNPRULECHECK 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 RNPRULECHECK. "Basic submit
SUBMIT RNPRULECHECK AND RETURN. "Return to original report after report execution complete
SUBMIT RNPRULECHECK 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 RNPRULECHECK

INCLUDE MNDATA_BOOL.
INCLUDE RNCOLOUR.
INCLUDE MNDATA_CASE_TYPES_EN.
INCLUDE MNDATA_MOVEMENT_CATEGORIES_EN.
INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSEIN.


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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict EXCEPTIONS OTHERS = 1.

ISH_CASE_VALUE_REQUEST CALL FUNCTION 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = se_einri ss_vcode = 'UPD' IMPORTING ss_falnr = r_falnr-low.

ISH_UNIRETCASE_ATTRIB_BUFF_GET CALL FUNCTION 'ISH_UNIRETCASE_ATTRIB_BUFF_GET' EXPORTING i_einri = se_einri i_falnr = r_falnr-low IMPORTING e_apxnr = g_apxnr e_lead = g_leading_case EXCEPTIONS no_uniretcase = 1 OTHERS = 2.

ISH_CASE_POOL_GET CALL FUNCTION 'ISH_CASE_POOL_GET' EXPORTING ss_falnr = p_falnr ss_einri = se_einri IMPORTING ss_nfal_curr = g_nfal.

ISH_PATIENT_POOL_GET CALL FUNCTION 'ISH_PATIENT_POOL_GET' EXPORTING ss_patnr = g_nfal-patnr ss_einri = se_einri ss_with_npae = off ss_with_nadr = off IMPORTING ss_npat_curr = g_npat.

ISH_CASEPROCEDURE_POOL_GET CALL FUNCTION 'ISH_CASEPROCEDURE_POOL_GET' EXPORTING ss_einri = se_einri ss_falnr = p_falnr TABLES ss_vnicp_curr = lt_vnicp ss_vnlicz_curr = lt_vnlicz ss_vndicz_curr = lt_vndicz.

ISH_CASESERVICE_POOL_GET CALL FUNCTION 'ISH_CASESERVICE_POOL_GET' EXPORTING ss_einri = se_einri ss_falnr = p_falnr TABLES ss_vnlei_curr = lt_vnlei.

ISH_MOVEMENTTAB_POOL_GET CALL FUNCTION 'ISH_MOVEMENTTAB_POOL_GET' EXPORTING ss_falnr = p_falnr ss_einri = se_einri TABLES ss_nbewtab_curr = lt_nbew.

ISH_CASEDIAGNOSIS_POOL_GET CALL FUNCTION 'ISH_CASEDIAGNOSIS_POOL_GET' EXPORTING ss_institution = se_einri ss_casenumber = p_falnr TABLES ss_ndia_curr = lt_ndia.

ISH_GET_GTARIF CALL FUNCTION 'ISH_GET_GTARIF' EXPORTING einrichtung = se_einri stichtag = l_result-ibgdt IMPORTING gtarif = l_gtarif EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-talst tarif = l_gtarif IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-servproc tarif = l_result-servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = l_rnapinicp-msgv2 IMPORTING date_internal = l_currdate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

ISH_GET_GTARIF CALL FUNCTION 'ISH_GET_GTARIF' EXPORTING einrichtung = se_einri stichtag = l_result-ibgdt IMPORTING gtarif = l_gtarif EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-talst tarif = l_gtarif IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-servproc tarif = l_result-servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = l_rnapinicp-msgv2 IMPORTING date_internal = l_currdate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

ISH_GET_GTARIF CALL FUNCTION 'ISH_GET_GTARIF' EXPORTING einrichtung = se_einri stichtag = l_result-ibgdt IMPORTING gtarif = l_gtarif EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_READ_NTPK_NTPT_NEW





CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-talst tarif = l_gtarif IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = -ibgdt einri = se_einri talst = -servproc tarif = -servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-servproc tarif = l_result-servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = l_rnapinicp-msgv2 IMPORTING date_internal = l_currdate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

ISH_GET_GTARIF CALL FUNCTION 'ISH_GET_GTARIF' EXPORTING einrichtung = se_einri stichtag = l_result-ibgdt IMPORTING gtarif = l_gtarif EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-talst tarif = l_gtarif IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-servproc tarif = l_result-servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = l_rnapinicp-msgv2 IMPORTING date_internal = l_currdate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

ISH_GET_GTARIF CALL FUNCTION 'ISH_GET_GTARIF' EXPORTING einrichtung = se_einri stichtag = l_result-ibgdt IMPORTING gtarif = l_gtarif EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-talst tarif = l_gtarif IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = -ibgdt einri = se_einri talst = -servproc tarif = -servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

ISH_READ_NTPK_NTPT_NEW CALL FUNCTION 'ISH_READ_NTPK_NTPT_NEW' EXPORTING begdt = l_result-ibgdt einri = se_einri talst = l_result-servproc tarif = l_result-servproc_cat IMPORTING ktxtconc = l_ktxtconc EXCEPTIONS missing_data = 1 no_ntpk_ntpt_found = 2 not_valid = 3 OTHERS = 4.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = l_rnapinicp-msgv2 IMPORTING date_internal = l_currdate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = l_domname domvalue = l_domvalue IMPORTING ddtext = l_ddtext.



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