2010 Jun 10 8:18 PM
Hello,
I have to define a function module with about 50 input parameters where each is a table with over 50 fields.
What is the best way to add such number of objects into the dictionary?
This function module will be called externally (it will be a remote enabled function module)
Thanks
Regards,
Mauricio Pego
2010 Jun 10 8:22 PM
Create a structure in se11 for each tables.
Create a table type in se11 for the structures created.
Then use the table type in your fm as export or import parameter.
Hello,
I have to define a function module with about 50 input parameters where each is a table with over 50 fields.
What is the best way to add such number of objects into the dictionary?
This function module will be called externally (it will be a remote enabled function module)
Thanks
Regards,
Mauricio Pego
2010 Jun 10 8:22 PM
Create a structure in se11 for each tables.
Create a table type in se11 for the structures created.
Then use the table type in your fm as export or import parameter.
2010 Jun 11 4:22 PM
Thanks Keshav for your prompt reply.
Doesn't exist a way to upload the definitions from a text file?
Is it possible to create a script to add such tables and fields from a text file to the ABAP dictionary (if so, what FM should I look at)?
Regards,
Mauricio
Edited by: Mauricio Pego on Jun 11, 2010 5:23 PM
2010 Jun 14 10:42 AM
Hello Mauricio
Since This is a RFC, Better create one Table Type where the Structure can be the TLINE.
Also you can assign the Length of the maximum lenght of the structure to be passed.
Then you can create 50 Inputs Import parameters with single Tline and handle in the code with Tab delimitation or the pipe delimitation.
2010 Jun 14 11:10 AM
Hi Mauricio,
Please read the documentation of function module DDIF_TABL_PUT and use it.
Wrap it in a remote enabled fm created newly.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |