Skip to Content
0
Former Member
Jun 08, 2014 at 11:52 AM

Syntax error after upgrade CRM

39 Views

Hello all,


Anyone know what is the problem with METHOD GET_ICON_URL.

After upgrade CRM system to EHP3 I tried to active the object :CL_THTMLB_UTIL.

But got Syntax error: "Formal parameter "IR_REQUEST" does not exist", but parameter "IR_REQUEST" does exist"


Syntax error on:

Class CL_THTMLB_UTIL,Method GET_ICON_URL 21 @0A\QError@
Formal parameter "IR_REQUEST" does not exist. exist.

METHOD GET_ICON_URL.

CONSTANTS LC_HTTP_PREFIX TYPE STRING VALUE 'http'.

DATA: LV_URL TYPE STRING,
LV_SKIN_KEY TYPE STRING,
LV_SKIN TYPE STRING,
LV_URL_PREFIX TYPE STRING,
LV_NO_SAP TYPE FLAG,
LT_PATH_COMPONENTS TYPE STRINGTAB,
LV_NUM_PATH_COMPONENTS TYPE I,
LV_ICON_NAME TYPE STRING.

FIELD-SYMBOLS: <LS_SKIN_INFO> TYPE CRMC_THTMLB_SKIN,
<LV_LAST_PATH_COMPONENT> TYPE STRING.

LV_SKIN = IV_SKIN.

IF LV_SKIN IS INITIAL.
* -> get current skin
LV_SKIN = GET_CURRENT_SKIN( IR_REQUEST = IR_REQUEST ).
IF LV_SKIN IS INITIAL.
LV_SKIN = 'default'. "#EC NOTEXT
ENDIF.
ENDIF.

Thanks for any help

Reza