Skip to Content
avatar image
Former Member

JCo Server - JCoServerFunctionHandler - handleRequest - endless call and TID

Hi All,

I have implemented JCo Server at Java, according to sample codes (StepByStepServer).

Created a function inside repository of the JCo Server.

JCo Server is starting normally.

And I can catch requests inside following function handler.

Question 1) Is it normal that handleRequest method in StfcConnectionHandler (implementation of JCoServerFunctionHandler) is called continuously like inside an infinite loop?

Question 2) Inside handleRequest TID of request ( serverCtx.getTID() ) is always Null.

Is TID sent from SAP side?

public class StfcConnectionHandler implements JCoServerFunctionHandler {


public void handleRequest(JCoServerContext serverCtx, JCoFunction function) throws AbapException
        …// Endless call to this method

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers