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

Function module query

Former Member
0 Likes
726

Hi,

I copied one standard function group and made changes to one function module. In the program i am using standard function module and getting filled one internal table itab ( which is declared in top of stnd. function group). Now i want to use itab in another customised function module. how is it possible.

7 REPLIES 7
Read only

former_member222860
Active Contributor
0 Likes
686

Hi,

It works, If you create your new FM in the same Function Group

Read only

0 Likes
686

you mean in stnd function group? its not possible

Read only

Former Member
0 Likes
686

You would be able to access that internal table in all the Function modules in the of the same Function Group.

Read only

Former Member
0 Likes
686

If the internal table is available in the call stack, then you can access it at runtime using field symbols.

Regards,

Siddharth

Read only

Former Member
0 Likes
686

Hi,

While copying the Function group you might have copied the Function module's too.

Check the itab declartion is in the function module or in the function group top include..if it is in Function module then you need move the itab declaration to Top include in function group so that it is accessiable to all the function module. (i.e. the scope of itab would be global)

If the declaration is in Function module then the scope of this itab will be local to FM.

Read only

0 Likes
686

I want to change One function module of a function group. I want the internal table values from stnd function module to this changed function module. How to maintain them?

Read only

Former Member
0 Likes
686

thanks