SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

ISU_DET_DEVICE_FROM_INST error

Former Member
0 Kudos

I implemented ISU_DET_DEVICE_FROM_INST in the program to read all of the meters that are linked to the BP. The customer accounts coordinator wants to have the report to read all of the meters readings from the BP and from the old meters that have been changed out.

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 "GRID_DISPLAY" "(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 "ISU_DET_DEVICE_FROM_INST" is incorrect:

    The function module interface allows you to specify only

    fields of a particular type under "X_KEYDATE".

    The field "'01/01/1900'" specified here is a different

    field type

I used this in the program and after this it's been giving me errors. Thanks.

DATA: xy_lt_ger TYPE isu07_twd_gertab_t.

CALL FUNCTION 'ISU_DET_DEVICE_FROM_INST'

EXPORTING

x_anlage       = eastl-anlage

x_keydate      = '01/01/1900'

X_ONLY_KEYDATE = 'X'

CHANGING

xy_t_ger       = xy_lt_ger

EXCEPTIONS

not_found      = 1

internal_error = 2

system_error   = 3

OTHERS         = 4.

1 ACCEPTED SOLUTION

daniel_mccollum
Active Contributor
0 Kudos

Your x_keydate is the wrong format. I also suggest you refer this type of question in a general abap forum since its not really a utilities question, its a how do I abap question.

View solution in original post

2 REPLIES 2

daniel_mccollum
Active Contributor
0 Kudos

Your x_keydate is the wrong format. I also suggest you refer this type of question in a general abap forum since its not really a utilities question, its a how do I abap question.

0 Kudos

Agreed - this discussion and ones like it do not belong in the utilities space. I am locking this one.