cancel
Showing results for 
Search instead for 
Did you mean: 

CATW in ERP2005

bjorn-henrik_zink
Active Participant
0 Kudos

Hi,

how do I get service CATW to work on a ERP2005 system. I have read notes 709038 and 870126, a long with blog https://weblogs.sdn.sap.com/pub/wlg/2204. [original link is broken] [original link is broken] [original link is broken] [original link is broken] Here is what I have done so far:

1) se80, published the complete CATW service

2) Activated CATW in SICF

Here is the error message that I get:

3a) GUI Link set to NO:

The following error text was processed in the system XYZ : Communication failure

The error occurred on the application server XXX and in the work process 0 .

The termination type was: IMC_CANCEL_TX

The ABAP call stack was:

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS===============CP

Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

3b) GUI Link set to YES:

The following error text was processed in the system XYZ : Template interpretation failed. Template does not exist.

The error occurred on the application server XXX and in the work process 6 .

The termination type was: RABAX_STATE

The ABAP call stack was:

SYSTEM-EXIT of program SAPLSMTR_NAVIGATION

Thanks.

/Elvez

Accepted Solutions (1)

Accepted Solutions (1)

bjorn-henrik_zink
Active Participant
0 Kudos

Hi again,

it seems that some incorrect parameter had made its way into the GUI configuration. With the following parameters everything went fine:

FRAMESET_OFF 0

~GENERATEDYNPRO 0

~LANGUAGE

~LOGIN

~PASSWORD

~POPUPS 1

~STYLE DHTML

~TIMEOUT 5

~TRANSACTION CATW

~THEME 99

/Elvez

athavanraja
Active Contributor
0 Kudos

Glad to know that and thanks for updating.

Raja

Answers (2)

Answers (2)

bjorn-henrik_zink
Active Participant
0 Kudos

The problem is not solved yet.

athavanraja
Active Contributor
0 Kudos

set GUI link to yes and then click settings and add parameter ~GENERATEDYNPRO = 1

now test the application.

Regards

Raja

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Raja,

when looking at the internet service via se80, I see that ~GENERATEDYNPRO is set to 1. Should I also set the ~GENERATEDYNPRO in SICF?

Thanks.

/Elvez

athavanraja
Active Contributor
0 Kudos

yes you need to set that up in SICF as well for your service

Regards

Raja

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Raja,

I am one step further, but now is get the following error:

The following error text was processed in the system XYZ The error occurred on the application server XXX

and in the work process 0 .

The termination type was: ABORT_MESSAGE_STATE

The ABAP call stack was:

SYSTEM-EXIT of program SAPLSMTR_NAVIGATION

Anything you can help me with?

/Elvez

athavanraja
Active Contributor
0 Kudos

the coding in your ABAP program is triggering ABORT message, thats why in the first place you got template interpretation failure as there was no template available to handle the abort message screen, setting ~generatedynpro to 1, handled it by automatically generating templates for the abort message.

now you have to check your program on what condition, it is generating the ABORT message,.

set up a http break point in IF_HTTP_EXTENSION~HANDLE_REQUEST method of class CL_HTTP_EXT_ITS, follow thru the debugger to find out where this error is getting triggered.

Regards

Raja

bjorn-henrik_zink
Active Participant
0 Kudos

Hi,

Thanks Raja for your excellent help.

I solved the problem by publishing the Internet Service <b>IAC</b> in <b>se80</b>. Somehow I had missed that in the documentation ... but I still can't find it in the documentation ... do you know where to find it?

/Elvez

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Raja,

it just occured to me that when I run CATW, I see the transaction and not the HTML template. I guess that is because of the ~generatedynpro = 1 parameter. When I set ~generatedynpro = 0, then I get the <b>Template interpretation failed.</b>. How can I solve that?

Thanks.

/Elvez