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

Method Parameters for an object

Former Member
0 Likes
633

Is it possible to define a method parameters which is a table ?

In my case, i want to use a multiline structure as a parameter but in the edit parameter window the only two data type references available are ABAP dictionnary and Object type.

Thanks for your answer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
596

Hi,

Create a table type in SE11..Then use it in the method parameters for making the parameter as internal table..

Thanks,

Naren

4 REPLIES 4
Read only

Former Member
0 Likes
597

Hi,

Create a table type in SE11..Then use it in the method parameters for making the parameter as internal table..

Thanks,

Naren

Read only

former_member758419
Active Participant
0 Likes
596

Hi,

U cannot declare an internal table(parameter -- Multiline structure) reffering to a structure, The only way to do it is to create a Table type for the structure in se11 and declare the paremeter like,

itab TYPE ztabletype

Bye,

Read only

Former Member
0 Likes
596

Use TYPE GROUPS concept to achieve this.

Read only

Former Member
0 Likes
596

Hi,

you can ofcourse do that.

create a structure in se11.

then create a table type and specify the above mentioned structure or any other DDIC table as the row type to this table type.

now specify this table type as the referece type to the parameter.

hope this helps.

Regards,

Kinshuk