cancel
Showing results for 
Search instead for 
Did you mean: 

Table line in view - not transfered to R/3 backend

Former Member
0 Kudos

Hi,

My view contains a table which is mapped to r/3 table.

When page is initialized the table comes with no rows

Adding rows in done by pressing addLine button (appears above table).

OnActionAddLine():

wdContext.nodeX().addElement(wdContext.createXElement(new r3 structure));

In debugging, Before executing r3 bapi, the values from screen appears in context

sended to r3, but still i don't get them updated in r/3.

Executing the bapi in r3 (by se37) - updating r/3 table.

Can someone give me a hint?

Thanks,

Ronit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

<structure> struc = new <structure>;

struc.set(set what you want);

wdContext.node<nodename>.modelobject.add<nodename>(struc);

try out this code.

Regards,

Gopi

Former Member
0 Kudos

Hi,

Thanks for your hint, and sorry for the late feedback.

I solved the problem by binding the tables to the input node in wdDoInit().

Ronit.

Former Member
0 Kudos

Hi ,

change add element as

<b>structure stru = new structure();</b>

wdContext.nodeX().addElement(wdContext.createXElement(<b>stru</b>));

give the object name which you created for setting values to that r/3 structure,

i.e stru.set();

Thanks,

Sunitha