2007 Feb 19 4:29 PM
Hi,
I wonder if there is a way to get the meta data from a table or structure using RFCs.
More detailed:
I am using RFCs to read data from tables and structures. It would be nice to have a way to also get the table definitions, like column headers, column types and contraints, etc. using RFC.
Does somebody know how to do that? (My test system is an IDES)
Thanks in advance
Stefan
2007 Feb 19 5:02 PM
Hi Stefan,
Please check program RSIWA007 for sample code on how to use FM RFC_READ_TABLE.
Also try FM DDIF_FIELDINFO_GET first perhaps it is easier to use.
Regards,
Ferry Lianto
Hi Stefan,
Please check program RSIWA007 for sample code on how to use FM RFC_READ_TABLE.
Also try FM DDIF_FIELDINFO_GET first perhaps it is easier to use.
Regards,
Ferry Lianto
2007 Feb 19 4:34 PM
Hi,
Have you looked FM RFC_READ_TABLE or DDIF_FIELDINFO_GET?
Regards,
Ferry Lianto
2007 Feb 19 4:46 PM
Thanks Ferry,
could you please provide me with a simple code example calling this FM?
I am not quite sure how to use the OPTIONS table as input.
That would be very nice.
Thanks
Stefan
2007 Feb 19 5:02 PM
Hi Stefan,
Please check program RSIWA007 for sample code on how to use FM RFC_READ_TABLE.
Also try FM DDIF_FIELDINFO_GET first perhaps it is easier to use.
Regards,
Ferry Lianto
2007 Feb 19 5:08 PM
2007 Feb 20 11:01 PM
It's me again,
Today, I had a closer look on what you gave me yesterday. I think the problem is that I asked for the wrong information.
What I am actually looking for isn't meta information for tables, but information about the "Associated Type" that is associated with every import, export, or table parameter of a function module.
If I double-click on one of those types in transaction se37 after choosing a function module, I get a wonderful overview about the structure including 'component', 'component type', 'data type', 'length', etc.
Is there an RFC I can call that gives me exactly this information?
Best,
Stefan
2007 Feb 21 10:50 PM
Hi Stefan
Does FM RFC_GET_FUNCTION_INTERFACE help you? It looks like there are some other interesting FMs in the same function group, RFC1, and also RFC2 ...
Regards
Glen
2007 Feb 21 11:01 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |