RN1ME_SHOWPR_FORMULARY 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 RN1ME_SHOWPR_FORMULARY into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_EXPAND = Expand All
Selection Text: P_GRP01 = No Grouping
Selection Text: P_GRP02 = Therapeutic Classes
Selection Text: P_GRP03 = Agent Name
Selection Text: P_GRP04 = Recipe
Selection Text: P_GRP05 = Drug Type
Selection Text: P_GRP06 = Manufacturer
Selection Text: P_INACT = Inactive
Selection Text: P_MONO = D Single Agent Drug
Selection Text: P_NARCOT = D Narcotic
Selection Text: P_PREACT = Preactive
Selection Text: P_PSYCHO = D Psychotropic
Selection Text: P_V_FROM = D Valid From
Selection Text: P_V_TO = D Valid To
Selection Text: SE_AGENT = D Agent Name
Selection Text: SE_APDID = D Admin. Device ID
Selection Text: SE_APRID = D Administration Route ID
Selection Text: SE_BRANA = D Brand Name
Selection Text: SE_EINRI = D Institution
Selection Text: SE_FTYPE = D Formulary Type ID
Selection Text: SE_GENNA = D Genericon
Selection Text: SE_MANUF = D Manufacturer
Selection Text: SE_MEDG = D Medication Group ID
Selection Text: SE_NAME = D Drug Name
Selection Text: SE_PHFID = D Dosage Form ID
Selection Text: SE_THCL = D Therapeutic Class
Selection Text: P_DEACT = Deactive
Selection Text: P_CONTR = D Controlled
Selection Text: P_CL_SYS = D Classification Syst.
Selection Text: P_CATID = D Formulary ID
Selection Text: P_ALVVAR = D Layout
Selection Text: P_ACTIVE = Active
Title: Medication: Display/Print Drug Basic Catalog
Text Symbol: 001 = Print Preview of Drug
Text Symbol: 002 = Not Assigned
Text Symbol: 003 = Number
Text Symbol: 004 = Multiple Assignment
Text Symbol: 005 = Multiple
INCLUDE RNDATA00.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = se_einri IMPORTING ss_tn01 = tn01 EXCEPTIONS OTHERS = 1.
ISH_EINRI_CHECK CALL FUNCTION 'ISH_EINRI_CHECK' EXPORTING ss_einri = se_einri IMPORTING ss_tn01 = tn01 EXCEPTIONS OTHERS = 1.
ISH_TN00Q_READ * CALL FUNCTION 'ISH_TN00Q_READ' * EXPORTING * ss_einri = se_einri * ss_param = 'N1MEN1DC' * ss_date = sy-datum * IMPORTING * ss_value = p_catid.
ISHMED_ME_GET_DRUG_CATID CALL FUNCTION 'ISHMED_ME_GET_DRUG_CATID' EXPORTING i_einri = se_einri IMPORTING e_catid = p_catid.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = sy-repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' is_layout = gs_layout it_fieldcat = xfield * IT_EXCLUDING = * it_special_groups = it_sort = lt_sortinfo * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 i_default = off i_save = 'A' is_variant = gs_variant * it_events = * it_event_exit = i_tabname_header = 'GT_MASTER' i_tabname_item = 'GT_SLAVE' * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = gs_keyinfo is_print = gs_print * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = gt_master t_outtab_item = gt_slave EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = i_internal_tabname = 'GT_MASTER' i_structure_name = g_tabname * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = i_bypassing_buffer = off i_buffer_active = on CHANGING ct_fieldcat = ct_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = i_internal_tabname = 'GT_SLAVE' i_structure_name = 'RN1ME_PRN_LIST_FORM' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = i_bypassing_buffer = off i_buffer_active = on CHANGING ct_fieldcat = ct_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
ISHMED_ME_SEARCH_BROWSER CALL FUNCTION 'ISHMED_ME_SEARCH_BROWSER' EXPORTING i_einri = se_einri i_narcotic = p_narcot i_psycho = p_psycho i_contr = p_contr i_mono = p_mono i_begdt_von = p_v_from i_enddt_von = p_v_to i_dialog = 'X' IMPORTING e_rc = l_rc TABLES s_actmode = l_actmode s_catid = l_catid s_drugn = l_drugn s_brandn = l_brandn s_genname = l_genname s_agent = l_agent s_thclasssys = l_thclasssys s_thclass = l_thclass s_manuf = l_manuf s_phformid = l_phformid s_formty = l_formty s_medgrpid = l_medgrpid s_apdevid = l_apdevid s_aprouteid = l_aprouteid r_n1formulary = gt_formulary CHANGING cr_errorhandler = lr_errorhandler.
LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = rs_variant i_save = 'A' IMPORTING e_exit = l_exit_popup es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = rs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'N1FORMULARY' fieldname = 'CATID' TABLES return_tab = lt_f4_values EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'N1FOINSTA' fieldname = 'EINRI' TABLES return_tab = lt_f4_values EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
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 RN1ME_SHOWPR_FORMULARY or its description.
RN1ME_SHOWPR_FORMULARY - Medication: Display/Print Drug Basic Catalog RN1ME_SHOWPR_FORMULARY - Medication: Display/Print Drug Basic Catalog RN1ME_SHOWPR_BDCC - Medication: Display/Print Drug Basic Catalog RN1ME_SHOWPR_BDCC - Medication: Display/Print Drug Basic Catalog RN1ME_PHL_TOP - RN1MEPHLTOP RN1ME_PHL_F01 - RN1MEPHLF01