2011 Aug 11 7:12 AM
Hi all,
can anybody suggest me how to handle import, export and tables parameters in a dynamic function module call if they are associated with TABLE types.
2011 Aug 11 8:36 AM
You might be interested in reading this [http://help.sap.com/abapdocu_702/en/abapcall_function_dynamic.htm].
Hi,
The issue is that when you use CREATE DATA dyn_ref TYPE (wa_import-dbfield) when it's about a TABLES parameter which refers to a structure, you only create a structured data object, not a table type. So, you should use CREATE DATA dyn_ref TYPE TABLE OF (wa_import-dbfield)
Be careful, a TABLES parameter may also refer to a table type, then you shouldn't create a "table type of table type", but continue using CREATE DATA dyn_ref TYPE (wa_import-dbfield)
Now, it seems you have 2 other questions??
- can we actually input the table type data at run-time if yes, how is it possible
- the output should be in CHAR data type
What do you mean? (do you want something like the SE37 test framework? But what exactly?)
BR
Sandra
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |