cancel
Showing results for 
Search instead for 
Did you mean: 

How to differentiate between standalone and internal ITS in templates?

Former Member
0 Kudos

Hi all,

how can I use the same templates for a standalone and an internal ITS?

I know that I can use the ~icf parameter in this way:

`if (~icf=1)`
   <Code for the integrated ITS>
`else`
   <Code for the standalone ITS>
`end`

But this is only valid as of 6.40.

I tried this on a 6.40 system with an internal ITS and it works.

But on a 4.6C system with an external ITS surprisingly the parameter ~icf is 1 and consequently it runs into the wrong if-case.

I expected that the system doesn't know the ~icf parameter or it runs into the else-case.

??? How can I solve this problem?

Thanks in advance,

Susanne

Accepted Solutions (1)

Accepted Solutions (1)

ChrisSolomon
Active Contributor
0 Kudos

A 4.6c system will not know what that ~ICF parameter is. That parameter was not available then and is only relevant on 6.40+ WAS based versions.

Also your code there actually sets the value of ICF to 1. It should be If <b>(icf==1)</b> much like Java code.

Former Member
0 Kudos

Thank you Christopher. What a stupid mistake. I cut and paste the code example from help.sap.com and didn't check whether it's ok.

Regards, Susanne

Answers (0)