Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Filter the export parameter values in RFC


I have made a RFC call by passing Input Parameter to pull output data from the SAP R/3 System. The call was successful and I can able to display this in a table using Java webdynpro.

Is it possible to filter the output values returned by the RFC based on some condition.

For example, I passed role name as an input parameter and got list of users assigned to that role along with their profile details such as user group, name, email, country etc...,

After receiving all output values, I want to check if the user belongs to a specific group , say Group XYZ. If so , then delete that user from the table.

How can I do this?


Eben Joyson.

Former Member replied

Hi Eben,

This is a common issue when working with nodes at particular index. Whenever you loop forward, it removes the first entry, but again starts off from the same position.

To avoid indexing issues, it is always suggested to use your loop backwards. Atleast I use this approach and it works fine for me.

So, you can use the same code you are using, but with a reverse loop i.e.

for(int i=node.size()-1; i >=0; i--)


     element = node.getElementAt(i);






Hope this helps.



2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question