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 | 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 {cx_root} = await import("./cx_root.clas.mjs"); // cl_salv_layout.clas.abap class cl_salv_layout { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CL_SALV_LAYOUT'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {"RESTRICT_NONE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"SET_KEY": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "SET_SAVE_RESTRICTION": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "SET_DEFAULT": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "HAS_DEFAULT": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "SET_INITIAL_LAYOUT": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character();}, "is_optional": " "}}}, "GET_DEFAULT_LAYOUT": {"visibility": "U", "parameters": {"SDF": {"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 = { "set_key": this.set_key.bind(this), "set_save_restriction": this.set_save_restriction.bind(this), "set_default": this.set_default.bind(this), "has_default": this.has_default.bind(this), "set_initial_layout": this.set_initial_layout.bind(this), "get_default_layout": this.get_default_layout.bind(this), }; this.restrict_none = cl_salv_layout.restrict_none; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async get_default_layout() { let sdf = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); return sdf; } async set_key(INPUT) { let value = INPUT?.value; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); } async set_initial_layout(INPUT) { let value = INPUT?.value; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); } async set_save_restriction(INPUT) { let value = INPUT?.value || new abap.types.Character(4); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); } async set_default(INPUT) { let value = INPUT?.value; if (value?.getQualifiedName === undefined || value.getQualifiedName() !== "ABAP_BOOL") { value = undefined; } if (value === undefined) { value = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.value); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); } async has_default() { let value = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(13, 'not supported'))); return value; } } abap.Classes['CL_SALV_LAYOUT'] = cl_salv_layout; cl_salv_layout.restrict_none = new abap.types.Integer({qualifiedName: "I"}); cl_salv_layout.restrict_none.set(3); export {cl_salv_layout}; |