on 04-13-2011 2:08 PM
Hello, I am reading an IRfcStructure which I get like this:
IRfcStructure s = function.GetStructure("ES_XYZ");
Now I want to go through this structure and display the field names and the values. I managed to display the values, but it does not include the field names. What I get is 010 but what I want is FIELD MANDT=010. Here is my code:
string results = string.Empty;
for (int structCounter = 0; structCounter < s.Count; structCounter++)
{
results += s.GetString(structCounter) + Environment.NewLine;
}
How do I have to change that to get the field name, too?
Thanks
Edited by: grady1 on Apr 13, 2011 3:14 PM
s.Metadata[structCounter].Name.ToString()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.