cancel
Showing results for 
Search instead for 
Did you mean: 

Back ground job got failed

Former Member
0 Kudos

Dear All,

Background job got failed and its shows below log in SM37.

JOBNAME : CONT_CRM_FOP_AUTHORISATION_ERROR

Job logs:

Job started

Step 001 started (program ZCRM_FOP_MAINT_ERROR, variant AUTH_VAR, user ID BACKJOBS)

Internal session terminated with a runtime error (refer to ST22)

Job cancelled

ST22 error log :

Runtime Errors RAISE_EXCEPTION

Date and Time 03.06.2011 20:00:42

Short text

Exception condition "CNTL_ERROR" raised.

What happened?

The current ABAP/4 program encountered an unexpected

situation.

What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the

exception

condition "CNTL_ERROR".

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.

-

Kindly advise ...

Accepted Solutions (1)

Accepted Solutions (1)

former_member182034
Active Contributor
0 Kudos

hi Sathesh,

CNTL_ERROR is occured when a program try to do somthing with a GUI element in background. Since the Gui is not available, the Program raises an exception. If this transaction/screen/program was never intended to be run in background then there may not be any handling for this exception.

sometime this error occur due to SAP GUI , you have to upgrade/reinstall the SAP Gui.

please check following link

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Temp , i will close this thread ...

Former Member
0 Kudos

Hi Satheesh,

I suggest, that your program tries to write its results to a frontend. Since your program runs in background, there will never be a connection to a sapgui. You have to find the location in the program, where it writes its results. You must check for background processing and in that case, redirect your output to spool.

Kind Regards