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

Error : Syntax check form not found in function group program

former_member242512
Participant
0 Likes
2,417

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,178

Hi

I know it's silly....but LMRMKF16 is active?

You make sure the inlcude LMRMKF16 is called in your function group too.

Max

20 REPLIES 20
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,178

You have not copied everything properly. It will be clearly listed in se80.

Read only

0 Likes
2,178

Kindly please explain what i need to check in SE80.

Read only

Former Member
0 Likes
2,179

Hi

I know it's silly....but LMRMKF16 is active?

You make sure the inlcude LMRMKF16 is called in your function group too.

Max

Read only

0 Likes
2,178

Yes the include is active.

Read only

0 Likes
2,178

And your function group call that include?

Max

Read only

0 Likes
2,178

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.

Read only

0 Likes
2,178
You make sure the inlcude LMRMKF16 is called in your function group too.

Max

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?

Read only

0 Likes
2,178

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

Read only

0 Likes
2,178

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?

Read only

0 Likes
2,178

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

Read only

0 Likes
2,178

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

Read only

0 Likes
2,178

Thanks all for the replies ...

Yes i included the includes and the problem is solved now.

Thanks again.

Read only

0 Likes
2,178

Hi Ujwal,

Did you found the solution for this problem. Could you please let me know the same.

Regards,

Ravi

Read only

ThomasZloch
Active Contributor
0 Likes
2,178

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

Read only

0 Likes
2,178

Hi Thomas,

Your right but this has already been implemented in a sap system.

I'm required to solve this issue.

Read only

0 Likes
2,178

Hi

Try to re-generate the Navigation Index

Max

Read only

0 Likes
2,178

Hi Max,

I didn't get how to that..do you want me to create the form in include LMRMKF16 on calling perform XYX.

Read only

0 Likes
2,178

Hi,

In the top include of your program SAPLZMRMK add the include LMRMKF16.

Just put statement include LMRMKF16.

Regards,

Himanshu

Read only

0 Likes
2,178

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

Read only

0 Likes
2,178

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