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 while executing SM58

Former Member
0 Likes
2,935

Hi

I am connecting to an external system through a tRFC connection. My external system is able to listen my port, i am able to connect to their port.

When i execute in SM58, i have job queue. when i execute that manually, i get a error message function module does not exist or exception rasied.

on further debugging, i could see short dump thrown for the function module IDOC_ERROR_WORKFLOW_START_R.

Error says, Unable to reach RFC destination WORKFLOW_LOCAL_XXX.

How to solve this problem?

Require Help on this ASAP.

Regards

Ramya

2 REPLIES 2
Read only

Former Member
0 Likes
1,774

Hi Ramya,

In the SM58 t-code you´have wrongly given the RFC destination.

Goto SM59 and check whether the RFC you have given is existing in that list.

//Kothand

Read only

0 Likes
1,774

Hi

We created a logical connection in SM59 called WORKFLOW_LOCAL_333, when we try to send it, gives status of the iDOC as 03.

Presently the IDOC is sent through the TCP/IP connections,

and on the JAVA side, they would register their program ID to the SAP and start listening to SAP port.

The IDOC is queued in SM58, when executing that manually, it says Targetsystem/Gateway not active.

The JAVA server is able to listen to the ports and call the hooks methods are been accessed. only the list of IDOC is returned as zero.

On further analysis of the RFC trace , there is a abort haapening in AFRC_DEST_SHIP.

How to solve this problem?

Regards

Ramya