RNMDSTAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program sets the status of the basic medical documentation for the selected cases to the specified new status and/or to the new department status(es)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RNMDSTAT 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: SO_SELKZ = D .
Selection Text: SO_MDSTS = D .
Selection Text: SO_MDSTA = D .
Selection Text: SO_FALNR = D .
Selection Text: SO_ABRKZ = D .
Selection Text: SE_EINRI = D .
Selection Text: P_MDSNEW = D .
Selection Text: SO_ORGPF = Nursing Organizational Unit
Selection Text: SO_ORGFA = Departmental Org. Unit
Selection Text: SO_ORG = Department
Selection Text: SO_EDATV = Discharge Date
Selection Text: SO_ADATV = Admission Date
Selection Text: P_XTEST = Test Run
Selection Text: P_XOPEN = Open
Selection Text: P_XNOUPD = Do not Change
Selection Text: P_XFASEL = Select Cases Using Case Sel.
Selection Text: P_XDET = Detailed Log
Selection Text: P_XDBSEL = Select Cases Using Criteria
Selection Text: P_XCLOSE = Complete
Selection Text: P_NOTREE = No Hierarchy Display
Title: Set Basic Medical Documentation Status for Multiple Cases
Text Symbol: TST = Test Run
Text Symbol: S01 = Institution
Text Symbol: P07 = Outpat.
Text Symbol: P06 = Day Patient
Text Symbol: P05 = Inpatient
Text Symbol: P04 = Log without Hierarchy Display
Text Symbol: P03 = Complete
Text Symbol: P02 = Open
Text Symbol: P01 = Do not Change
Text Symbol: F4O = Input Help: Org. Units
Text Symbol: DET = Detailed Log
Text Symbol: BL4 = Runtime Options
Text Symbol: BL2 = Additional Selection Criteria
Text Symbol: BL1 = Select Cases
Text Symbol: B22 = New Department Status
Text Symbol: B21 = New Status
Text Symbol: ALL = All Messages
INCLUDE RNMDSTATUS_DATA.
INCLUDE MNDATA_BOOL.
INCLUDE MNCDATA0.
INCLUDE MNDATA_MOVEMENT_CATEGORIES.
INCLUDE MNDATA_CASE_TYPES_EN.
INCLUDE RNSSEINR.
INCLUDE RNMDSTATUS_SSR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSEIN.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_CHECK_DEP_MD_STATUS_ACTIVE call function 'ISH_CHECK_DEP_MD_STATUS_ACTIVE' IMPORTING e_active = gc_fas_active.
ISH_CASE_SELECTION_READ call function 'ISH_CASE_SELECTION_READ' EXPORTING ss_einri = se_einri ss_selkz = so_selkz-low TABLES ss_falnr = lr_rnsfalnr EXCEPTIONS not_found = 1 others = 2.
ISH_MD_STATUS_SELECT_OBJNR call function 'ISH_MD_STATUS_SELECT_OBJNR' EXPORTING i_mdsta = so_mdsta[] i_mdsts = so_mdsts[] i_objnr_tab = lt_objnr IMPORTING e_excl_objnr_tab = lt_excl_objnr.
ISH_SET_MD_STATUS_MULT call function 'ISH_SET_MD_STATUS_MULT' exporting i_einri = se_einri it_falnr = lt_falnr it_md_status_new_tab = lt_md_status_new I_simulate = p_xtest i_log_extnumber = l_log_extnumber * I_LOG_DISPTYPE = 'F' i_log_no_tree = p_notree i_log_title = l_log_title i_log_detailed = p_xdet exceptions nothing_todo = 0 others = 0.
ISH_GRAPHIC_ORGID_SELECT call function 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING date = sy-datum einri = se_einri fazuw = l_fazuw pfzuw = l_pfzuw freig = on graph_title = 'Eingabehilfe: OrgEinheiten'(f4o) loekz = off no_bauid = on sperr = off IMPORTING nothing_selected = no_selected selected_orgid = f4_value EXCEPTIONS others = 01.
ISH_CASE_VALUE_REQUEST call function 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = se_einri ss_vcode = gc_update IMPORTING ss_falnr = p_falnr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RNMDSTAT - Set Basic Medical Documentation Status for Multiple Cases RNMDSTAT - Set Basic Medical Documentation Status for Multiple Cases RNMCO000 - IS-H MM: Transfer Material Consumption into CO RNMCO000 - IS-H MM: Transfer Material Consumption into CO RNL_NFAL_TIMESTAMP_NAPX_SET - RNLNFALTIMESTAMPNAPXSET RNL_NFAL_TIMESTAMP_NAPX_SET - RNLNFALTIMESTAMPNAPXSET