Skip to Content
avatar image
Former Member

error while executing migration project RSMIGRATE

Hi All,

I am trying to execute migration project "ZMIGRAGTE" to convert 3.5 dataflow to 7.x. But I am getting short dump "Field Symbol has not been assigned yet", there is no routines/abap code in my 3.x flow, still getting field symbol has not been assigned yet dump. Please find the dump below.

Category ABAP Programming Error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP Program CL_RSTRAN_TRFN_VERS===========CP
Application Component BW-WHM-DST
Date and Time 05.09.2017 14:20:13
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short Text |
| Field symbol has not been assigned yet. |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened? |
| Error in the ABAP Application Program |
| |
| The current ABAP program "CL_RSTRAN_TRFN_VERS===========CP" had to be |
| terminated because it has |
| come across a statement that unfortunately cannot be executed. |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error analysis |
| An attempt was made to access a field symbol that has not been assigned |
| yet (data segment number "-1"). |
| |
| That error occurs if |
| - a typed field symbol is addressed before it has been set with ASSIGN, |
| or |
| - a field symbol is addressed that points to a row in an internal table |
| that has been deleted, or |
| - a field symbol is addressed that was previously reset using UNASSIGN, |
| or that pointed to a local field that no longer exists, or |
| - a parameter of a global function interface is address, although the |
| corresponding function module is not active (is not in the list of |
| active calls). The list of active calls can be taken from this short |
| dump. |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Trigger Location of Runtime Error |
| Program CL_RSTRAN_TRFN_VERS===========CP |
| Include CL_RSTRAN_TRFN_VERS===========CM02P |
| Row 80 |
| Module Type (METHOD) |
| Module Name CREATE_RECORDTP_RULE |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Source Code Extract (Source code has changed) |
----------------------------------------------------------------------------------------------------
|Line |SourceCde |
----------------------------------------------------------------------------------------------------
| 50| DELETE lt_field_source. |
| 51| ENDLOOP. |
| 52| ENDIF. |
| 53| |
| 54| LOOP AT lt_field_target ASSIGNING <fs_field> |
| 55| WHERE iobjnm <> '0RECORDTP'. |
| 56| DELETE lt_field_target. |
| 57| ENDLOOP. |
| 58| |
| 59| READ TABLE lt_field_target ASSIGNING <fs_field> |
| 60| INDEX 1. |
| 61| |
| 62| ls_ruleinfo-tranid = p_tranid. |
| 63| ls_ruleinfo-objvers = p_tran_info-objvers. |
| 64| ls_ruleinfo-field_usage = ''. |
| 65| |
| 66| CALL METHOD me->_get_tec_group |
| 67| EXPORTING |
| 68| i_create = rs_c_true |
| 69| IMPORTING |
| 70| e_groupid = DATA(l_groupid) |
| 71| e_r_group = DATA(lr_group). |
| 72| |
| 73| p_max_seqnr = p_max_seqnr + 1. |
| 74| ls_ruleinfo-seqnr = p_max_seqnr. |
| 75| |
| 76| ls_ruleinfo-ruleid = get_free_ruleid( ). |
| 77| ls_ruleinfo-groupid = l_groupid. |
| 78| |
| 79| TRY. |
|>>>>>| CALL METHOD cl_rstran_trfn_rule=>factory |
| 81| EXPORTING |
| 82| i_tranid = p_tranid |
| 83| i_objvers = p_tran_info-objvers |
| 84| i_ruleid = ls_ruleinfo-ruleid |
| 85| i_s_source = p_s_source |
| 86| i_s_target = p_s_target |
| 87| i_t_field_source = lt_field_source |
| 88| i_t_field_target = lt_field_target |
| 89| i_s_ruleinfo = ls_ruleinfo |
| 90| i_s_target_field = <fs_field> |
| 91| i_s_trfn = p_tran_info |
| 92| RECEIVING |
| 93| r_r_rule = ls_rule-r_rule. |
| 94| CATCH cx_rstran_number_of_parameter. |
| 95| CATCH cx_rstran_rule_invalid. |
| 96| EXIT. |
| 97| ENDTRY. |
| 98| |
| 99|* change step if no mapping possible |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Active Calls/Events |
----------------------------------------------------------------------------------------------------
|No. Ty. Program Include Line |
| Name |
----------------------------------------------------------------------------------------------------
| 23 METHOD CL_RSTRAN_TRFN_VERS===========CP CL_RSTRAN_TRFN_VERS===========CM02P 80 |
| CL_RSTRAN_TRFN_VERS=>CREATE_RECORDTP_RULE |
| 22 METHOD CL_RSTRAN_TRFN_VERS===========CP CL_RSTRAN_TRFN_VERS===========CM02P 80 |
| CL_RSTRAN_TRFN_VERS=>CREATE_RECORDTP_RULE |
| 21 METHOD CL_RSTRAN_TRFN_VERS===========CP CL_RSTRAN_TRFN_VERS===========CM00H 408 |
| CL_RSTRAN_TRFN_VERS=>DELETE_RULE |
| 20 METHOD CL_RSTRAN_TRFN================CP CL_RSTRAN_TRFN================CM01Z 6 |
| CL_RSTRAN_TRFN=>DELETE_RULE |
| 19 METHOD CL_RSTRAN_MAINTAIN============CP CL_RSTRAN_MAINTAIN============CM00F 3 |
| CL_RSTRAN_MAINTAIN=>DELETE_RULE |
| 18 METHOD CL_RSTRAN_MAINTAIN============CP CL_RSTRAN_MAINTAIN============CM010 25 |
| CL_RSTRAN_MAINTAIN=>CREATE_INIT_MAPPING |
| 17 METHOD CL_RSTRAN_TEMPLATE_UR=========CP CL_RSTRAN_TEMPLATE_UR=========CM002 105 |
| CL_RSTRAN_TEMPLATE_UR=>CREATE_ALL_MOVES |
| 16 METHOD CL_RSTRAN_TEMPLATE_UR=========CP CL_RSTRAN_TEMPLATE_UR=========CM004 30 |
| CL_RSTRAN_TEMPLATE_UR=>CREATE_TRANSFORMATION |
| 15 METHOD CL_RSTRAN_TEMPLATE_UR=========CP CL_RSTRAN_TEMPLATE_UR=========CM001 52 |
| CL_RSTRAN_TEMPLATE_UR=>CONSTRUCTOR |
| 14 METHOD CL_RSTRAN_TEMPLATE_START======CP CL_RSTRAN_TEMPLATE_START======CM001 152 |
| CL_RSTRAN_TEMPLATE_START=>MIGRATE |
| 13 METHOD CL_RSMIGRATE_X_RULES==========CP CL_RSMIGRATE_X_RULES==========CM001 347 |
| CL_RSMIGRATE_X_RULES=>IF_RSMIGRATE_X~MIGRATE |
| 12 METHOD CL_RSMIGRATE_PR_STATUS========CP CL_RSMIGRATE_PR_STATUS========CM00G 39 |
| CL_RSMIGRATE_PR_STATUS=>SCOPE_EXECUTE |
| 11 METHOD CL_RSMIGRATE_PR_STATUS========CP CL_RSMIGRATE_PR_STATUS========CM004 125 |
| CL_RSMIGRATE_PR_STATUS=>MIGRATION_EXECUTE |
| 10 FUNCTION SAPLRSMIGRATE_EXECUTION LRSMIGRATE_EXECUTIONU02 45 |
| RSMIGRATE_EXECUTE |
| 9 FORM SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDF01 954 |
| PROJECT_EXECUTE |
| 8 FORM SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDF01 190 |
| USER_COMMAND_0100 |
| 7 MODULE (PAI) SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDI01 9 |
| USER_COMMAND_0100 |
| 6 FUNCTION SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDU04 121 |
| RSMIGRATE_FRONTEND_COLLECTION |
| 5 FORM SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDF01 1530 |
| PROJECT_MAINTAIN |
| 4 FORM SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDF01 1120 |
| USER_COMMAND_0050 |
| 3 MODULE (PAI) SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDI01 72 |
| USER_COMMAND_0050 |
| 2 FUNCTION SAPLRSMIGRATE_FRONTEND LRSMIGRATE_FRONTENDU02 29 |
| RSMIGRATE_FRONTEND_PROJECT |
| 1 EVENT RSMIGRATE RSMIGRATE 7 |
| START-OF-SELECTION |
----------------------------------------------------------------------------------------------------

Thanks In Advance,

Ubaid.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 05, 2017 at 10:09 AM

    Hi - since the program is a "Z" it is a custom program that one of your internal ABAP developers created; please ask them to review the short dump using ST22

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Tammy,

      Thanks for reply, program is not "Z". Migration project name is ZMigration. I am trying to migrate 3.x dataflow to 7.x for that I am using t.code RSMIGRATE there it will ask us to create migration project, that project name I have given ZMIGRATION. Program name in the dump is showing as "CL_RSTRAN_TRFN_VERS" and module name as CREATE_RECORDDTP_RULE.

      Please advice,

      Regards,

      Ubaid.

  • Sep 05, 2017 at 11:47 AM

    Hi - there are 39 SAP Notes on this program https://launchpad.support.sap.com/#/solutions/notesv2/?q=RSMIGRATE - I recommend reviewing and see if you need to apply a SAP Note to fix the problem

    Add comment
    10|10000 characters needed characters exceeded