11-16-2014 5:43 AM
Hello SAP Gurus,
I am having a problem right now...we are connected to another SAP server, connection is. Testing is done through SM59 and I used RFC_PING also. Both sides can ping servers but function program is not working.
Any ideas what might be causing the problem?
Thank you very much!
11-16-2014 9:41 AM
Hi,
you should also check if there are any shortdumps on the system you called (transaction ST22).
Remote debugging might also help. You can enable remote debugging within the debugger settings on your calling system. Precondition: you need a user and the debugging permissions on the called system.
Cheers,
Martin
11-16-2014 5:45 AM
correction on the sentence...we are connected to another SAP server, connection is ok as per SM59 testing. But function program is not working....
Any ideas what might be causing the problem?
Thank you very much!
11-16-2014 7:18 AM
Hi,
What exactly do you mean by "function program", in what way is it not working..?
cheers
Jānis
11-16-2014 8:56 AM
Hi,
I assume you mean you are calling a 'remote enabled function module'.
Check that it is exists on the remote system and is remote-enabled first!
When you call it, you can trap the error messages this way:
data: lv_msgtxt type BAPI_MSG.
CALL FUNCTION 'ZCA_CREATE_DISPUTE_CASE'
DESTINATION lv_crm_dest
(..)
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE lv_msgtxt
SYSTEM_FAILURE = 2 MESSAGE lv_msgtxt
CREATION_FAILED = 3
SAVE_FAILED = 4
OTHERS = 5
.
cheers
Paul
11-16-2014 9:41 AM
Hi,
you should also check if there are any shortdumps on the system you called (transaction ST22).
Remote debugging might also help. You can enable remote debugging within the debugger settings on your calling system. Precondition: you need a user and the debugging permissions on the called system.
Cheers,
Martin