Hi All,
I got SAP 500 internal server error given below while loggin into system after executing tcode crm_ui.
ERROR: Field symbol has not yet been assigned. (termination: RABAX_STATE)
following is the dump in ST22:
Category ABAP Programming Error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP Program CL_BSP_RUNTIME================CP
Application Component BC-BSP
Short text
Field symbol has not yet been assigned.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_BSP_RUNTIME================CP" had to
terminated because it has
come across a statement that unfortunately cannot be executed.
Information on where terminated
Termination occurred in the ABAP program "CL_BSP_RUNTIME========
in "IF_BSP_RUNTIME~GET_TOKEN".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 27
of the (Include) program "CL_BSP_RUNTIME================CM01X".
Source Code Extract (Source code has changed)
Line SourceCde
1 method IF_BSP_RUNTIME~GET_TOKEN.
2
3 * clear token.
4 *
5 * if me->sec_token is initial.
6 * set_token( ).
7 * endif.
8 *
9 * c_request->get_cookie( exporting name = 'sap_sec_token'
10 * importing value = token ).
11 DATA: l_error_text TYPE string, "#EC NEEDED
12 l_message TYPE string, "#EC NEEDED
13 l_subrc TYPE string. "#EC NEEDED
14
15 FIELD-SYMBOLS: <text_variable> TYPE string. "#EC NEEDED
16
17
18 server->get_xsrf_token( IMPORTING token = token
19 EXCEPTIONS internal_error = 1
20 called_by_public_service = 2 ).
21 * IF sy-subrc <> 0.
22 * l_error_text = 'Two GET_XSRF_TOKEN calls led to different values
23 * MESSAGE e000(sr) WITH l_error_text.
24 * ENDIF.
25
26 IF sy-subrc <> 0.
>>>>> MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
28 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
29 INTO <text_variable>. "#EC NOTEXT
30 IF <text_variable> IS INITIAL.
31 l_subrc = sy-subrc.
32 CONCATENATE 'Class CL_BSP_RUNTIME Method GET_TOKEN SY-SUBRC = ' l
33 INTO <text_variable> .
34 ENDIF.
35 * ... "passing the error message to the upper / UI layer
36
37 ELSE.
38 me->sec_token = token.
ENDIF.
endmethod.
Please help me.
Thanks,
Pavan