‎2010 Nov 30 3:47 PM
Hi All,
I have a function group ZMRMK. In its source code the function-pool SAPLZMRMK contains error
"Form XYZ does not exits"There is an include in SAPLZMRMK named lzmrmkf01 : in this include there is an include lmrmkf02 . Here XYZ is called->
perform XYZ.
The form XYZ is written in LMRMKF16 and this include is in function pool SAPLMRMK.
Kindly suggest how to remove this error.
‎2010 Nov 30 3:56 PM
Hi
I know it's silly....but LMRMKF16 is active?
You make sure the inlcude LMRMKF16 is called in your function group too.
Max
‎2010 Nov 30 3:54 PM
You have not copied everything properly. It will be clearly listed in se80.
‎2010 Nov 30 3:55 PM
‎2010 Nov 30 3:56 PM
Hi
I know it's silly....but LMRMKF16 is active?
You make sure the inlcude LMRMKF16 is called in your function group too.
Max
‎2010 Nov 30 4:00 PM
‎2010 Nov 30 4:02 PM
‎2010 Nov 30 4:07 PM
The functionpool SAPLZMRMK does not have that include LMRMKF16.
But include LMRMKF16 is in SAPLMRMK.
A perform ABC is called in the same include as that of perform XYZ.
Its include is LMRMKF15 of SAPLMRMK but it doesn't show any error.
‎2010 Nov 30 4:13 PM
You make sure the inlcude LMRMKF16 is called in your function group too.
MaxAs i have seen one include lmrmkf15 of SAPLMRMK is not called in SAPLZMRMK but still its working fine.
Problem is why its not working for lmrmkf16?
‎2010 Nov 30 4:19 PM
As i have seen one include lmrmkf15 of SAPLMRMK is not called in SAPLZMRMK but still its working fine.
Problem is why its not working for lmrmkf16?
That's not possible, if SAPLZMRMK calls a routine defined in inlcude lmrmkf15, this include has to be in SAPLMRMK too
Max
‎2010 Nov 30 4:33 PM
Hi,
When i have included that include it lets to another error :
The FORM "MENGE_WRBTR_DISTRIBUTE_ABD" does not exist, but there is a FORM with the similar name "MENGE_WRBTR_DISTRIBUTE". .
This form is in include include lmrmkf13 agian in SAPLMRMK.
Does it means that i should have include statements for include which i'm using from SAPLMRMK ?
After including whether it will call the include properly or will there be any mismatch?
‎2010 Nov 30 4:37 PM
As i have seen one include lmrmkf15 of SAPLMRMK is not called in SAPLZMRMK but still its working fine.
Problem is why its not working for lmrmkf16?
this couold be because subroutines(Performs) from that include are not called but since the prorgam is using one subroutine from lmrmkf16 it has to be included in the SAPLZMRMK .
Regards,
Himanshu
‎2010 Nov 30 4:44 PM
Hi
Yes you do
But It seems many standard includes are missing in the Z-function group: perhaps this function group was created in another system or in another release?
It's strange many includes are missing, this is a typical upgrade problem:
A standard function group was copied, but only some components were copied, so the function group use Z-include and standard ones, now in the new system "old standard includes" calls new routine defined in new include, used in standard function group, but not in Z-function group.
If it's so, you need to put the missing include manually
Max
‎2010 Nov 30 5:04 PM
Thanks all for the replies ...
Yes i included the includes and the problem is solved now.
Thanks again.
‎2011 Apr 14 11:36 AM
Hi Ujwal,
Did you found the solution for this problem. Could you please let me know the same.
Regards,
Ravi
‎2010 Nov 30 3:59 PM
Don't copy standard function groups or module pools, the more complex they are the more problems you have (like this one), and your copy will never see a fix by SAP notes, unless tediously implemented by hand, and you might run into inconsistencies during the next upgrade.
But you'll do it anyway, I know.
Thomas
‎2010 Nov 30 4:02 PM
Hi Thomas,
Your right but this has already been implemented in a sap system.
I'm required to solve this issue.
‎2010 Nov 30 4:06 PM
‎2010 Nov 30 4:09 PM
Hi Max,
I didn't get how to that..do you want me to create the form in include LMRMKF16 on calling perform XYX.
‎2010 Nov 30 4:11 PM
Hi,
In the top include of your program SAPLZMRMK add the include LMRMKF16.
Just put statement include LMRMKF16.
Regards,
Himanshu
‎2010 Nov 30 4:16 PM
Hi
No you don't need to create a copy of LMRMKF16: but it's important the statament
INCLUDE LMRMKF16 is in your function group
I know the abaper doesn't usually copy all includes of a function group, but the includes will be changed only.
Now if you're sure the include is used in your function group, from SE80 go to Utilities->Update Navigation Index
Max
‎2010 Nov 30 4:43 PM
I know the abaper doesn't usually copy all includes of a function group, but the includes (that) will be changed only.
That's exactly what can cause major headaches during upgrades, when the standard includes change, and the copied ones remain as they are.
Thomas