cancel
Showing results for 
Search instead for 
Did you mean: 

Table Parameter Values Are Input To RFC?

Former Member
0 Kudos

Hi,

My Requirement is Table Parameter Values are Input RFC.

We have Table Parameter With Project ID Column and Multiple Rows.

User Need To Enter Project id's in Table And Submit.The Result can be displayed.

In My Scenario User Need to enter the values in table.

I Developed Webdynpro Application and Deployed.

When i am trying to enter values into a table,table is not taking values.

Because in My Requirment is the user enter morethan one project id in table.

Thanks

SubbaRao Chinta

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Can you please explain more clearly that what is the meaning of "Table not taking values"?

Did you take the ColumnCellEditor(inputfield) for table column as input field.

For example, You need to create a value node as below

ProjectIdsNode (Value node with cardinality 0..n & selection 0...n)

---> ProjectId (Attribute)

And bind this ProjectIds node to table UI element. And bind ProjectId attribute to ColumnCellEditors(inputfield) value property.

Now in submit action loop though this node and get all the values entered in ProjectId attribute.

And set all these values into input of your RFC while executing to store in backend.

Regards,

Charan

Former Member
0 Kudos

Hi,

Check the following pdf link.One page 9,you have the sample code to set the data to an RFC table

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e...

The document depicts clear co relation of RFC and webdynpro Proxy classes.

Hope it helps

Former Member
0 Kudos

Hi,

The following link should help you.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b...

if you want to input table to an RFC follow the below stpes

1) create the instance of the sturcture of the table

Bapisfldst bb = new Bapisfldst();

bb.set....();

bb.set...();

RFC object.setBapisfldst (bb).

RFC object.execute();

AM