@abaplint/runtime 2.7.62 → 2.7.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export declare function callTransaction(): void;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.callTransaction = void 0;
4
+ function callTransaction() {
5
+ // @ts-ignore
6
+ abap.builtin.sy.get().subrc.set(4);
7
+ // @ts-ignore
8
+ abap.builtin.sy.get().msgid.set("00");
9
+ // @ts-ignore
10
+ abap.builtin.sy.get().msgty.set("E");
11
+ // @ts-ignore
12
+ abap.builtin.sy.get().msgno.set("000");
13
+ // @ts-ignore
14
+ abap.builtin.sy.get().msgv1.set("CALL TRANSACTION");
15
+ // @ts-ignore
16
+ abap.builtin.sy.get().msgv2.set("not supported in open-abap");
17
+ }
18
+ exports.callTransaction = callTransaction;
19
+ //# sourceMappingURL=call_transaction.js.map
@@ -40,6 +40,7 @@ import { wait } from "./wait";
40
40
  import { setHandler } from "./set_handler";
41
41
  import { split } from "./split";
42
42
  import { translate } from "./translate";
43
+ import { callTransaction } from "./call_transaction";
43
44
  import { IUpdateDatabaseOptions } from "./update_database";
44
45
  import { IWriteOptions } from "./write";
45
46
  import { Context } from "../context";
@@ -87,6 +88,7 @@ export declare class Statements {
87
88
  translate: typeof translate;
88
89
  wait: typeof wait;
89
90
  receive: typeof receive;
91
+ callTransaction: typeof callTransaction;
90
92
  private readonly context;
91
93
  private readonly traceTotals;
92
94
  constructor(context: Context);
@@ -44,6 +44,7 @@ const wait_1 = require("./wait");
44
44
  const set_handler_1 = require("./set_handler");
45
45
  const split_1 = require("./split");
46
46
  const translate_1 = require("./translate");
47
+ const call_transaction_1 = require("./call_transaction");
47
48
  const update_database_1 = require("./update_database");
48
49
  const write_1 = require("./write");
49
50
  const call_function_1 = require("./call_function");
@@ -90,6 +91,7 @@ class Statements {
90
91
  this.translate = translate_1.translate;
91
92
  this.wait = wait_1.wait;
92
93
  this.receive = receive_1.receive;
94
+ this.callTransaction = call_transaction_1.callTransaction;
93
95
  this.context = context;
94
96
  this.traceTotals = {};
95
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.7.62",
3
+ "version": "2.7.63",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",