Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in Background Job:CALL_FUNCTION_CONFLICT_TYPE

Former Member
0 Likes
549

Hi

We ran one job some 2 or 3 times on the same day but it is getting cancelled now due dump error ABAP/4 processor: CALL_FUNCTION_CONFLICT_TYPE. This dump is coming due to parameter type conflict in the function module JOB_CLOSE.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was

not caught in

procedure "SUBMIT_JOB" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

The call to the function module "JOB_CLOSE" is incorrect:

The function module interface allows you to specify only

fields of a particular type under "TARGETSERVER".

The field "MYNAME" specified here is a different

field type.

CALL FUNCTION 'JOB_CLOSE'

EXPORTING

jobname = jobname

jobcount = jobcount

  • strtimmed = 'X'.

strtimmed = 'X'

  • TARGETSYSTEM = SY-HOST.

  • targetsystem = sy-host

targetserver = myname

EXCEPTIONS "QIZK001068

cant_start_immediate = 1 "QIZK001068

invalid_startdate = 2 "QIZK001068

jobname_missing = 3 "QIZK001068

job_close_failed = 4 "QIZK001068

job_nosteps = 5 "QIZK001068

job_notex = 6 "QIZK001068

lock_failed = 7 "QIZK001068

OTHERS = 8.

DATA myname LIKE msxxlist-name.

Structure MSXXLIST Active

NAME MSNAME2 CHAR 40 0 Application Server Name

Function module JOB_CLOSE Active

TARGETSERVER LIKE BTCTGTSRVR-SRVNSPACE

Structure BTCTGTSRVR Active

SRVNAME BTCSRVNAME CHAR 20 0 Server name

My question is why is this dump coming now after running the same job again, as earlier it got run successfully. Also, do i need to fix this this.

Edited by: deepti Gandham on May 18, 2010 2:54 PM

1 REPLY 1
Read only

Former Member
0 Likes
406

Hi Deepti,

Check the data types of the parameters TARGETSERVER & MYNAME. They might be different, and hence the error.

Some one might have changed the types recently. Hence there was no error previously. The error might have come after the change.

kindly correct the data types so that they match. Or else the error would continue to occur.

Thanks,

James