Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Interface return value

Not applicable
Hi,



I have a data-binding in my SAP system to fill my form with data.

In it I have a empty table as return interface. The returned values must have a special format, so I can't use the standardbinding functionality. I must fill it manually.

The data will be send back by mail.

The tables I use for fill my form with data, I doesn't need at the sending of the form. To keep the filesize small, I remove that with the following command:

----------------------------

var oremovenode = xfa.resolveNode("xfa.record.TABLE[0]");

xfa.record.nodes.remove(oremovenode);

----------------------------



How can I fill that interface with data?

I tried that ways but nothing works:

1)

I tried to fill the value directly:

----------------------------

xfa.resolveNode("$record.TABLE.VALUE").value = "test";

----------------------------



2)

I tried to rebuild the table:

----------------------------

var obposvaluenode = xfa.datasets.createNode("dataValue", "VALUE");

obposvaluenode.value = "test";

obnode.nodes.append(obposvaluenode);

----------------------------



Any idea how I can do that?



Greets

Daniel
0 Replies