08-31-2006 10:09 AM
Hi,
while creating a function (Z_SPELL_AMOUNT_INDIA) one error is coming . the error <b>'SPELL not declared</b> ' is coming. already the Function module is running correctly in different client(another client's place) i am just download the Function module from the existing implementation site and upload the function module in new client's place. both the Projects are mySAP ECC 5.0.
Here first i have created a function group and under the Function group itself i am uploading the FM.
How can i declare the SPELL?
is there any rules to be follow while creating the Function Group?
Thanks,
Neptune.M
08-31-2006 10:23 AM
Before you copy the function module check the following
1. Check the TOP include copied properly or not
2. Check any form routine (if existing) copied or not
3. In the Import, Export & tables if you are pointing to any DDIC structures, check whether they are copied or not.
While activating the function module CHOOSE ALL THE INCLUDES AND FUNCTION GROUP AT A TIME, AND THEN ACTIVATE ALL.
I hope this helps you.
- Raj
08-31-2006 10:32 AM
Hi Raj,
Thanks for your reply. i didnot copy any top include program. May be this is a reason for this error.
plz explain in details.
First i have the Function Group as zfggrd.
activate the Function Group.
After that i have created the Function Module.
In function module also i have given the import , export and exceptions directly and at last i have uploaded the Source code of the Function Module from my Pc.
Plz tell , in which place i make a mistake?
Thanks,
Neptune.M
08-31-2006 11:50 AM
08-31-2006 12:02 PM
HI,
define all the includes of target FM into source
Fm and copy respective include source code.
Regards
Amole