Get row and column index from event id in WebUI

Problem: you want to get row/column index from event id.

Solution: you can of course do it manually, by writing a code which will parsing the event’s id.

However, there is also a better way. Simply use class CL_THTMLB_UTIL and its static method GET_EVENT_INFO.

DATA:
  lv_row TYPE sytabix,
  lv_column TYPE string.
 
  cl_thtmlb_util=>get_event_info(
    EXPORTING iv_event = htmlb_event_ex
    IMPORTING 
      ev_index = lv_row
      ev_column = lv_column
  ).
DATA:
  lv_row TYPE sytabix,
  lv_column TYPE string.

  cl_thtmlb_util=>get_event_info(
    EXPORTING iv_event = htmlb_event_ex
    IMPORTING 
      ev_index = lv_row
      ev_column = lv_column
  ).

Komentowanie jest zakończone.