Application Development 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: 

How to pass an internal table to a Method?

Former Member
0 Kudos

I want to pass an itab to a class_constrtuctor. Is it possible?

-Bala

5 REPLIES 5

Former Member
0 Kudos

Might be similiar to what I am trying to do

I'm struggling to fine to it though. I'll look tomorrow I think. Good luck with your attempts.

Former Member
0 Kudos

Hi Bala,

Class_Constructor methods can have neither parameters nor exceptions. They are called by runtime environment automatically when the class is first loaded.

Regards,

Sükrü

Former Member
0 Kudos

I will re-phrase the question?

How to pass an internal table to a Method?

Sorry for the confusion.

Thanks,

Bala

0 Kudos

might help you also.

Peter

Former Member
0 Kudos

Hi,

I also gave the answer in Craig's question. You can define a table type as the type of your import parameter passed. If it is a local class, you can define your table type at your top include. If the class is a global one created by SE24, you can define the table type in DDIC.

Regards,

Sükrü