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

Class builder: how to define internal tables

former_member246786
Participant
0 Likes
917

Hi,

my problem will seems really stupid, I apologize...

I'm using the CLass Builder for the first time.

I need some methods that or send internal tables and somes private parameters thats ARE internal tables . I just want to know how to do it ?

When I go to the parameter subscreen, I can define my parameters using 'TYPE' 'LIKE ' or ' REF TO' that mean I see how to define variables, structures and objects .. but nothing about tables ?

The same append when I use to change a method parameter

So , how to do it ?

Regards,

Morgan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
617

Hi Morgan,

YOu can still use the TYPE, but you should have created a table type for making that parameter as table instead of a work area.

for example

itab type ztab. "This will be a structure

itab type ztab_tt. "This wil be an internal table if ztab_tt is a table type defined in se11.

Regards,

ravi

Hi,

my problem will seems really stupid, I apologize...

I'm using the CLass Builder for the first time.

I need some methods that or send internal tables and somes private parameters thats ARE internal tables . I just want to know how to do it ?

When I go to the parameter subscreen, I can define my parameters using 'TYPE' 'LIKE ' or ' REF TO' that mean I see how to define variables, structures and objects .. but nothing about tables ?

The same append when I use to change a method parameter

So , how to do it ?

Regards,

Morgan

2 REPLIES 2
Read only

Former Member
0 Likes
618

Hi Morgan,

YOu can still use the TYPE, but you should have created a table type for making that parameter as table instead of a work area.

for example

itab type ztab. "This will be a structure

itab type ztab_tt. "This wil be an internal table if ztab_tt is a table type defined in se11.

Regards,

ravi

Read only

0 Likes
617

Thank you very much