cancel
Showing results for 
Search instead for 
Did you mean: 

Passing values to a RFC table structure

Former Member
0 Kudos

Hi

I am using an RFC in which there is a table called Submit Details.I want to pass three rows to this table structure in the R/3 system.

Can anyone help me how to do this.

regards

Nayeem

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Private<name>View.I<value node name >Node node = wdContext.node<value node name >();

Private<name>View.I<value node name>Element ele;

<your rfc name> input = new <your rfc name>(); // your rfc name

wdContext.node<your rfc name>().bind(input); // bind

<table name> inputTable;

for (int i=0; i < node.size(); i++ ) // value node - where data is available

{

inputTable= new <table name>();

ele = node.get<value node>ElementAt(i);

inputTable.set<Attribute>(ele.get<Attribute>());

......

input.add<table name>();

}

// execute rfc.