cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error after upgrade CRM

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

Hello Reza

I don't see anywhere in the CRM update guide about the activation of CL_THTMLB_UTIL.

Is this part of any bug fix that you are implementing using Tx SNOTE ?

If yes could you supply the SAP note please ?

Regards

RB

Former Member
0 Kudos

Hello Reagan,

The CL_THTMLB_UTIL. is a SAP object that We have problem  with, We get this problem  after upgrade, vi find out what was the problem an SAP developer they will help os with that.

Thanks Again for help and reply

Reza

Answers (0)