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

RN2DOC_SELECTION_SCREEN SAP ABAP Report - Selection Screen for CWS View 006 (Documents View Type)







RN2DOC_SELECTION_SCREEN 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 RN2DOC_SELECTION_SCREEN 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 RN2DOC_SELECTION_SCREEN. "Basic submit
SUBMIT RN2DOC_SELECTION_SCREEN AND RETURN. "Return to original report after report execution complete
SUBMIT RN2DOC_SELECTION_SCREEN 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: P_NOPAT = D .
Selection Text: P_SELAKT = D .
Selection Text: P_WEOEFA = D .
Selection Text: P_WEOELE = D .
Selection Text: P_WEOEPF = D .
Selection Text: R_ANFID = D .
Selection Text: R_BEZEB = D .
Selection Text: R_DODAT = D .
Selection Text: R_DOKAR = D .
Selection Text: R_DOKNR = D .
Selection Text: R_DTID = D .
Selection Text: R_EINRI = D .
Selection Text: R_ERDAT = D .
Selection Text: R_ERUSR = D .
Selection Text: R_FALNR = D .
Selection Text: R_LNRLS = D .
Selection Text: R_MEDOK = D .
Selection Text: R_MITARB = D .
Selection Text: R_ORGDO = D .
Selection Text: R_ORGLA = D .
Selection Text: R_ORGLE = D .
Selection Text: R_PATNR = D .
Selection Text: R_PCODE = D .
Selection Text: R_STABK = D .
Selection Text: R_UPDAT = D .
Selection Text: R_UPUSR = D .
Selection Text: P_NOINST = D .
Selection Text: P_NOCASE = D .
Selection Text: P_MAXROW = D .
Selection Text: R_ORGPF = Nursing Org. Unit
Selection Text: R_ORGFA = Departmental Org. Unit
Selection Text: R_LFDBEW = Movement Sequence Number
Selection Text: P_VERS = All Versions
Selection Text: LOEKZ = With Deletion Indicator
Title: Selection Screen for CWS View 006 (Documents View Type)
Text Symbol: B01 = General restrictions
Text Symbol: B02 = Assignments to Movements
Text Symbol: B03 = Assignments to Services





Text Symbol: H01 = Input Help: Documenting OU
Text Symbol: H02 = Input Help: Departmental OU
Text Symbol: H03 = Input Help: Treatment / Nursing OU
Text Symbol: S01 = With Deletion Indicator
Text Symbol: S02 = All Versions
Text Symbol: S03 = Case
Text Symbol: S04 = Ignore Cases
Text Symbol: S05 = Ignore Pat. List
Text Symbol: S06 = Ignore Inst. List
Text Symbol: S07 = Institution
Text Symbol: S08 = Patient
Text Symbol: S09 = Departmental Org. Unit
Text Symbol: S10 = OU of Work Environment
Text Symbol: S11 = Nursing Org. Unit
Text Symbol: S12 = Performing Organizational Unit


INCLUDES used within this REPORT RN2DOC_SELECTION_SCREEN

INCLUDE: MNDATA00.


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 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 = 'RN2DOC_SELECTION_SCREEN' 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 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_NGPA CALL FUNCTION 'ISHMED_SHOW_NGPA' 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.



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