cancel
Showing results for 
Search instead for 
Did you mean: 

SMSY- Runtime Error CALL_FUNCTION_REMOTE_ERROR

Former Member
0 Kudos

Dear Experts,

In Solution Manager while I retrieve my Products system SID - Read System Data Remote function

I am encountering the below dump

Runtime Errors CALL_FUNCTION_REMOTE_ERROR

Information on where terminated

Termination occurred in the ABAP program "CL_DIAGLS_EVENT_HANDLER=======CP" -

in "NOTIFY_JAVA".

The main program was "SAPLSMSY_MAIN ".

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

of the (Include) program "CL_DIAGLS_EVENT_HANDLER=======CM009".

User and Transaction

Client.............. 777

User................ "BASIS"

Language key........ "E"

Transaction......... "SMSY "

Transactions ID..... "BA3384E0C7F3F17DB854002655548B98"

Program............. "CL_DIAGLS_EVENT_HANDLER=======CP"

Screen.............. "SAPLSMSY_MAIN 0001"

Screen line......... 18

Source Code

" Create Log

LR_LOGGER = CL_DIAGLS_LOG=>CREATE_LOG(

IM_CALLER_STR = 'CL_DIAGLS_EVENT_HANDLER'

IM_EXTERNAL_ID = LV_NOTIF_DESCR

IM_SUB_OBJECT = CL_DIAGLS_LOG=>CO_NOTIF_SUB_OBJECT ).

" Log

CONCATENATE 'Java Notification received: ''' IM_LANDSCAPE_CLASS_NAME ''', id ''' "#EC NOT

IM_LANDSCAPE_ID ''', action ''' IM_EVENT_ACTION '''.'

INTO LV_MESSAGE.

LR_LOGGER->ADD_LOG_INFO(

IM_MESSAGE = LV_MESSAGE ).

" Notify Java -


LR_LOGGER->ADD_LOG_START_DURATION(

IM_MESSAGE = 'Starting notifying Java Listeners...' ). "#EC NOTEXT

" Check the RFC Dest

CALL FUNCTION 'RFC_PING' DESTINATION 'WEBADMIN'

EXCEPTIONS

COMMUNICATION_FAILURE = 1

SYSTEM_FAILURE = 2.

IF SY-SUBRC = 0. "Connection is ok...

LR_LOGGER->ADD_LOG_INFO(

IM_MESSAGE = 'Found WEBADMIN destination.' ). "#EC NOTEXT

" Call Java

LV_EVENT_ACTION =

CL_DIAGLS_EVENT_ACTION_TYPE=>CO_DELETED->GET_ACTION_TYPE( ).

CALL FUNCTION 'FM_DIAGLS_NOTIFY_JAVA'

DESTINATION 'WEBADMIN'

EXPORTING

IM_BASE_LANDSCAPE_ID = LV_LANDSCAPE_ID

IM_BASE_LANDSCAPE_CLASS = IM_LANDSCAPE_CLASS_NAME

IM_ACTION = LV_EVENT_ACTION

IMPORTING

EXP_RC = LV_RETURN_CODE

EXP_RC_MSG = LV_RC_MESSAGE.

IF LV_RETURN_CODE = 0.

LR_LOGGER->ADD_LOG_INFO(

IM_MESSAGE = 'Java listener called successfully.' ). "#EC NOTEXT

ELSE.

" Log

CONCATENATE 'Java listeners called with errors.: error code ''' LV_RETURN_CODE ''',

LV_RC_MESSAGE '''.' INTO LV_MESSAGE.

LR_LOGGER->ADD_LOG_ERROR( LV_MESSAGE ).

ENDIF.

ELSE.

LR_LOGGER->ADD_LOG_ERROR(

Kindly help us.

BR,

Jai

Accepted Solutions (0)

Answers (1)

Answers (1)

mateus_pedroso
Employee
Employee
0 Kudos

The Function Module 'FM_DIAGLS_NOTIFY_JAVA' is called to notify the Java stack of Solution Manager.

What version of the LMService on the Java stack do you have? You should install the latest patch level for your SP level

Just to remember SOLMANDIAG = LMSERVICE

Please check these SAP Notes and make sure that the Solution Manager fulfills the requisites.

1148028 - Setup SLD in the scope of Solution Manager 7.0

1274287 - End-to-End Diagnostics SP18(EHP1)-SP19

Another possible cause of the problem can be that the connection of destination WEBADMIN is not working fine. Please make a connection test in the SM59 and check if there is any issue with it.

TomCenens
Active Contributor
0 Kudos

Hello Jai

Abit off topic as it doesn't concern the actual problem you are having but fetching the system data for SMSY is best done through SLD fetch (LANDSCAPE_FETCH job).

We have all of our system data in the Solution Manager SLD for example. From there we fetch the data to fill in SMSY for the managed SAP systems we have. In my opinion this provides to best quality of data and makes it easier to maintain and keep the data up to date.

You can set the fetch method through transaction SMSY_SETUP by choosing SLD instead of TMS and you can set more options through Goto --> Expert Settings in transaction SMSY_SETUP.

Executing in SMSY_SETUP launches the job LANDSCAPE_FETCH which will then fetch the SAP system data from the SLD. We also run the job periodically to keep the SAP systems up to date.

Kind regards

Tom