cancel
Showing results for 
Search instead for 
Did you mean: 

Send Table parameter to RFC?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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