on 03-19-2006 5:33 AM
Hello,
I am creating a webdynpro application on Netweaver Studio.I am creating a screen, where a table data is to given to the rfc as parameter. Here, i am facing few issues.
1.When i create a model node of the table it is read only(EVen after making the cardinality as 1: 1 and 1: n).
2.After we used Value node, we are unclear on how the data will be passed frm view's value node to the RFC.
Could some one help me solve this issue.
Thanks,
Sharath
Hi,
Yes it is neccessary to create as many no of node Elements as many rows you want to have in the edit mode.
Regards,
Rohit Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am actually binding the structure in the RFC.
I am using the same structure to create the table as a view in the screen.
Is it necessary to have an add row button to have a line in table in edit mode?
Can't we have the whole table available to edit once teh screen appears?
Comment and help.
Thanks,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Shrath,
let's take node structure of ur node is like below
zbapi_get_data
itabdata
attrubute1
attrubte1
i thing u bind ur table with itabdata node.
i assuming that u are onclick of somebutton u are creating one table element.
wo write the following code in the event handler of addrecord button.
zbapi_get_data obj = wdContext.currentzbapi_get_dataElement().modelObject;
ItabData obj1 = new ItabData();
obj.addItab(obj1);
wdContext.nodeItab().addItabElement(WdContext.createItabElement(obj1));
call wdContext.currentzbapi_get_dataelement().modelObject.execute() method in the eventHandler of
'EcecuteBapi' button.
I hope it helps
With Regards
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.