Application Development 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: 

Problem: Function group <name> contains errors

Former Member
0 Kudos

Hi

I get the following error when i try to open a function module named ZSPLIT_STRING.

<b>Function group ZBC0 contains errors</b>

This FM belongs to function group ZBC0. What i found out, is that in include the main program of the function group which contains list of function modules belonging to the function group does not contain call FM. Here is the list:

LZBC0UXX /

*****************************************************************

  • THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *

  • NEVER CHANGE IT MANUALLY, PLEASE! *

*****************************************************************

INCLUDE LZBC0U01. "Z_GET_COMP_DATA

INCLUDE LZBC0U02. "Z_SEND_NOTIF_INFO

INCLUDE LZBC0U03. "Z_SEND_AUTH_INFO

INCLUDE LZBC0U05. "Z_GET_FILE_LIST

INCLUDE LZBC0U06. "Z_MS_EXCEL_DAT

INCLUDE LZBC0U07. "TABLEFRAME_ZBC0

INCLUDE LZBC0U08. "TABLEPROC_ZBC0

INCLUDE LZBC0U10. "Z_GET_USERS_INFO_NEW

INCLUDE LZBC0U11. "Z_GET_COMP_ROLES

INCLUDE LZBC0U09. "Z_GET_USER_PROFS

INCLUDE LZBC0U12. "Z_GET_USER_PROFS_NEW

INCLUDE LZBC0U13. "Z_GET_USER_INFO_BW

INCLUDE LZBC0U14. "Z_COMPARE_TABLES

INCLUDE LZBC0U17. "Z_GET_USER_PROFS2

INCLUDE LZBC0U15. "Z_GET_MODULE

INCLUDE LZBC0U18. "Z_GET_PROFILI

INCLUDE LZBC0U19. "Z_GET_SKUPINA

INCLUDE LZBC0U20. "Z_GET_ROLES

INCLUDE LZBC0U21. "ZCONVERT_TO_EUR

INCLUDE LZBC0U22. "ZGET_CURRENCY

INCLUDE LZBC0U23. "FIELD_EXIT_WAERS

INCLUDE LZBC0U24. "FIELD_EXIT_WAERS_0

INCLUDE LZBC0U04. "Z_GET_USER_PROFS_NEW2

INCLUDE LZBC0U16. "Z_CALC_TIME

I explored around a little bit and when i tried to open the line in include file

<i>INCLUDE LZBC0U21. "ZCONVERT_TO_EUR</i>

i got the same error. FM ZCONVERT_TO_EUR exists, because we are using it in some of our programs. The same goes for the ZSPLIT_STRING fm.

Furthermore, i tried to open the other LZBC0U* includes and found out that

INCLUDE LZBC0U23. "FIELD_EXIT_WAERS

which is supposed to contain source of FIELD_EXIT_WAERS contained source of ZSPLIT_STRING. I found out the same strange situation with some of the rest function module includes...

It looks like everything is messed up and i do not know how this inconsistency occured. Does anybody know of such tool/tcode to analyze and fix such situation or maybe have a written procedure to fix this manually?

Any suggestion would be greatly appreciated!

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Try the following :

Go to SE37, Menu : Utilities /Repair func. group

Regards

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Try the following :

Go to SE37, Menu : Utilities /Repair func. group

Regards

Former Member
0 Kudos

when u have done this it has generated a transport request... now, check for the last transport request before the one u created and try to fetch that one which will fix the function group.

Former Member
0 Kudos

Looking at the list of function modules there's no way these should all be in the same function group, there looks like around 6 different pieces of unrelated development here.

As a start I would remove TABLEFRAME_ZBC0 and TABLEPROC_ZBC0, these are generated modules for table maintenance. Find the table that they relate to and create a new function group just for this. Mixing generated and manually created modules can always lead to problems.

Modules FIELD_EXIT_WAERS and FIELD_EXIT_WAERS_0 should have there own function group.

The remainder could also be removed to different function groups.

When a function module runs the entire function group is loaded into memory, not just the module so combining unrelated function modules into the same group is not efficient.

Regards,

Nick