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 Group: Incorrect Internal Tables Defined as fields?

Former Member
0 Likes
527

After copying a Function Group to a new group ZW00 to Z5W00 I am concerned about my internal table objects. In LZ5W00TOP all of the internal tables are called t_Z1XXXX, because they were copied as such. This is how all of the includes, including custom includes, and all logic in this Function Group refers to them as t_Z1XXXX. Everything syntax checks OK, and all activates with no problem.

However, in the fields folder of my Function Group in SE80, I do not see any of these t_Z1XXXX internal tables listed, they are all listes as t_Z5XXXX. When I click one of the t_Z5XXXX it says "LZ5W00TOP does not have any INactive versions". Because LZ5W00TOP is active. Granted these t_Z5XXXX are not there because they are t_Z1XXXX in LZ5W00TOP. What will happen after I transport these will my includes that refer to t_Z1XXXX work because their is too much internal code to change to t_Z5.

I see where I can right click on fields and create. Should I create them? If so as global or internal tables...those are my choices.

Thank-You.

Message was edited by:

Tom M.

Message was edited by:

Tom M.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

When ever you copy the FM and the Function Groups, you are supposed to activate all the Includes in that Function Group.

You have encountered a situation that there are no "Inactive versions of the TOP<include>".

So, go ahead to transport the Includes and the Function Group. This does not effect t_Z1XXXX.

Regards,

Pavan

4 REPLIES 4
Read only

Former Member
0 Likes
495

When ever you copy the FM and the Function Groups, you are supposed to activate all the Includes in that Function Group.

You have encountered a situation that there are no "Inactive versions of the TOP<include>".

So, go ahead to transport the Includes and the Function Group. This does not effect t_Z1XXXX.

Regards,

Pavan

Read only

0 Likes
494

Hello Pavan,

So you are saying that my internal tables of t_Z1XXXX will be recognized and process without any problem once transported?

What exactly is the situation encountered as there are no "Inactive versions of the TOP<include>".? Is this some kind of abnormality in SAP?

Thank-You for your help.

Read only

ferry_lianto
Active Contributor
0 Likes
494

Hi Tom,

Don't worry about internal table names even they have same name t_Z1XXXX in two different function groups and include programs. They are totaly independent.

As long as you can activate from the main program and no syntax error, you should be fine.

Regards,

Ferry Lianto

Read only

former_member194669
Active Contributor
0 Likes
494

Hi,

Test you function modules in the new function group , If it not giving any short dump you are okay. The internal tables declared in one function group can be accessed in another function group.

aRs