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 in function group

Former Member
0 Likes
2,633

Hi all,

while creating function group, by default standard includes will generate like LZ_N_PP_WEIGHUXX under that this message is there *****************************************************************

  • THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *

  • NEVER CHANGE IT MANUALLY, PLEASE! *

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

but my mistake i have made some commentes and activated. now its giving error that :function group Z_N_PP_WEIGH contains error.

As it is activated by SAP, I SHOULD NOT ACTIVATE IT, BUT AS I ACTIVATED IT, HOW TO COME OUT WITH THIS ERROR.

as i created all my fuction module under this function group and its not allowing to open even. i can't copy also.

what is the solution for it.

Please answer asap. its very very urgent.

useful answer will be awarded.

Thanks.

7 REPLIES 7
Read only

Former Member
0 Likes
1,250

Hi

Goto version management of the same and retrieve the previous version and activate the same

Regards

Shiva

Read only

Former Member
0 Likes
1,250

You activate the Whole Function group.

What is the error you are getting.

and what is the code you added.

Read only

Former Member
0 Likes
1,250

Hi,

goto se37 select GOTO->FUNCTION GROUPS->CHANGE GROUP.

then give ur function group name name and then press enter.one window will come there select main program button and activate it(select all the includes related to that function group while activating).

it will have two includes like this

INCLUDE LZ<func group name>TOP. " Global Data

INCLUDE LZ<func group name>UXX. " Function Modules

and LZ<func group name>TOP will have FUNCTION-POOL <func group name>. "MESSAGE-ID .

and the other include is empty.

rgds,

bharat.

Read only

Former Member
0 Likes
1,250

when i tried to retrieve the FunctionPool SAPLZ_N_PP_WEIGH it get retrieve but not the defaulf generated includes

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

  • System-defined Include-files. *

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

INCLUDE LZ_N_PP_WEIGHTOP. " Global Data

INCLUDE LZ_N_PP_WEIGHUXX. " Function Modules

when i tried to go inside the INCLUDE LZ_N_PP_WEIGHUXX.

where all the Fuction module which i have created is there (which i had activated by mistake) , there i am not getting retrieve button to retrieve in version manegement.

include: LZ_N_PP_WEIGHUXX

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

  • THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *

  • NEVER CHANGE IT MANUALLY, PLEASE! *

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

INCLUDE lz_n_pp_weighu01.

"Z_N_SF_PRO_ORD_HEADER

INCLUDE lz_n_pp_weighu02.

"Z_N_SF_PRO_ORD_ITEM

INCLUDE lz_n_pp_weighu03.

"Z_N_BS_BILLOFMATERIAL

INCLUDE lz_n_pp_weighu04.

"Z_N_MP_STOCK_DATA

INCLUDE lz_n_pp_weighu05.

"Z_N_MP_INV_SEARCH

INCLUDE lz_n_pp_weighu06.

"Z_N_BD_BATCH_MDATA

INCLUDE lz_n_pp_weighu07.

"Z_N_BD_MATERIAL_MDATA

INCLUDE lz_n_pp_weighu08.

"Z_N_SO_ITEMALLOCATION

INCLUDE lz_n_pp_weighu09.

"Z_N_BD_POTENCY

please give me the solution, its very urgent, as it was working fine erlier but just because of small mistake i had done that is i manually activated the include LZ_N_PP_WEIGHUXX which should not be activated myself , i am in big trouble.

please reply , i lam very much worried

Read only

0 Likes
1,250

look if it does not take much time, can you create a new function group from se37 and then from se80 activate the function group.

then do all the processing what u want and see if u getting the same error

and one more thing

on which version of sap u r working?

Read only

Former Member
0 Likes
1,250

Go to SE80,

Activate the hole Function group.

Thanks ,

Suresh

Read only

Former Member
0 Likes
1,250

Hi,

Please do as below:

Goto Se80 --> Select Function Group from the list box --> Press Enter --> Select your function group --> Right Click --> Activate.

Thanks,

Sriram Ponna.