on 01-09-2007 7:08 AM
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
hi,
<structure> struc = new <structure>;
struc.set(set what you want);
wdContext.node<nodename>.modelobject.add<nodename>(struc);
try out this code.
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.