cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor position in IC Web Client

0 Kudos

Hi, How is it possible to place the cursor into a dedicated field (e.g. zip code), when moving to a Account Identification? Can the cursor postion be influenced, either by configuration or development? Currently the cursor places itself in the first field available of the component view. The customer works with CRM 2007. thanks, Johanna

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193352
Active Contributor
0 Kudos

Hello Johanna,

You need to redefine the GET_P method of the particular attribute where you want to set the focus and write the following sample code:


  CASE iv_property .
    WHEN if_bsp_wd_model_setter_getter=>fp_focus.
      rv_value = 'X'.
    WHEN OTHERS.
  ENDCASE.

Thanks

Vishal

0 Kudos

Hi Vishal,

that's great help! I'll have the developer write the code and get back to you!

thanks, Johanna

former_member193352
Active Contributor
0 Kudos

Dear Johanna,

Request you to assign respective points in case the answer was helpful to you.

Thanks

Vishal

0 Kudos

Hello Vishal,

Unfortunately, iv_property is not defined in CRM2007.

Thanks anyways,

Regards, Johanna

daniel_felsmann
Participant
0 Kudos

Hi everbody,

I have the same problem, but I'm not satisfied to the solution above.

I search for a solution for this scenario.

The account identification is the start page of our solution, then the client jump to the creation page of an incident. In here the cursor position should be automatically onto the description field.

With the proposed solution: everytime if I press "enter" the cursor position is on the specific field, but it should just once - at the beginning of the creation, and not if a existing incident is finally elected to edit mode.

Thanks

Daniel