RFC error message “The current application triggered a termination with a short dump”

StackOverflow https://stackoverflow.com/questions/13157964

  •  23-07-2021
  •  | 
  •  

Question

SAP is backend and .Net is frontend of my application. I am getting an exception that says "the current application triggered a termination with a short dump" while executing a RFC call. I used SAP.Net connector for building dll's.

GetConnection objCon = new GetConnection();
Utilities objUtil = new Utilities();
ZZZZ_Z.ZZZZ_Z_MOVEMENT objSave = new ZZZZ_Z.ZZZZ_Z__MOVEMENT();
ZZZZ_Z.ZST_MESSAGETable objMessageTable = new ZZZZ_Z.ZST_MESSAGETable();
ZZZZ_Z.ZST_MESSAGE1Table objMsgTableNew = new ZZZZ_Z.ZST_MESSAGE1Table();
objSave.Connection = objCon.setConnection();
objSave.ZZZZ__Movement(ID,names, out EX_FLAG, out RETMSG, ref objMessageTable, ref objMsgTableNew);
DataTable MESSAGE_TABLE = new DataTable();
MESSAGE_TABLE = objMsgTableNew.ToADODataTable();
objSave.Connection.Close();
return objMessageTable.ToADODataTable();

What is the cause of this error message and how can I find out more about the problem?

Was it helpful?

Solution

This is a very generic error message that only says "Something went wrong, but I can't tell you what, at least not through the current communication channel. However, I left a short dump to examine." To do so, use transaction ST22 in the backend system. This can be anything - a temporary issue, a programming error, data inconsistencies, you name it - anything that caused the program to bail out completely.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top