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?