I am searching for possibilities for creating table with dynamic field size in RFC.
But as it gives following message when I use Ref as table field.
"No reference types are allowed for RFC" .
I have requirement to get output fields values of only those which are in mentioned in input.
As of in standard RFC "RFC_READ_TABLE" is controlling output fields by FIELDS table
But what I am looking for is if I am giving 2 field in input then output table's size should be of total size of 2 fields in input.
Means the size is all depends on input fields.
The other way, I think, is a table field of string type.
So at time of actually value is assigned to that field the size would be decided .
Appreciate any help.