SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN1WPVIEW012 SAP ABAP Report - Selection Screen for View 012, Medication Orders







RN1WPVIEW012 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 RN1WPVIEW012 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 RN1WPVIEW012. "Basic submit
SUBMIT RN1WPVIEW012 AND RETURN. "Return to original report after report execution complete
SUBMIT RN1WPVIEW012 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_UPTMT = Change Time To
Selection Text: S_UPTMF = Change Time From
Selection Text: S_UPDTT = Change Date To
Selection Text: S_UPDTF = Change Date From
Selection Text: S_PBTADT = Planned Time To
Selection Text: S_PBTADF = Planned Time From
Selection Text: S_PBDADT = Planned Date To
Selection Text: S_PBDADF = Planned Date From
Selection Text: S_MOVTT = Validity Time To
Selection Text: S_MOVTF = Validity Time From
Selection Text: S_MOVDT = Valid To Date
Selection Text: S_MOVDF = Valid From Date
Selection Text: S_ERTMT = Creation Time To
Selection Text: S_ERTMF = Creation Time From
Selection Text: S_ERDTT = Creation Date To
Selection Text: S_ERDTF = Creation Date From
Selection Text: S_CONTR = Controlled Drug
Selection Text: S_CHDVER = Display MOs w/ Change Indic.
Selection Text: S_CASEL = Caseless
Selection Text: R_PREXT = Priority
Selection Text: R_ORGFA = Ordering Departmental OU
Selection Text: R_FALNR = Case Number
Selection Text: R_ERUSR = Created By
Selection Text: R_DTID = Order Document
Selection Text: P_PF = Nursing OU of WE
Selection Text: P_FA = Departmental OU of WE
Selection Text: S_PSYCH = D .
Selection Text: S_OUTP = D .
Selection Text: S_NARCO = D .
Selection Text: S_MAXLIN = D .
Selection Text: S_INP = D .
Selection Text: S_IGNPAT = D .
Selection Text: S_IGNORD = D .
Selection Text: S_IGNCAS = D .
Selection Text: S_GSCHLE = D .
Selection Text: S_DAYP = D .
Selection Text: S_ADOUTP = D .
Selection Text: SE_EINRI = D .





Selection Text: R_UPUSR = D .
Selection Text: G_SELAKT = D .
Selection Text: R_APROU = D .
Selection Text: R_DRUGN = D .
Selection Text: R_MEDGR = D .
Selection Text: R_MOTYPE = D .
Selection Text: R_ORDID = D .
Selection Text: R_ORGPF = D .
Selection Text: R_PATNR = D .
Selection Text: R_PRESNR = D .
Selection Text: R_PURP = D .
Selection Text: R_RESP1 = D .
Selection Text: R_SOURCE = D .
Selection Text: R_STOID = D .
Title: Selection Screen for View 012, Medication Orders
Text Symbol: S01 = Institution
Text Symbol: F43 = IVType
Text Symbol: F42 = Order Document
Text Symbol: F41 = Usage
Text Symbol: F40 = Ignore Cases
Text Symbol: F39 = Case
Text Symbol: F38 = Ignore Patients
Text Symbol: F37 = Patient
Text Symbol: F36 = Change Period To
Text Symbol: F35 = Change Period From
Text Symbol: F34 = Manual Entry of Selection Criteria
Text Symbol: C21 = Ignore Orders
Text Symbol: C20 = Changed By
Text Symbol: C19 = Created By
Text Symbol: C18 = Display Controlled Drugs
Text Symbol: C17 = Display Psychopharmacon
Text Symbol: C16 = Display Narcotic
Text Symbol: C15 = Special Request
Text Symbol: C14 = Display Orders with PRN Agent
Text Symbol: C13 = Display Orders with Change Attribute
Text Symbol: C10 = Ext. Medication
Text Symbol: C04 = Caseless
Text Symbol: C03 = Day Patient
Text Symbol: C02 = Outpatient





Text Symbol: C01 = Inpatient
Text Symbol: B31 = Date and Time
Text Symbol: B21 = CaseTyp
Text Symbol: B12 = First Event
Text Symbol: B08 = Drug Directory
Text Symbol: B07 = Drug for Order
Text Symbol: B06 = Documententation Type
Text Symbol: B04 = Checkboxes
Text Symbol: B03 = Order Data
Text Symbol: B02 = Data on Patient
Text Symbol: B01 = General Data
Text Symbol: 029 = Canc. Reason
Text Symbol: 016 = Input Help: Org. Units
Text Symbol: 010 = /
Text Symbol: 005 = Document Status
Text Symbol: 004 = Medication Order Status
Text Symbol: 002 = Select Order Status:
Text Symbol: 001 = Select Document Status:
Text Symbol: C22 = Administration in Hospital
Text Symbol: F33 = Maximum No. of Hits
Text Symbol: F32 = Order Profile
Text Symbol: F31 = Med. Order
Text Symbol: F30 = Priority
Text Symbol: F29 = Cncl.Reason
Text Symbol: F28 = Consult. OU
Text Symbol: F27 = Consulting Employee
Text Symbol: F26 = Employee Responsible
Text Symbol: F25 = Admin. Route
Text Symbol: F24 = Dept. OU of WE
Text Symbol: F23 = Nurs. OU of WE
Text Symbol: F22 = Order Type
Text Symbol: F21 = Ordering Dept. OU
Text Symbol: F20 = Ordering OU
Text Symbol: F18 = To
Text Symbol: F17 = Planned By
Text Symbol: F16 = Valid To
Text Symbol: F15 = Valid From
Text Symbol: F14 = Creation Period To
Text Symbol: F13 = Creation Period From



Text Symbol: F08 = Display Controlled Drugs
Text Symbol: F07 = Display Psychopharmacon
Text Symbol: F06 = Display Narcotic
Text Symbol: F05 = Display Orders with PRN Agent
Text Symbol: F04 = Display Changed Orders
Text Symbol: F02 = Orders with Sliding Dose
Text Symbol: F01 = Display Discharge Orders
Text Symbol: C26 = Emergency Order
Text Symbol: C25 = Confirmed Orders
Text Symbol: C24 = Classification Code
Text Symbol: C23 = Classification System


INCLUDES used within this REPORT RN1WPVIEW012

INCLUDE: MNDATA00.
INCLUDE: RN1WPVIEW012_SUBSC0100.
INCLUDE: RN1WPVIEW012_SUBSC0511.
INCLUDE: RN1WPVIEW012_SUBSC0120.
INCLUDE: RN1WPVIEW012_SUBSC0531.


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:

ISHMED_DOC_STAT_SEL CALL FUNCTION 'ISHMED_DOC_STAT_SEL' CHANGING ct_tdwst_sel = gt_tdwst c_rc = g_rc.

ISHMED_ME_ORD_STAT CALL FUNCTION 'ISHMED_ME_ORD_STAT' EXPORTING i_einri = se_einri CHANGING ct_ordstatid = gt_ordstatid c_rc = g_rc.

ISHMED_ME_F4_HELP_THCL CALL FUNCTION 'ISHMED_ME_F4_HELP_THCL' EXPORTING i_se_thcl_sys = lt_thsys TABLES values = lt_n1mev_tnthclass.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING date = p_date einri = p_einri * pfzuw = on ambes = off freig = on graph_title = 'Eingabehilfe: OrgEinheiten'(016) loekz = off no_bauid = on sperr = off start_orgfa = p_orgfa IMPORTING nothing_selected = no_selected selected_orgid = pf4_value EXCEPTIONS OTHERS = 01.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING date = p_date einri = p_einri fazuw = on freig = on graph_title = 'Eingabehilfe: OrgEinheiten'(016) loekz = off no_bauid = on sperr = off IMPORTING nothing_selected = no_selected selected_orgid = pf4_value EXCEPTIONS OTHERS = 01.

ISH_SHOW_GPART * CALL FUNCTION 'ISH_SHOW_GPART' * EXPORTING * aufruf = 'Y' * rolle = '1' * row = 8 * col = 13 * vcode = 'DIS' * IMPORTING * ngpa_gpart = l_gpa * select_ngpa = l_selected.

ISHMED_SHOW_GPART CALL FUNCTION 'ISHMED_SHOW_GPART' IMPORTING e_ngpa = ls_ngpa EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_CHECK_NORG CALL FUNCTION 'ISHMED_CHECK_NORG' EXPORTING ss_einri = p_einri ss_einri_chk = 'J' ss_fazuw = p_fazuw ss_pfzuw = p_pfzuw ss_n1anfkz = p_n1anfkz ss_n1erbrkz = p_n1erbrkz ss_orgid = l_orgid ss_gdatum = p_date ss_check_date = off " ID 19284 * IMPORTING * e_date_invalid = l_date_invalid " ID 19284 * e_norg = ls_norg " ID 19284 EXCEPTIONS not_found = 1 not_valid = 2.

ISHMED_CHECK_NGPA CALL FUNCTION 'ISHMED_CHECK_NGPA' EXPORTING ss_einri = p_einri ss_pernr = l_gpart IMPORTING e_ngpa = l_ngpa e_nper = l_nper EXCEPTIONS not_found = 1 not_valid = 2 not_auth = 3.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'N1ME_ORD_PURPOSE' langu = sy-langu IMPORTING rc = l_rc TABLES dd07v_tab = lt_dd07v EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

ISHMED_CHECK_STOID CALL FUNCTION 'ISHMED_CHECK_STOID' EXPORTING i_einri = p_einri i_stoid = l_stoid i_stlmt = '*' i_stmeorder = 'X' * I_STMEEVENT = '*' i_caller = 'RN1WPVIEW013' IMPORTING * E_N1STGR = * E_N1STGRT = e_rc = l_rc.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_STOID_ORD' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_TN1OTYPE' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_N1FORMULARYT_ADM' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_FORMTY' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_MEDGROUPT' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_MOPREXT' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'H_TN17T' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_ROUTE' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_CLASSSYS' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'N1ME_THCLID' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = shlp_descr IMPORTING rc = pf4_rc TABLES return_values = pf4_values EXCEPTIONS OTHERS = 1.

ISH_SHOW_LIST_PATIENT CALL FUNCTION 'ISH_SHOW_LIST_PATIENT' EXPORTING npat_einri = p_einri anfo = 'X' " Auswahlpopup vcode = 'DIS' " nur Anzeige+Auswahl fcode = 'PS' " nur Patienten IMPORTING npat_patnr = p_patnr EXCEPTIONS geschlecht_falsch = 1 no_authority = 2 npat_not_found = 3 selection_false = 4 message = 5 OTHERS = 6.

ISH_SHOW_LIST_FALL CALL FUNCTION 'ISH_SHOW_LIST_FALL' EXPORTING nfal_einri = p_einri * NFAL_FALNR = ' ' nfal_patnr = p_patnr * NPATSTRING = ' ' vcode = 'DIS' * FCODE = 'SO' * LIST_LAYOUT = '0' popup = 'X' * CALL_FROM_DARK = ' ' * ONLY_FALNR = ' ' * EXIT_ON_WEITER = ' ' * ZUORDNUNG = 'A' IMPORTING nfal_falnr = p_falnr EXCEPTIONS pat_not_found = 1 repid_missing = 2 OTHERS = 3.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'SH_USR01' IMPORTING shlp = shlp_descr EXCEPTIONS OTHERS = 1.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = shlp_descr IMPORTING rc = pf4_rc TABLES return_values = pf4_values EXCEPTIONS OTHERS = 1.

ISH_CONVERT_SEX_INPUT CALL FUNCTION 'ISH_CONVERT_SEX_INPUT' EXPORTING ss_gschle = g_gschle IMPORTING ss_gschl = g_gschl EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_CONVERT_SEX_OUTPUT CALL FUNCTION 'ISH_CONVERT_SEX_OUTPUT' EXPORTING ss_gschl = g_gschl IMPORTING ss_gschle = g_gschle EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_FORMTY_TO_ID CALL FUNCTION 'ISHMED_ME_CONV_FORMTY_TO_ID' EXPORTING i_formty = r_formty-low IMPORTING e_formtyid = r_ftyid-low EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_FORMTY_TO_ID CALL FUNCTION 'ISHMED_ME_CONV_FORMTY_TO_ID' EXPORTING i_formty = r_formty-high IMPORTING e_formtyid = r_ftyid-high EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_ID_TO_FORMTY CALL FUNCTION 'ISHMED_ME_CONV_ID_TO_FORMTY' EXPORTING i_formtyid = r_ftyid-low IMPORTING e_formty = r_formty-low EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_ID_TO_FORMTY CALL FUNCTION 'ISHMED_ME_CONV_ID_TO_FORMTY' EXPORTING i_formtyid = r_ftyid-high IMPORTING e_formty = r_formty-high EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_MEDGROUP_TO_ID CALL FUNCTION 'ISHMED_ME_CONV_MEDGROUP_TO_ID' EXPORTING i_medgroup = r_medgr-low IMPORTING e_medgrpid = r_mgrid-low EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_MEDGROUP_TO_ID CALL FUNCTION 'ISHMED_ME_CONV_MEDGROUP_TO_ID' EXPORTING i_medgroup = r_medgr-high IMPORTING e_medgrpid = r_mgrid-high EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_ID_TO_MEDGROUP CALL FUNCTION 'ISHMED_ME_CONV_ID_TO_MEDGROUP' EXPORTING i_medgrpid = r_mgrid-low IMPORTING e_medgroup = r_medgr-low EXCEPTIONS not_found = 1 OTHERS = 2.

ISHMED_ME_CONV_ID_TO_MEDGROUP CALL FUNCTION 'ISHMED_ME_CONV_ID_TO_MEDGROUP' EXPORTING i_medgrpid = r_mgrid-high IMPORTING e_medgroup = r_medgr-high EXCEPTIONS not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynnr TABLES dynpfields = it_dynpfields EXCEPTIONS OTHERS = 1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = se_einri IMPORTING output = se_einri.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'N1ME_IVTYPE' langu = sy-langu IMPORTING rc = l_rc TABLES dd07v_tab = lt_dd07v EXCEPTIONS wrong_textflag = 1 OTHERS = 2.



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