transpiler
transpiler copied to clipboard
todo, concat value
bug,
lv_value =
'<?xml version="1.0" encoding="utf-16"?>#<abapGit version="v1.0.0">#' &
' <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">#' &
' <asx:values># <DATA># <FOO>2</FOO># <BAR>A' &
'</BAR># </DATA># </asx:values># </asx:abap>#</abapGit>#'.

it.only("simple ampersand concat", async () => {
const code = `
DATA lv_value TYPE string.
lv_value = 'foo' & 'bar'.
ASSERT lv_value = 'foobar'.`;
const js = await run(code);
console.dir(js);
const f = new AsyncFunction("abap", js);
await f(abap);
});