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

Function module problem.........urgent

Former Member
0 Likes
1,010

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.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
441

Hello,

Activiate entire function group means all objects of the FG. Then you come to know about the duplicate objects.

regards,

Naimesh

Read only

Former Member
0 Likes
441

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