Skip to Content
0
Former Member
Jun 18, 2010 at 02:32 AM

SAP GUI 問題

201 Views

Dear All,

在SAP GUI 運行出現錯誤:

Runtime Errors RAISE_EXCEPTION

Date and Time 2010-06-18 10:12:50

Short text

Exception condition "SYSTEM_FAILURE" raised.

發生了什麼?

The current ABAP/4 program encountered an unexpected

situation.

錯誤分析

A RAISE statement in the program "SAPLOLEA" raised the exception

condition "SYSTEM_FAILURE".

Since the exception was not intercepted by a superior

program, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

-

Trigger Location of Runtime Error:

Program Name SAPLOLEA

Include LOLEAU10

Row 352

Module type (FUNCTION)

Module Name AC_FLUSH_CALL_INTERNAL

原始程式碼摘錄

Line SourceCde

322 * is enable

323 IF SAVE_SUBRC > 1 AND SAVE_SUBRC < 5.

324 IF NOT AC_TRACE_CALLSTACK IS INITIAL.

325 CALL FUNCTION 'AC_WRITE_SNAP'.

326 ENDIF.

327 ENDIF.

328

329 PERFORM RESET_BUFFER.

330

331 Field-Symbols: <H_GUI> TYPE OLE2_OBJECT.

332 DATA global_guid type i.

333 DATA H_GUI TYPE OLE2_OBJECT.

334

335 assign ('CL_GUI_OBJECT=>H_GUI') to <H_GUI>. " Avoid early class load

336 call method ('HELPER')=>('GET_GLOBAL_GUID') importing guid = global_guid.

337

338 if <H_GUI>-handle = -1 and global_guid > 0. " Ignore pure Automation

339 * Error on 1.Queue

340 CREATE OBJECT H_GUI 'SAPGUI.APPLICATION'.

341 call method ('HELPER')=>('SET_H_GUI') exporting handle = H_GUI.

342 endif.

343

344 MESSAGE_NR = SAVE_SUBRC.

345 MESSAGE_TEXT = SAVE_MSGLI.

346

347 * fatale error in RFC queue or XML-Data-Steam

348 IF SAVE_SUBRC = 5 OR SAVE_SUBRC = 6.

349 PERFORM HANDLE_DATA_STREAM_ERROR(SAPFGUICNTL) IF FOUND.

350 ENDIF.

351 if save_subrc = 1.

>>>>> RAISE SYSTEM_FAILURE.

353 endif.

354 EXIT. "===========================================> Exit

355 ENDIF.

356

357 * convert result-handles into objects in table VARS。