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 object and function module

Former Member
0 Likes
1,599

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
Read only

Former Member
0 Likes
1,485

Hi Durga,

               Can you please elobrate your Question?

Regards,

Santhosh Yadav

Read only

0 Likes
1,484

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.

Read only

former_member187748
Active Contributor
0 Likes
1,484

Hi Durga,

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

Read only

0 Likes
1,484

So you really understood the original question? Respect!

What is the concept of multiple lines?


Thomas

Read only

0 Likes
1,484

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 ?

Read only

0 Likes
1,484

This message was moderated.

Read only

0 Likes
1,484

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.

Read only

0 Likes
1,484

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

Read only

0 Likes
1,484

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,

Read only

0 Likes
1,484

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

Read only

0 Likes
1,484

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