RN2WPVIEW006 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 RN2WPVIEW006 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_WEOELE = D .
Selection Text: P_WEOEFA = D .
Selection Text: P_WEDTOU = D .
Selection Text: P_SELAKT = D .
Selection Text: P_NOPAT = D .
Selection Text: P_NOINST = D .
Selection Text: P_NOCASE = D .
Selection Text: P_MAXROW = D .
Selection Text: P_CASEA = D .
Selection Text: KEYDATE = D .
Selection Text: R_TREAOU = Care Unit/Outpatient Clinic
Selection Text: R_ORGPF = Nursing Org. Unit
Selection Text: R_ORGFA = Departmental Org. Unit
Selection Text: R_LFDBEW = Movement Sequence Number
Selection Text: R_DEPTOU = Department
Selection Text: R_BWGRA = Admission Reason
Selection Text: R_ATTPER = Attending Physician
Selection Text: P_WEAPER = Presetting Attending Physician
Selection Text: P_VERS = All Versions
Selection Text: P_OUTPAT = Outpatient
Selection Text: P_OCCUP = Occupancy
Selection Text: P_INPAT = Inpatient
Selection Text: P_DEPART = Departures
Selection Text: P_DAYPAT = Day Patient
Selection Text: P_WEOEPF = D .
Selection Text: SE_EINRI = D .
Selection Text: R_UPUSR = D .
Selection Text: R_UPDAT = D .
Selection Text: R_STABK = D .
Selection Text: R_PCODE = D .
Selection Text: R_PATNR = D .
Selection Text: R_ORGLE = D .
Selection Text: R_ORGLA = D .
Selection Text: R_ORGDO = D .
Selection Text: R_MITARB = D .
Selection Text: R_MEDOK = D .
Selection Text: R_LNRLS = D .
Selection Text: R_LEIST = D .
INCLUDE: MNDATA00.
INCLUDE RN2WPVIEW006_SUBSCREEN_100.
INCLUDE RN2WPVIEW006_SUBSCREEN_110.
INCLUDE RN2WPVIEW006_SUBSCREEN_200.
INCLUDE RN2WPVIEW006_SUBSCREEN_310.
INCLUDE RN2WPVIEW006_SUBSCREEN_320.
INCLUDE RNSVAR_BWGR.
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = g_repid restriction = restrict EXCEPTIONS OTHERS = 0.
ISH_N2_VP_CONVERT_SVAR_006 * CALL FUNCTION 'ISH_N2_VP_CONVERT_SVAR_006' * TABLES * t_selvar = pt_svar_contents.
RS_CONV_EX_2_IN_NO_DD CALL FUNCTION 'RS_CONV_EX_2_IN_NO_DD' EXPORTING input_external = l_svariant-low IMPORTING output_internal = p_maxrow.
ISH_N2_READ_DOKST_BY_STABK CALL FUNCTION 'ISH_N2_READ_DOKST_BY_STABK' EXPORTING im_stabk = l_stabk-low TABLES ext_dokst = lt_tdwst EXCEPTIONS no_data = 1 error = 2 OTHERS = 3.
ISH_N2_DOC_SHOW_STATUS_ALL CALL FUNCTION 'ISH_N2_DOC_SHOW_STATUS_ALL' EXPORTING im_dynpprog = 'RN2WPVIEW006' im_dynpnr = '0100' im_dynprofield = p_dynpfield EXCEPTIONS no_select = 1 not_found = 2 error = 3 OTHERS = 4.
ISH_SHOW_LIST_PATIENT CALL FUNCTION 'ISH_SHOW_LIST_PATIENT' EXPORTING anfo = on npat_einri = p_einri npat_patnr = p_patnr vcode = 'DIS' IMPORTING npat_patnr = l_patnr * npat_pziff = npat-pziff * select_npat = select_npat * vcode_neu = vcode_new * list_okcode = list_okcode * weiter = weiter storno_selected = l_storno EXCEPTIONS geschlecht_falsch = 1 selection_false = 2 npat_not_found = 4 OTHERS = 8.
ISH_SHOW_LIST_FALL CALL FUNCTION 'ISH_SHOW_LIST_FALL' EXPORTING nfal_einri = p_einri nfal_falnr = ' ' nfal_fziff = ' ' nfal_patnr = p_patnr vcode = 'DIS' IMPORTING nfal_falnr = l_falnr * nfal_fziff = nfal-fziff EXCEPTIONS pat_not_found = 01 OTHERS = 02.
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = on fazuw = on "fachl UND pfleg. ??
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = '*' fazuw = on "fachl UND pfleg. ??
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = on fazuw = '*' pfzuw = on graph_title = 'Eingabehilfe: Behandelnde/ Pflegerische OE'(h03) einri = p_einri freig = on * LOEKZ = '*' * no_bauid = off "HW 1382107 no_bauid = on "HW 1382107 sperr = off * VCODE = 'UPD' IMPORTING nothing_selected = l_no_selected selected_orgid = l_value EXCEPTIONS OTHERS = 01.
ISHMED_SHOW_NORG CALL FUNCTION 'ISHMED_SHOW_NORG' EXPORTING ss_leitst = leitst ss_einri = p_einri ss_einri_chk = 'J' ss_freig = on ss_gdatum = sy-datum ss_n1erbrkz = erbrkz ss_fazuw = fazuw ss_pfzuw = pfzuw ss_read_oe = read_oe ss_title = title IMPORTING e_norg = l_norg TABLES t_norg = a_norg t_ntpk = a_ntpk EXCEPTIONS OTHERS = 01.
F4_USER CALL FUNCTION 'F4_USER' EXPORTING object = l_user IMPORTING result = l_user EXCEPTIONS OTHERS = 1.
ISHMED_SHOW_GPART CALL FUNCTION 'ISHMED_SHOW_GPART' EXPORTING ss_check = 'O' ss_einri = p_einri * SS_GDATUM = NLEI-IBGDT ??????? * ss_orgid = h_orgdo "= SPACE, d.h über alle OEs
ISH_N2_SHOW_DOKTYPEN CALL FUNCTION 'ISH_N2_SHOW_DOKTYPEN' EXPORTING ss_einri = p_einri ss_loekz = on CHANGING ss_dtid = l_dtid * ss_dtvers = ll_dtvers * ss_dtart = ll_medok EXCEPTIONS not_found = 1 OTHERS = 2.
ISH_SHOW_LIST_FALL CALL FUNCTION 'ISH_SHOW_LIST_FALL' EXPORTING nfal_einri = p_einri nfal_falnr = p_falnr * nfal_fziff = nfal-fziff nfal_patnr = p_patnr only_falnr = l_only_falnr vcode = 'UPD' IMPORTING * nfal_falnr = nfal-falnr * nfal_fziff = nfal-fziff * nbew_bewty = nbew-bewty nbew_lfdnr = l_lfdbew EXCEPTIONS pat_not_found = 01 OTHERS = 02.
ISHMED_FIND_DOCREF CALL FUNCTION 'ISHMED_FIND_DOCREF' EXPORTING einri = p_einri i_falnr = p_falnr i_ldthi = l_datum i_ldtlo = l_datum i_mehrfachsel = space i_patnr = p_patnr TABLES t_nbew = l_nbew t_nlei = l_nlei t_nlem = l_nlem t_norg = l_norg EXCEPTIONS OTHERS = 01.
ISH_N2_SHOW_TN2FLAG CALL FUNCTION 'ISH_N2_SHOW_TN2FLAG' EXPORTING i_einri = p_einri * i_flagid = rn2docv-pcode i_only_display = l_display IMPORTING e_tn2flag = l_tn2flag EXCEPTIONS OTHERS = 1.
ISH_SHOW_GPART CALL FUNCTION 'ISH_SHOW_GPART' EXPORTING aufruf = 'Y' rolle = '1' * ROW = 10 * COL = 13 vcode = 'UPD' arzt = on makz = on IMPORTING ngpa_gpart = l_gpart select_ngpa = l_select_ngpa EXCEPTIONS OTHERS = 0.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = g_repid dynumb = g_dynnr TRANSLATE_TO_UPPER = 'X' "MED-44670 TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 7.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = feldwert IMPORTING output = feldwert.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING * DYNAME = G_REPID * DYNUMB = G_DYNNR DYNAME = L_REPID "Ba MED-46868 DYNUMB = L_DYNNR "Ba MED-46868 TRANSLATE_TO_UPPER = 'X' DETERMINE_LOOP_INDEX = 'X' "Ba MED-46868 TABLES DYNPFIELDS = LT_DYNPFIELDS EXCEPTIONS OTHERS = 7.
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 RN2WPVIEW006 or its description.
RN2WPVIEW006 - Selection Screen for CWS View 006 (Documents View Type) RN2WPVIEW006 - Selection Screen for CWS View 006 (Documents View Type) RN2VORB2 - IS-H*MED: Import Structured Data from External Systems RN2VORB1 - IS-H*MED: Read the Finding Text from an External File RN2VOPAR - IS-H*MED: Interface (PARAMETERS) for Calling Generated Reports RN2VOMOD - IS-H*MED: Fixed PBO and PAI Modules for Generated Dialog Reports