‎2006 Jul 25 8:04 AM
hi friends,
i have a function module=>Z_POST_CUSTOMER_INVOICE2
there is a module pool prg=>SAPLZTEST2
there is a include report under that module pool program => INCLUDE LZTEST1F01.
in this include program there is a statement as
FORM format_data TABLES out_tab STRUCTURE zfeeds
USING input_rec
ret.
it was working fine till i transport it , suddenly the basis people find out that the module pool program SAPLZTEST2 is not activated.
when i checked it it is giving the error as " FORM already exists with the name format_data".
when i am trying to debug the LZTEST1F01 include it is now showing any error,but while activating it is giving the above error.
i found out that there is no second form_data,and the module pool program ,but the perform statement of the particular form statement is declared in different includes like LZOOP1U01,LZOOP1U13,LZOOP1U17,but i dont think that should give this kind of proble.
i changes the form name and checked it, but what ever name i am giving for that form statement it is giving the error as that particular form statement is already exist.
can anybody give any suggestion where the problem can be, where should i check.
‎2006 Jul 25 8:09 AM
Hello,
Activiate entire function group means all objects of the FG. Then you come to know about the duplicate objects.
regards,
Naimesh
‎2006 Jul 25 8:13 AM
Go to the include, and search for the term FORM format_data. Make sure you have the option 'In main program' ticked.
It sounds like there may be a duplicate declaration of the form, this should give you any such instances.
You can also go to Utilities > Update Navigation Index to update the program index.
Hope this helps.
Sudha