Highlighted

Interface return value

Avatar

01-09-2008

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

Replies

Highlighted

Avatar

02-09-2008

Hi Daniel,

We are giving consultancy on LiveCycle Designer. If you need through help, you can contact me.



asiyegunaydin@kgc.com.tr



Asiye