Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cl_gui_control} = await import("./cl_gui_control.clas.mjs"); const {cx_root} = await import("./cx_root.clas.mjs"); // cl_gui_alv_grid.clas.abap class cl_gui_alv_grid extends cl_gui_control { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CL_GUI_ALV_GRID'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {"MC_FC_CHECK": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_DETAIL": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_APPEND_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_COPY": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_COPY_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_CUT": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_DELETE_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_INSERT_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_MOVE_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_PASTE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_PASTE_NEW_ROW": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_LOC_UNDO": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_FC_REFRESH": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_STYLE_ENABLED": {"type": () => {return new abap.types.Hex({length: 4});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "MC_EVT_ENTER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"I_PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"});}, "is_optional": " "}, "I_APPL_EVENTS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"CHAR1","ddicName":"CHAR1","description":"CHAR1"});}, "is_optional": " "}}}, "SET_FRONTEND_LAYOUT": {"visibility": "U", "parameters": {"IS_LAYOUT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "SET_TABLE_FOR_FIRST_DISPLAY": {"visibility": "U", "parameters": {"I_BUFFER_ACTIVE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "I_BYPASSING_BUFFER": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "I_CONSISTENCY_CHECK": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "I_STRUCTURE_NAME": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IS_VARIANT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "I_SAVE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "I_DEFAULT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "IS_LAYOUT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IS_PRINT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_SPECIAL_GROUPS": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_TOOLBAR_EXCLUDING": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_HYPERLINK": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_ALV_GRAPHICS": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_EXCEPT_QINFO": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IR_SALV_ADAPTER": {"type": () => {return new abap.types.DataReference(new abap.types.Character(4));}, "is_optional": " "}, "IT_OUTTAB": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Character(4), {"withHeader":false,"keyType":"DEFAULT"});}, "is_optional": " "}, "IT_FIELDCATALOG": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_SORT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_FILTER": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "GET_SELECTED_ROWS": {"visibility": "U", "parameters": {"ET_INDEX_ROWS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "LVC_T_ROW");}, "is_optional": " "}, "ET_ROW_NO": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "LVC_T_ROID");}, "is_optional": " "}}}, "REFRESH_TABLE_DISPLAY": {"visibility": "U", "parameters": {"IS_STABLE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "I_SOFT_REFRESH": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "OFFLINE": {"visibility": "U", "parameters": {"E_OFFLINE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_READY_FOR_INPUT": {"visibility": "U", "parameters": {"I_READY_FOR_INPUT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_SELECTED_ROWS": {"visibility": "U", "parameters": {"IT_INDEX_ROWS": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IT_ROW_NO": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "IS_KEEP_OTHER_SELECTIONS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_TOOLBAR_INTERACTIVE": {"visibility": "U", "parameters": {}}, "SET_GRIDTITLE": {"visibility": "U", "parameters": {"I_GRIDTITLE": {"type": () => {return new abap.types.Character(70, {"qualifiedName":"LVC_TITLE","ddicName":"LVC_TITLE","description":"LVC_TITLE"});}, "is_optional": " "}}}, "CHECK_CHANGED_DATA": {"visibility": "U", "parameters": {"E_VALID": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "C_REFRESH": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "GET_FRONTEND_LAYOUT": {"visibility": "U", "parameters": {"ES_LAYOUT": {"type": () => {return new abap.types.Structure({ "zebra": new abap.types.Character(1, {}), "edit": new abap.types.Character(1, {}), "edit_mode": new abap.types.Character(1, {}), "no_keyfix": new abap.types.Character(1, {}), "frontend": new abap.types.Character(1, {}), "object_key": new abap.types.Character(70, {}), "doc_id": new abap.types.Character(42, {}), "template": new abap.types.Character(255, {}), "language": new abap.types.Character(1, {}), "graphics": new abap.types.Character(32, {}), "smalltitle": new abap.types.Character(1, {}), "no_hgridln": new abap.types.Character(1, {}), "no_vgridln": new abap.types.Character(1, {}), "no_headers": new abap.types.Character(1, {}), "no_merging": new abap.types.Character(1, {}), "cwidth_opt": new abap.types.Character(1, {}), "totals_bef": new abap.types.Character(1, {}), "no_totarr": new abap.types.Character(1, {}), "no_totexp": new abap.types.Character(1, {}), "no_rowmove": new abap.types.Character(1, {}), "no_rowins": new abap.types.Character(1, {}), "no_colexpd": new abap.types.Character(1, {}), "no_f4": new abap.types.Character(1, {}), "countfname": new abap.types.Character(30, {}), "col_opt": new abap.types.Character(1, {}), "val_data": new abap.types.Character(1, {}), "blob_scope": new abap.types.Character(1, {}), "blob_flavour": new abap.types.Character(6, {}), "blob_name": new abap.types.Character(24, {}), "blob_key": new abap.types.Character(10, {}), "blob_type": new abap.types.Character(1, {}), "stylefname": new abap.types.Character(30, {}), "no_rowmark": new abap.types.Character(1, {}), "no_toolbar": new abap.types.Character(1, {}), "grid_title": new abap.types.Character(70, {}), "sel_mode": new abap.types.Character(1, {}), "box_fname": new abap.types.Character(30, {}), "sgl_clk_hd": new abap.types.Character(1, {}), "no_totline": new abap.types.Character(1, {}), "numc_total": new abap.types.Character(1, {}), "no_utsplit": new abap.types.Character(1, {}), "excp_fname": new abap.types.Character(30, {}), "excp_rolln": new abap.types.Character(30, {}), "excp_conds": new abap.types.Character(1, {}), "excp_led": new abap.types.Character(1, {}), "excp_group": new abap.types.Character(1, {}), "detailinit": new abap.types.Character(1, {}), "detailtitl": new abap.types.Character(60, {}), "keyhot": new abap.types.Character(1, {}), "no_author": new abap.types.Character(1, {}), "xifunckey": new abap.types.Character(30, {}), "xidirect": new abap.types.Character(1, {}), "info_fname": new abap.types.Character(30, {}), "ctab_fname": new abap.types.Character(30, {}), "weblook": new abap.types.Character(10, {}), "webstyle": new abap.types.Hex({length: 4}), "webrows": new abap.types.Integer({qualifiedName: "I"}), "webxwidth": new abap.types.Integer({qualifiedName: "I"}), "webxheight": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_LAYO", "LVC_S_LAYO", {}, {});}, "is_optional": " "}}}, "GET_FRONTEND_FIELDCATALOG": {"visibility": "U", "parameters": {"ET_FIELDCATALOG": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "GET_CURRENT_CELL": {"visibility": "U", "parameters": {"ES_ROW_NO": {"type": () => {return new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {});}, "is_optional": " "}, "ES_ROW_ID": {"type": () => {return new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {});}, "is_optional": " "}, "ES_COL_ID": {"type": () => {return new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {});}, "is_optional": " "}}}, "SET_CURRENT_CELL_VIA_ID": {"visibility": "U", "parameters": {"IS_ROW_ID": {"type": () => {return new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {});}, "is_optional": " "}, "IS_COLUMN_ID": {"type": () => {return new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {});}, "is_optional": " "}, "IS_ROW_NO": {"type": () => {return new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {});}, "is_optional": " "}}}, "GET_SCROLL_INFO_VIA_ID": {"visibility": "U", "parameters": {"ES_ROW_NO": {"type": () => {return new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {});}, "is_optional": " "}, "ES_ROW_INFO": {"type": () => {return new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {});}, "is_optional": " "}, "ES_COL_INFO": {"type": () => {return new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {});}, "is_optional": " "}}}, "REGISTER_EDIT_EVENT": {"visibility": "U", "parameters": {"I_EVENT_ID": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "SET_SCROLL_INFO_VIA_ID": {"visibility": "U", "parameters": {"IS_ROW_INFO": {"type": () => {return new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {});}, "is_optional": " "}, "IS_COL_INFO": {"type": () => {return new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {});}, "is_optional": " "}, "IS_ROW_NO": {"type": () => {return new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {});}, "is_optional": " "}}}}; constructor() { const sup = super(); this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "SUPER": sup.FRIENDS_ACCESS_INSTANCE, "set_frontend_layout": this.set_frontend_layout.bind(this), "set_table_for_first_display": this.set_table_for_first_display.bind(this), "get_selected_rows": this.get_selected_rows.bind(this), "refresh_table_display": this.refresh_table_display.bind(this), "set_ready_for_input": this.set_ready_for_input.bind(this), "set_selected_rows": this.set_selected_rows.bind(this), "set_toolbar_interactive": this.set_toolbar_interactive.bind(this), "set_gridtitle": this.set_gridtitle.bind(this), "check_changed_data": this.check_changed_data.bind(this), "get_frontend_layout": this.get_frontend_layout.bind(this), "get_frontend_fieldcatalog": this.get_frontend_fieldcatalog.bind(this), "get_current_cell": this.get_current_cell.bind(this), "set_current_cell_via_id": this.set_current_cell_via_id.bind(this), "get_scroll_info_via_id": this.get_scroll_info_via_id.bind(this), "register_edit_event": this.register_edit_event.bind(this), "set_scroll_info_via_id": this.set_scroll_info_via_id.bind(this), }; this.mc_fc_check = cl_gui_alv_grid.mc_fc_check; this.mc_fc_detail = cl_gui_alv_grid.mc_fc_detail; this.mc_fc_loc_append_row = cl_gui_alv_grid.mc_fc_loc_append_row; this.mc_fc_loc_copy = cl_gui_alv_grid.mc_fc_loc_copy; this.mc_fc_loc_copy_row = cl_gui_alv_grid.mc_fc_loc_copy_row; this.mc_fc_loc_cut = cl_gui_alv_grid.mc_fc_loc_cut; this.mc_fc_loc_delete_row = cl_gui_alv_grid.mc_fc_loc_delete_row; this.mc_fc_loc_insert_row = cl_gui_alv_grid.mc_fc_loc_insert_row; this.mc_fc_loc_move_row = cl_gui_alv_grid.mc_fc_loc_move_row; this.mc_fc_loc_paste = cl_gui_alv_grid.mc_fc_loc_paste; this.mc_fc_loc_paste_new_row = cl_gui_alv_grid.mc_fc_loc_paste_new_row; this.mc_fc_loc_undo = cl_gui_alv_grid.mc_fc_loc_undo; this.mc_fc_refresh = cl_gui_alv_grid.mc_fc_refresh; this.mc_style_enabled = cl_gui_alv_grid.mc_style_enabled; this.mc_evt_enter = cl_gui_alv_grid.mc_evt_enter; this.double_click = {"EVENT_NAME": "DOUBLE_CLICK", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.data_changed = {"EVENT_NAME": "DATA_CHANGED", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.after_user_command = {"EVENT_NAME": "AFTER_USER_COMMAND", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.user_command = {"EVENT_NAME": "USER_COMMAND", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.hotspot_click = {"EVENT_NAME": "HOTSPOT_CLICK", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.toolbar = {"EVENT_NAME": "TOOLBAR", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.data_changed_finished = {"EVENT_NAME": "DATA_CHANGED_FINISHED", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; this.context_menu_request = {"EVENT_NAME": "CONTEXT_MENU_REQUEST", "EVENT_CLASS": "CL_GUI_ALV_GRID"}; } async set_scroll_info_via_id(INPUT) { let is_row_info = new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}); if (INPUT && INPUT.is_row_info) {is_row_info.set(INPUT.is_row_info);} let is_col_info = INPUT?.is_col_info; if (is_col_info?.getQualifiedName === undefined || is_col_info.getQualifiedName() !== "LVC_S_COL") { is_col_info = undefined; } if (is_col_info === undefined) { is_col_info = new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {}).set(INPUT.is_col_info); } let is_row_no = new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}); if (INPUT && INPUT.is_row_no) {is_row_no.set(INPUT.is_row_no);} return; } async register_edit_event(INPUT) { let i_event_id = INPUT?.i_event_id; if (i_event_id?.getQualifiedName === undefined || i_event_id.getQualifiedName() !== "I") { i_event_id = undefined; } if (i_event_id === undefined) { i_event_id = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.i_event_id); } return; } async get_scroll_info_via_id(INPUT) { let es_row_no = INPUT?.es_row_no || new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}); let es_row_info = INPUT?.es_row_info || new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}); let es_col_info = INPUT?.es_col_info || new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {}); return; } async set_current_cell_via_id(INPUT) { let is_row_id = new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}); if (INPUT && INPUT.is_row_id) {is_row_id.set(INPUT.is_row_id);} let is_column_id = new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {}); if (INPUT && INPUT.is_column_id) {is_column_id.set(INPUT.is_column_id);} let is_row_no = new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}); if (INPUT && INPUT.is_row_no) {is_row_no.set(INPUT.is_row_no);} return; } async get_current_cell(INPUT) { let es_row_no = INPUT?.es_row_no || new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}); let es_row_id = INPUT?.es_row_id || new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}); let es_col_id = INPUT?.es_col_id || new abap.types.Structure({ "fieldname": new abap.types.Character(30, {}), "hierlevel": new abap.types.Character(3, {})}, "LVC_S_COL", "LVC_S_COL", {}, {}); return; } async get_frontend_fieldcatalog(INPUT) { let et_fieldcatalog = INPUT?.et_fieldcatalog || new abap.types.Character(4); return; } async get_frontend_layout(INPUT) { let es_layout = INPUT?.es_layout || new abap.types.Structure({ "zebra": new abap.types.Character(1, {}), "edit": new abap.types.Character(1, {}), "edit_mode": new abap.types.Character(1, {}), "no_keyfix": new abap.types.Character(1, {}), "frontend": new abap.types.Character(1, {}), "object_key": new abap.types.Character(70, {}), "doc_id": new abap.types.Character(42, {}), "template": new abap.types.Character(255, {}), "language": new abap.types.Character(1, {}), "graphics": new abap.types.Character(32, {}), "smalltitle": new abap.types.Character(1, {}), "no_hgridln": new abap.types.Character(1, {}), "no_vgridln": new abap.types.Character(1, {}), "no_headers": new abap.types.Character(1, {}), "no_merging": new abap.types.Character(1, {}), "cwidth_opt": new abap.types.Character(1, {}), "totals_bef": new abap.types.Character(1, {}), "no_totarr": new abap.types.Character(1, {}), "no_totexp": new abap.types.Character(1, {}), "no_rowmove": new abap.types.Character(1, {}), "no_rowins": new abap.types.Character(1, {}), "no_colexpd": new abap.types.Character(1, {}), "no_f4": new abap.types.Character(1, {}), "countfname": new abap.types.Character(30, {}), "col_opt": new abap.types.Character(1, {}), "val_data": new abap.types.Character(1, {}), "blob_scope": new abap.types.Character(1, {}), "blob_flavour": new abap.types.Character(6, {}), "blob_name": new abap.types.Character(24, {}), "blob_key": new abap.types.Character(10, {}), "blob_type": new abap.types.Character(1, {}), "stylefname": new abap.types.Character(30, {}), "no_rowmark": new abap.types.Character(1, {}), "no_toolbar": new abap.types.Character(1, {}), "grid_title": new abap.types.Character(70, {}), "sel_mode": new abap.types.Character(1, {}), "box_fname": new abap.types.Character(30, {}), "sgl_clk_hd": new abap.types.Character(1, {}), "no_totline": new abap.types.Character(1, {}), "numc_total": new abap.types.Character(1, {}), "no_utsplit": new abap.types.Character(1, {}), "excp_fname": new abap.types.Character(30, {}), "excp_rolln": new abap.types.Character(30, {}), "excp_conds": new abap.types.Character(1, {}), "excp_led": new abap.types.Character(1, {}), "excp_group": new abap.types.Character(1, {}), "detailinit": new abap.types.Character(1, {}), "detailtitl": new abap.types.Character(60, {}), "keyhot": new abap.types.Character(1, {}), "no_author": new abap.types.Character(1, {}), "xifunckey": new abap.types.Character(30, {}), "xidirect": new abap.types.Character(1, {}), "info_fname": new abap.types.Character(30, {}), "ctab_fname": new abap.types.Character(30, {}), "weblook": new abap.types.Character(10, {}), "webstyle": new abap.types.Hex({length: 4}), "webrows": new abap.types.Integer({qualifiedName: "I"}), "webxwidth": new abap.types.Integer({qualifiedName: "I"}), "webxheight": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_LAYO", "LVC_S_LAYO", {}, {}); return; } async check_changed_data(INPUT) { let e_valid = INPUT?.e_valid || new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); let c_refresh = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.c_refresh) {c_refresh = INPUT.c_refresh;} if (INPUT === undefined || INPUT.c_refresh === undefined) {c_refresh.set(abap.builtin.abap_true);} return; } async set_gridtitle(INPUT) { let i_gridtitle = INPUT?.i_gridtitle; if (i_gridtitle?.getQualifiedName === undefined || i_gridtitle.getQualifiedName() !== "LVC_TITLE") { i_gridtitle = undefined; } if (i_gridtitle === undefined) { i_gridtitle = new abap.types.Character(70, {"qualifiedName":"LVC_TITLE","ddicName":"LVC_TITLE","description":"LVC_TITLE"}).set(INPUT.i_gridtitle); } return; } async constructor_(INPUT) { let i_parent = INPUT?.i_parent; if (i_parent?.getQualifiedName === undefined || i_parent.getQualifiedName() !== "CL_GUI_CONTAINER") { i_parent = undefined; } if (i_parent === undefined) { i_parent = new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"}).set(INPUT.i_parent); } let i_appl_events = new abap.types.Character(1, {"qualifiedName":"CHAR1","ddicName":"CHAR1","description":"CHAR1"}); if (INPUT && INPUT.i_appl_events) {i_appl_events.set(INPUT.i_appl_events);} if (INPUT === undefined || INPUT.i_appl_events === undefined) {i_appl_events = abap.builtin.space;} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return this; } async set_frontend_layout(INPUT) { let is_layout = INPUT?.is_layout; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async set_toolbar_interactive() { abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async set_ready_for_input(INPUT) { let i_ready_for_input = INPUT?.i_ready_for_input; if (i_ready_for_input?.getQualifiedName === undefined || i_ready_for_input.getQualifiedName() !== "I") { i_ready_for_input = undefined; } if (i_ready_for_input === undefined) { i_ready_for_input = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.i_ready_for_input); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async set_selected_rows(INPUT) { let it_index_rows = INPUT?.it_index_rows || new abap.types.Character(4); let it_row_no = INPUT?.it_row_no || new abap.types.Character(4); let is_keep_other_selections = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.is_keep_other_selections) {is_keep_other_selections.set(INPUT.is_keep_other_selections);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async offline() { return cl_gui_alv_grid.offline(); } static async offline() { let e_offline = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return e_offline; } async refresh_table_display(INPUT) { let is_stable = INPUT?.is_stable || new abap.types.Character(4); let i_soft_refresh = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.i_soft_refresh) {i_soft_refresh.set(INPUT.i_soft_refresh);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async set_table_for_first_display(INPUT) { let i_buffer_active = INPUT?.i_buffer_active || new abap.types.Character(4); let i_bypassing_buffer = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.i_bypassing_buffer) {i_bypassing_buffer.set(INPUT.i_bypassing_buffer);} let i_consistency_check = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.i_consistency_check) {i_consistency_check.set(INPUT.i_consistency_check);} let i_structure_name = INPUT?.i_structure_name || new abap.types.Character(4); let is_variant = INPUT?.is_variant || new abap.types.Character(4); let i_save = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.i_save) {i_save.set(INPUT.i_save);} let i_default = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.i_default) {i_default.set(INPUT.i_default);} if (INPUT === undefined || INPUT.i_default === undefined) {i_default = abap.builtin.abap_true;} let is_layout = INPUT?.is_layout || new abap.types.Character(4); let is_print = INPUT?.is_print || new abap.types.Character(4); let it_special_groups = INPUT?.it_special_groups || new abap.types.Character(4); let it_toolbar_excluding = INPUT?.it_toolbar_excluding || new abap.types.Character(4); let it_hyperlink = INPUT?.it_hyperlink || new abap.types.Character(4); let it_alv_graphics = INPUT?.it_alv_graphics || new abap.types.Character(4); let it_except_qinfo = INPUT?.it_except_qinfo || new abap.types.Character(4); let ir_salv_adapter = INPUT?.ir_salv_adapter || new abap.types.DataReference(new abap.types.Character(4)); let it_outtab = abap.types.TableFactory.construct(new abap.types.Character(4), {"withHeader":false,"keyType":"DEFAULT"}); if (INPUT && INPUT.it_outtab) {it_outtab = INPUT.it_outtab;} let it_fieldcatalog = new abap.types.Character(4); if (INPUT && INPUT.it_fieldcatalog) {it_fieldcatalog = INPUT.it_fieldcatalog;} let it_sort = new abap.types.Character(4); if (INPUT && INPUT.it_sort) {it_sort = INPUT.it_sort;} let it_filter = new abap.types.Character(4); if (INPUT && INPUT.it_filter) {it_filter = INPUT.it_filter;} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async get_selected_rows(INPUT) { let et_index_rows = INPUT?.et_index_rows || abap.types.TableFactory.construct(new abap.types.Structure({ "rowtype": new abap.types.Character(23, {}), "index": new abap.types.Numc({length: 10})}, "LVC_S_ROW", "LVC_S_ROW", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "LVC_T_ROW"); let et_row_no = INPUT?.et_row_no || abap.types.TableFactory.construct(new abap.types.Structure({ "row_id": new abap.types.Integer({qualifiedName: "I"}), "sub_row_id": new abap.types.Integer({qualifiedName: "I"})}, "LVC_S_ROID", "LVC_S_ROID", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "LVC_T_ROID"); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } } abap.Classes['CL_GUI_ALV_GRID'] = cl_gui_alv_grid; cl_gui_alv_grid.mc_fc_check = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_check.set('TODO'); cl_gui_alv_grid.mc_fc_detail = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_detail.set('TODO'); cl_gui_alv_grid.mc_fc_loc_append_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_append_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_copy = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_copy.set('TODO'); cl_gui_alv_grid.mc_fc_loc_copy_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_copy_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_cut = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_cut.set('TODO'); cl_gui_alv_grid.mc_fc_loc_delete_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_delete_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_insert_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_insert_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_move_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_move_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_paste = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_paste.set('TODO'); cl_gui_alv_grid.mc_fc_loc_paste_new_row = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_paste_new_row.set('TODO'); cl_gui_alv_grid.mc_fc_loc_undo = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_loc_undo.set('TODO'); cl_gui_alv_grid.mc_fc_refresh = new abap.types.Character(70, {"qualifiedName":"UI_FUNC","ddicName":"UI_FUNC","description":"UI_FUNC"}); cl_gui_alv_grid.mc_fc_refresh.set('TODO'); cl_gui_alv_grid.mc_style_enabled = new abap.types.Hex({length: 4}); cl_gui_alv_grid.mc_style_enabled.set('00000000'); cl_gui_alv_grid.mc_evt_enter = new abap.types.Integer({qualifiedName: "I"}); cl_gui_alv_grid.mc_evt_enter.set(1); export {cl_gui_alv_grid}; |