RN1ME_MIGRATE_RCODE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RN1ME_MIGRATE_RCODE is used for the one-time adaptation of the reason code...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 RN1ME_MIGRATE_RCODE 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: S_CTSREQ = D .
Selection Text: P_TEST = D .
Selection Text: P_PROD = D .
Selection Text: P_DORCOD = Adapt Reason Code
Selection Text: P_DOFORM = Adapt Drug Catalog
Selection Text: P_DOCUST = Institution-Indep. Reason Code
Title: Migrate Reason Code
Text Symbol: LB2 = Transport Request
Text Symbol: LB1 = Migration Operations
Text Symbol: 018 = Not Adjusted
Text Symbol: 017 = Adapt Reason Code
Text Symbol: 016 = Adjusted
Text Symbol: 015 = Drug
Text Symbol: 014 = Adapt Drug Catalog
Text Symbol: 013 = Added to Transport Request
Text Symbol: 012 = is generated
Text Symbol: 011 = Reason Codes (Texts)
Text Symbol: 010 = Saved
Text Symbol: 009 = when saving in table
Text Symbol: 008 = Error
Text Symbol: 007 = Migrated
Text Symbol: 006 = Reason Code
Text Symbol: 005 = Program has already run
Text Symbol: 004 = in execution
Text Symbol: 003 = Migrate Reason Code
Text Symbol: 002 = Create
Text Symbol: 001 = Create
INCLUDE SBAL_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING iv_username = sy-uname iv_category = 'CUST' iv_client = sy-mandt IMPORTING ev_order = s_ctsreq-low EXCEPTIONS invalid_username = 1 invalid_category = 2 invalid_client = 3 internal_error = 4 OTHERS = 5.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.
BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_order = s_ctsreq-low wi_ko200 = gs_ko200
iv_no_show_option = 'X' * IMPORTING * WE_ORDER = * WE_TASK = * WE_KO200 = * ES_TADIR = TABLES wt_e071k = lt_key EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log_header IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN1ME_MIGRATE_RCODE - Migrate Reason Code RN1ME_MIGRATE_RCODE - Migrate Reason Code RN1ME_MIGRATE_ORDER_TOP - RN1MEMIGRATEORDERTOP RN1ME_MIGRATE_ORDER_CONSTANTS - RN1MEMIGRATEORDERCONSTANTS RN1ME_MIGRATE_ORDER - Medication: Migration of Order Data EHP4 RN1ME_MIGRATE_ORDER - Medication: Migration of Order Data EHP4