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 | 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_service.clas.abap
class cl_salv_layout_service {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_SALV_LAYOUT_SERVICE';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"F4_LAYOUTS": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Structure({
"report": new abap.types.Character(40, {}),
"handle": new abap.types.Character(4, {}),
"logical_group": new abap.types.Character(4, {}),
"layout": new abap.types.Character(12, {}),
"text": new abap.types.String({qualifiedName: "STRING"}),
"user_specific": new abap.types.Character(1, {}),
"default": new abap.types.Character(1, {}),
"filter": new abap.types.Character(1, {}),
"subtotal": new abap.types.Character(1, {}),
"sum": new abap.types.Character(1, {})}, "SALV_S_LAYOUT_INFO", "SALV_S_LAYOUT_INFO", {}, {});}, "is_optional": " ", "parm_kind": "R", "type_name": "StructureType"}, "S_KEY": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "LAYOUT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "RESTRICT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
"GET_LAYOUTS": {"visibility": "U", "parameters": {"T_LAYOUT": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
"report": new abap.types.Character(40, {}),
"handle": new abap.types.Character(4, {}),
"logical_group": new abap.types.Character(4, {}),
"layout": new abap.types.Character(12, {}),
"text": new abap.types.String({qualifiedName: "STRING"}),
"user_specific": new abap.types.Character(1, {}),
"default": new abap.types.Character(1, {}),
"filter": new abap.types.Character(1, {}),
"subtotal": new abap.types.Character(1, {}),
"sum": new abap.types.Character(1, {})}, "SALV_S_LAYOUT_INFO", "SALV_S_LAYOUT_INFO", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "SALV_T_LAYOUT_INFO");}, "is_optional": " ", "parm_kind": "R", "type_name": "TableType"}, "S_KEY": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}}};
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 get_layouts(INPUT) {
return cl_salv_layout_service.get_layouts(INPUT);
}
static async get_layouts(INPUT) {
let t_layout = abap.types.TableFactory.construct(new abap.types.Structure({
"report": new abap.types.Character(40, {}),
"handle": new abap.types.Character(4, {}),
"logical_group": new abap.types.Character(4, {}),
"layout": new abap.types.Character(12, {}),
"text": new abap.types.String({qualifiedName: "STRING"}),
"user_specific": new abap.types.Character(1, {}),
"default": new abap.types.Character(1, {}),
"filter": new abap.types.Character(1, {}),
"subtotal": new abap.types.Character(1, {}),
"sum": new abap.types.Character(1, {})}, "SALV_S_LAYOUT_INFO", "SALV_S_LAYOUT_INFO", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "SALV_T_LAYOUT_INFO");
let s_key = INPUT?.s_key;
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.IntegerFactory.get(2)));
return t_layout;
}
async f4_layouts(INPUT) {
return cl_salv_layout_service.f4_layouts(INPUT);
}
static async f4_layouts(INPUT) {
let value = new abap.types.Structure({
"report": new abap.types.Character(40, {}),
"handle": new abap.types.Character(4, {}),
"logical_group": new abap.types.Character(4, {}),
"layout": new abap.types.Character(12, {}),
"text": new abap.types.String({qualifiedName: "STRING"}),
"user_specific": new abap.types.Character(1, {}),
"default": new abap.types.Character(1, {}),
"filter": new abap.types.Character(1, {}),
"subtotal": new abap.types.Character(1, {}),
"sum": new abap.types.Character(1, {})}, "SALV_S_LAYOUT_INFO", "SALV_S_LAYOUT_INFO", {}, {});
let s_key = INPUT?.s_key;
let layout = INPUT?.layout || new abap.types.Character(4);
let restrict = INPUT?.restrict || new abap.types.Character(4);
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.IntegerFactory.get(2)));
return value;
}
}
abap.Classes['CL_SALV_LAYOUT_SERVICE'] = cl_salv_layout_service;
export {cl_salv_layout_service}; |