Skip to Content
0
Former Member
Sep 20, 2011 at 07:57 AM

Background Job cancelled - Throwing short dump - System Cancelled Error

1522 Views

Hi Experts,

I am getting short dump after the completion of scheduled job. I have gone through the job log, have got below details

in ST22 transaction. Could you please suggest me if you come across the same issue.

Short text

The program "SAPLSENT" was terminated manually.

What happened?

The current program "SAPLSENT" has been terminated by another

-

What can you do?

This is no program error. Therefore, no counter measures are

necessary.

No error that requires action

Error analysis

The current program has been terminated from another mode, e.g

Transaction SM50.

How to correct the error

No error elimination is necessary.

Source Code Extract

Information on where terminated

Termination occurred in the ABAP program "SAPLSENT" - in "ENQUE_SLEEP".

The main program was "ZZUT_BATCHJOB_MONITOR ".

In the source code you have the termination point in line 42

of the (Include) program "LSENTU11".

The program "SAPLSENT" was started as a background job.

Job Name....... "_MULTIJOB_MONITOR"

Job Initiator.. "BATCHUSER"

Job Number..... 19005300

*****************************************************

CALL 'C_ENQUEUE' ID 'ENQKEY' FIELD ENQKEY

ID 'ENQKVB' FIELD ENQKVB

ID 'OPCODE' FIELD '8'.

IF SY-SUBRC <> 0.

RAISE SYSTEM_FAILURE.

ENDIF.

*****************************************************

  • Sperre setzen und blockieren

*****************************************************

GRANULE = SPACE.

GRANULE-GNAME = 'SLEEP'.

GRANULE-GMODE = 'X'.

GRANULE-GARG = ENQKEY.

GRANULE-GARG+35 = ENQKVB.

CALL 'C_ENQUEUE' ID 'OPCODE' FIELD '1'

ID 'USTP' FIELD '1'

ID 'ENQOBJ' FIELD 'SLEEP'

ID '01' FIELD GRANULE.

IF SY-SUBRC <> 0.

RAISE SYSTEM_FAILURE.

ENDIF.

DO SECONDS TIMES.

CALL 'C_ENQUEUE' ID 'OPCODE' FIELD '1'

ID 'DELAY_ON_REJECT' FIELD '1'

ID 'USTP' FIELD '1'

ID 'ENQOBJ' FIELD 'SLEEP'

ID '01' FIELD GRANULE.

ENDDO.

Thanks

Ramesh Manoharan