Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to define types without using SE80

Former Member
0 Likes
847

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

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
803

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

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
804

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.

Read only

Former Member
0 Likes
803

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

Read only

Former Member
0 Likes
803

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.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
803

Hi Mauricio,

Please read the documentation of function module DDIF_TABL_PUT and use it.

Wrap it in a remote enabled fm created newly.