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: 

Class object and function module

Former Member
0 Kudos
370

HI,

I want to pass a multiple  object of a class(this object contain 25 internal table ) and in function module i want to fill the data and access this internal table using object.

How can i achieve this please give me solution .

Regards,

Durga,

11 REPLIES 11

Former Member
0 Kudos
256

Hi Durga,

               Can you please elobrate your Question?

Regards,

Santhosh Yadav

0 Kudos
256

Hi,

I have a function module there i need to return 770(work area and internal table ) parameter but FM does't allow this much parameters

so that i was thinking to combined this parameters in 15 objects and just pass this internal table and work area  using objects.

former_member187748
Active Contributor
0 Kudos
256

Hi Durga,

for this you have to use the concept of multiple lines to pass your multiple internal tables

0 Kudos
256

So you really understood the original question? Respect!

What is the concept of multiple lines?


Thomas

0 Kudos
256

Hi Thomas,

if i am not wrong, i think she wants to work on workflow,

so i have sujjested to use multiple line container element.

I am sorry , if i have misunderstood her questions ?

0 Kudos
256

This message was moderated.

0 Kudos
256

Hi,

I am not working with workflow.

I have a function module there i need to return 770(work area and internal table ) parameter but FM does't allow this much parameters

so that i was thinking to combined this parameters in 15 objects and just pass this internal table and work area  using objects.

0 Kudos
256

Why dont you try by creating a deep structure in SE11 and then pass?

0 Kudos
256

Hi Durga,

You can create 770 table types.

Then create 8 structures which will include 100 table types per structure as their fields(last will have 70 table types).

After this you will be able to use 8 parameters (under table parameters tab) with type of 8 structures that you have created.

With Regards,

0 Kudos
256

Hi Durgha ,

you can only use abap objects instead function module.

and make sure that the abap class and method is having all parameters in it.

Regards,

Hiriyappa

0 Kudos
256

This sounds extremely unusual, such large interfaces cannot be handled reasonably. Better tell us more about the underlying requirement or context, so that an alternative route can be suggested.

Also clarify what you mean with "objects", is it OO ABAP-style object instances?

Thomas