All files / output zcl_abapgit_fm_ddif_doma_put.clas.mjs

46.53% Statements 47/101
100% Branches 2/2
16.66% Functions 1/6
46.53% Lines 47/101

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 1011x 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 {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_fm_ddif_doma_put.clas.abap
class zcl_abapgit_fm_ddif_doma_put {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_FM_DDIF_DOMA_PUT';
  static IMPLEMENTED_INTERFACES = ["IF_FTD_INVOCATION_ANSWER"];
  static ATTRIBUTES = {"GS_DD01V": {"type": () => {return new abap.types.Structure({
  "domname": new abap.types.Character(30, {}),
  "ddlanguage": new abap.types.Character(1, {}),
  "as4user": new abap.types.Character(12, {}),
  "as4date": new abap.types.Date(),
  "as4time": new abap.types.Time(),
  "ddtext": new abap.types.Character(60, {}),
  "datatype": new abap.types.Character(4, {}),
  "leng": new abap.types.Numc({length: 6}),
  "decimals": new abap.types.Numc({length: 6}),
  "outputlen": new abap.types.Numc({length: 6}),
  "convexit": new abap.types.Character(5, {}),
  "lowercase": new abap.types.Character(1, {}),
  "signflag": new abap.types.Character(1, {}),
  "entitytab": new abap.types.Character(30, {}),
  "appexist": new abap.types.Character(1, {}),
  "authclass": new abap.types.Character(2, {}),
  "masklen": new abap.types.Numc({length: 4}),
  "valexi": new abap.types.Character(1, {})}, "DD01V", "DD01V", {}, {});}, "visibility": "U", "is_constant": " ", "is_class": "X"},
  "GT_DD07V": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "domname": new abap.types.Character(30, {}),
  "valpos": new abap.types.Numc({length: 4}),
  "ddlanguage": new abap.types.Character(1, {}),
  "domvalue_l": new abap.types.Character(10, {}),
  "domvalue_h": new abap.types.Character(10, {}),
  "ddtext": new abap.types.Character(60, {}),
  "domval_ld": new abap.types.Character(10, {}),
  "domval_hd": new abap.types.Character(10, {}),
  "appval": new abap.types.Character(1, {})}, "DD07V", "DD07V", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "DD07V_TAB");}, "visibility": "U", "is_constant": " ", "is_class": "X"}};
  static METHODS = {};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
    this.gs_dd01v = zcl_abapgit_fm_ddif_doma_put.gs_dd01v;
    this.gt_dd07v = zcl_abapgit_fm_ddif_doma_put.gt_dd07v;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async if_ftd_invocation_answer$answer(INPUT) {
    let $arguments = INPUT?.arguments;
    if ($arguments?.getQualifiedName === undefined || $arguments.getQualifiedName() !== "IF_FTD_INPUT_ARGUMENTS") { $arguments = undefined; }
    if ($arguments === undefined) { $arguments = new abap.types.ABAPObject({qualifiedName: "IF_FTD_INPUT_ARGUMENTS", RTTIName: "\\INTERFACE=IF_FTD_INPUT_ARGUMENTS"}).set(INPUT.arguments); }
    let result = new abap.types.ABAPObject({qualifiedName: "IF_FTD_INVOCATION_RESULT", RTTIName: "\\INTERFACE=IF_FTD_INVOCATION_RESULT"});
    if (INPUT && INPUT.result) {result = INPUT.result;}
    let lv_ref = new abap.types.DataReference(new abap.types.Character(4));
    let fs_lv_data_ = new abap.types.FieldSymbol(new abap.types.Character(4));
    lv_ref.set((await $arguments.get().if_ftd_input_arguments$get_importing_parameter({name: abap.CharacterFactory.get(8, 'DD01V_WA')})));
    abap.statements.assign({target: fs_lv_data_, source: lv_ref.dereference()});
    if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
      zcl_abapgit_fm_ddif_doma_put.gs_dd01v.set(fs_lv_data_);
    }
    lv_ref.set((await $arguments.get().if_ftd_input_arguments$get_table_parameter({name: abap.CharacterFactory.get(9, 'DD07V_TAB')})));
    abap.statements.assign({target: fs_lv_data_, source: lv_ref.dereference()});
    if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) {
      zcl_abapgit_fm_ddif_doma_put.gt_dd07v.set(fs_lv_data_);
    }
  }
}
abap.Classes['ZCL_ABAPGIT_FM_DDIF_DOMA_PUT'] = zcl_abapgit_fm_ddif_doma_put;
zcl_abapgit_fm_ddif_doma_put.gs_dd01v = new abap.types.Structure({
"domname": new abap.types.Character(30, {}),
"ddlanguage": new abap.types.Character(1, {}),
"as4user": new abap.types.Character(12, {}),
"as4date": new abap.types.Date(),
"as4time": new abap.types.Time(),
"ddtext": new abap.types.Character(60, {}),
"datatype": new abap.types.Character(4, {}),
"leng": new abap.types.Numc({length: 6}),
"decimals": new abap.types.Numc({length: 6}),
"outputlen": new abap.types.Numc({length: 6}),
"convexit": new abap.types.Character(5, {}),
"lowercase": new abap.types.Character(1, {}),
"signflag": new abap.types.Character(1, {}),
"entitytab": new abap.types.Character(30, {}),
"appexist": new abap.types.Character(1, {}),
"authclass": new abap.types.Character(2, {}),
"masklen": new abap.types.Numc({length: 4}),
"valexi": new abap.types.Character(1, {})}, "DD01V", "DD01V", {}, {});
zcl_abapgit_fm_ddif_doma_put.gt_dd07v = abap.types.TableFactory.construct(new abap.types.Structure({
"domname": new abap.types.Character(30, {}),
"valpos": new abap.types.Numc({length: 4}),
"ddlanguage": new abap.types.Character(1, {}),
"domvalue_l": new abap.types.Character(10, {}),
"domvalue_h": new abap.types.Character(10, {}),
"ddtext": new abap.types.Character(60, {}),
"domval_ld": new abap.types.Character(10, {}),
"domval_hd": new abap.types.Character(10, {}),
"appval": new abap.types.Character(1, {})}, "DD07V", "DD07V", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "DD07V_TAB");
export {zcl_abapgit_fm_ddif_doma_put};