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

Question Group function

Former Member
0 Likes
1,073

Hi, i have a doubt about function groups...

I have three functions that belongs the same Function group X.

When i want transport the second function, system returns me that is impossible because i don´t have the other two functions in the include...

The include has this view:

LMY_GROUP_FUNCTIONXX

and for each function created there are an lMY_GROUP_FUNCTIONXX.. and in the header:

"*****************************************************************

  • THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *

  • NEVER CHANGE IT MANUALLY, PLEASE! *

*****************************************************************"

My question is:

Can i upload only one of this functions, there aren´t independet?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,033

Hi ,

You will have to transport the function group as well along with your function module.

If you don't have any link / dependency among these two and this third function module then why dont you make them in separate function group , so that you will not have any issue in transporting them.

Hope this is Helpful.

Regards,

Uma Dave

9 REPLIES 9
Read only

Former Member
0 Likes
1,033

Was the function group ever transported or you are trying to transport just the second function module without transporting the function group first?

Vikranth

Read only

0 Likes
1,033

Thanks for reply...

My group function is in the next environment... But two functions no...

GROUP_FUNCTION -- YES

-- FUNCTION 1 -- YES

-- FUNCTION 2 -- NO

-- FUNCTION 3 -- NO

-- FUNCTION 4 -- My next function for the environment

Read only

Former Member
0 Likes
1,034

Hi ,

You will have to transport the function group as well along with your function module.

If you don't have any link / dependency among these two and this third function module then why dont you make them in separate function group , so that you will not have any issue in transporting them.

Hope this is Helpful.

Regards,

Uma Dave

Read only

0 Likes
1,033

Hi UmaDave, you´re rigth... but i don´t understand why i´m forced to follow the order of creation of my functions...

It´is very strict... if my header is created...

Read only

0 Likes
1,033

HI iki ,

I didnt understand your question above.

what order you are pointing to.

Simply see if you can take out that function module and put in other function group so that you can transport without any issue.

Regards,

Uma Dave

Read only

0 Likes
1,033

Ok, i break up relationship between my old group and my function...

I create a new group and now works fine...

However still i don´t understand this relationships and his dependences...

Read only

0 Likes
1,033

Ok.. let me explain you that ,

See any function module in ABAP can not exist without a function group.

So a function module becomes a king of component in that particular function group.

so one thing about transport ,

You need to transport all the objects ,

so you can not simply transport functionn module withput function group.

Now regarding the other two function modules.

when you transport function group , you should include all the components which are part of that function group.

This is how your function module transportation becomes dependent on these two other function module. If they would have been in other function group then no dependency and hence no issues.

Hope it clarifies your doubt.

Regards,

Uma Dave

Read only

Former Member
0 Likes
1,033

A function group is a program, named like SAPLZnnnnn with includes. SAP executes the named includes...the "glue" that puts it all together are the TOP and the XXX includes. The entire function group (program) is always loaded into SAP memory on the first call of a FM named in the program....

To correct problems with transported FM's, etc., one need merely retransport the (syntax-error-free) function group.

Read only

0 Likes
1,033

Ok, thanks for reply... But like in other languages i think is better do independet function modules between they... not independent with his header...

Thanks again