2010 Jun 14 9:03 AM
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?
2010 Jun 14 9:17 AM
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
2010 Jun 14 9:11 AM
Was the function group ever transported or you are trying to transport just the second function module without transporting the function group first?
Vikranth
2010 Jun 14 9:16 AM
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
2010 Jun 14 9:17 AM
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
2010 Jun 14 9:22 AM
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...
2010 Jun 14 9:26 AM
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
2010 Jun 14 11:51 AM
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...
2010 Jun 14 12:07 PM
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
2010 Jun 14 12:44 PM
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.
2010 Jun 14 2:07 PM
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