‎2010 Dec 21 8:17 AM
Hi,
I am getting a short dump below provided is the source code extract , any one knows the cause of this error .
<offer removed by moderator>
Source Code Extract
________________
Line SourceCde
1 METHOD if_swf_run_wim_utl_internal~get_system_user .
2 DATA: l_excp TYPE REF TO cx_swf_run_wim.
3
4 TRY.
5 IF me->m_int_state-system_user IS INITIAL.
6 me->m_int_state-system_user = cl_swf_run_workflow_properties=>get_rfc_destination_us
7 ENDIF.
8 re_user = me->m_int_state-system_user.
9 CATCH cx_swf_run_wim INTO l_excp.
>>>>> MESSAGE ID l_excp->t100_msg-msgid
11 TYPE 'X'
12 NUMBER l_excp->t100_msg-msgno
13 WITH l_excp->t100_msg-msgv1 l_excp->t100_msg-msgv2
14 l_excp->t100_msg-msgv3 l_excp->t100_msg-msgv4.
15 ENDTRY.
16
17 ENDMETHOD. "
Edited by: Thomas Zloch on Dec 21, 2010 9:26 AM
‎2010 Dec 21 8:19 AM
Hi,
Here its trying to call a RFC Destination and that getting the error.
The error is getting into the exceptions and that exceptions are captured in the catch statement.
Hope this might help you,
With Regards,
Sumodh.P
‎2010 Dec 21 8:42 PM
Hi prem,
SAP programmer use the message type X frequently to abort the current program because a method or form has been called out of context with fatal wrong data.
In such cases, the code where the message is raised is not the reason for the error.
In debugger you can look at the call hierarchy and find out what's fatally wrong (or missing).
Regards,
Clemens
‎2010 Dec 22 5:28 AM
Look for error in your TRY block while debugging. Something there might be throwing the error which is caught in CATCH statement.