All files / output cl_alv_table_create.clas.mjs

42.85% Statements 15/35
100% Branches 2/2
10% Functions 1/10
42.85% Lines 15/35

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 351x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x                   1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_alv_table_create.clas.abap
class cl_alv_table_create {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_ALV_TABLE_CREATE';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"CREATE_DYNAMIC_TABLE": {"visibility": "U", "parameters": {"I_STYLE_TABLE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"CHAR1","ddicName":"CHAR1","description":"CHAR1"});}, "is_optional": " "}, "IT_FIELDCATALOG": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}, "I_LENGTH_IN_BYTE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "EP_TABLE": {"type": () => {return new abap.types.DataReference(new abap.types.Character(4));}, "is_optional": " "}, "E_STYLE_FNAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async create_dynamic_table(INPUT) {
    return cl_alv_table_create.create_dynamic_table(INPUT);
  }
  static async create_dynamic_table(INPUT) {
    let i_style_table = new abap.types.Character(1, {"qualifiedName":"CHAR1","ddicName":"CHAR1","description":"CHAR1"});
    if (INPUT && INPUT.i_style_table) {i_style_table.set(INPUT.i_style_table);}
    let it_fieldcatalog = INPUT?.it_fieldcatalog;
    let i_length_in_byte = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.i_length_in_byte) {i_length_in_byte.set(INPUT.i_length_in_byte);}
    let ep_table = INPUT?.ep_table || new abap.types.DataReference(new abap.types.Character(4));
    let e_style_fname = INPUT?.e_style_fname || new abap.types.String({qualifiedName: "STRING"});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.IntegerFactory.get(2)));
  }
}
abap.Classes['CL_ALV_TABLE_CREATE'] = cl_alv_table_create;
export {cl_alv_table_create};