All files / output number_get_next.fugr.mjs

100% Statements 21/21
100% Branches 0/0
100% Functions 0/0
100% Lines 21/21

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 211x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
{
// number_get_next.fugr.saplnumber_get_next.abap
 
 
// number_get_next.fugr.number_get_next.abap
async function number_get_next(INPUT) {
  // importing NR_RANGE_NR undefined false
  let nr_range_nr = INPUT.exporting?.nr_range_nr;
  // importing OBJECT undefined false
  let object = INPUT.exporting?.object;
  // exporting NUMBER undefined true
  let number = INPUT.importing?.number;
  if (number === undefined) {
      number = new abap.types.Character(4);
  }
  await abap.Classes['KERNEL_NUMBERRANGE'].number_get({nr_range_nr: nr_range_nr, object: object, number: number});
  abap.builtin.sy.get().subrc.set(abap.IntegerFactory.get(0));
}
abap.FunctionModules['NUMBER_GET_NEXT'] = number_get_next;
}
//# sourceMappingURL=number_get_next.fugr.mjs.map