SAP Reports / Programs | Patient Accounting | SAP Healthcare - Industry-Specific Components for Hospitals | Patient Accounting(IS-H-PA) SAP IS

RNUMSTOR0 SAP ABAP Report - IS-H MM: Copy Closets







RNUMSTOR0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program enables you to copy closets with their storage locations (shelves and bins) from one organizational unit (OU) to another...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 RNUMSTOR0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ONMHC - Copy Closets


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 RNUMSTOR0. "Basic submit
SUBMIT RNUMSTOR0 AND RETURN. "Return to original report after report execution complete
SUBMIT RNUMSTOR0 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: PTESTM = Test Mode
Selection Text: P_ORG_FR = Copy from Org. Unit
Selection Text: P_ORG_TO = Copy to Org. Unit
Selection Text: SE_EINRI = D Institution
Selection Text: SE_STOR = D Closet Number
Title: IS-H MM: Copy Closets
Text Symbol: PRT = Error messages
Text Symbol: S01 = Institution
Text Symbol: S02 = Copy Closet Data from &1 to &2
Text Symbol: S03 = Test Mode
Text Symbol: S04 = Log
Text Symbol: S05 = Number of closets copied:
Text Symbol: S06 = Number of log messages:


INCLUDES used within this REPORT RNUMSTOR0

INCLUDE: RNSSTABL, " TN01, INCL. RNDATA00
INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSEIN.


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:

MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE'.

ISH_MAT_STORAGE_READ call function 'ISH_MAT_STORAGE_READ' exporting ss_anpoe = p_org_fr ss_rstorid = rstor importing sse_rstorid = rstorid tables ss_stordetail = istor ss_errors = ierror.

ISH_MAT_STORAGE_GETLIST call function 'ISH_MAT_STORAGE_GETLIST' exporting ss_rstorid = rstorid[] tables ss_storlist = istorl ss_errors = ierror.

ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting einri = se_einri ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 line_size = rnstat-line_size repid = rnstat-repid uline = off exceptions others = 0.

ISH_READ_NORG call function 'ISH_READ_NORG' exporting * EINRI = ' ' orgid = p_orgid importing norg_e = wanorg exceptions others = 1.

ISH_GRAPHIC_ORGID_SELECT call function 'ISH_GRAPHIC_ORGID_SELECT' exporting einri = se_einri fazuw = space importing selected_orgid = p_orgid exceptions others = 0.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = repid i_callback_pf_status_set = 'ALV_STATUS_SET' i_callback_user_command = 'ALV_USER_CMD' i_callback_html_end_of_list = 'ALV_HTML_END_OF_LIST' i_grid_title = lgridtitle is_layout = gs_layout it_fieldcat = xfield i_save = 'A' is_variant = gs_variant tables t_outtab = lt_istor exceptions others = 0.

MESSAGES_COUNT call function 'MESSAGES_COUNT' importing count = tabix.

ISH_PRINT_PROTOCOL call function 'ISH_PRINT_PROTOCOL' exporting line_size = rnstat-line_size minutes_title = text-prt repid = rnstat-repid.

ISH_CHECK_NUMBER_RANGE call function 'ISH_CHECK_NUMBER_RANGE' exporting * EINRI = ' ' * MODUS = 'N' number = nonumber object = tnkrs_obj subobject = subobj importing nr_range_nr = tnkrs_nr nr_range_type = tnkrs_tp exceptions interval_not_found = 1 invalid_object = 2 others = 10.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = tnkrs_nr object = tnkrs_obj * QUANTITY = '1' * SUBOBJECT = ' ' importing number = p_storid returncode = lrc exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 others = 8.

ISH_MAT_CATALOG_GETLIST call function 'ISH_MAT_CATALOG_GETLIST' exporting ss_anfoe = space ss_anpoe = p_org_to ss_matnr = wastorl-matnr ss_werks = wastorl-werks tables ss_keys = lt_keys.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting view_name = 'NMSTOR' action = 'E' enqueue_mode = 'E' exceptions foreign_lock = 1 system_failure = 2 table_not_found = 5 client_reference = 7.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting view_name = 'NMSTORL' action = 'E' enqueue_mode = 'E' exceptions foreign_lock = 1 system_failure = 2 table_not_found = 5 client_reference = 7.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting view_name = 'NMSTOR' action = 'D' enqueue_mode = 'E' exceptions foreign_lock = 1 system_failure = 2 table_not_found = 5 client_reference = 7.

VIEW_ENQUEUE call function 'VIEW_ENQUEUE' exporting view_name = 'NMSTORL' action = 'D' enqueue_mode = 'E' exceptions foreign_lock = 1 system_failure = 2 table_not_found = 5 client_reference = 7.

MESSAGES_COUNT call function 'MESSAGES_COUNT' importing count = tabix.



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