Application Development 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: 

Changes in smartform function module

Former Member
0 Kudos

Hi,

due to some changes i had taken the access key of function module of a smart form and did the changes in function module,now the problem is every time when i activate the smart form my code is deleting,because i think when we activate the smartform it is deleting the FM and creating New Fm with same name,when i did the changes and activate the FM,it is not allowing to save me in my packageand i have to save in local object for the testing purpose

2 REPLIES 2

Former Member
0 Kudos

You shouldn't be making changes in the generated FM.

This FM is created by SAP from the Smart Form itself.

You should make the changes in the Smart Form and activate it. This will generate the FM for you.

Former Member
0 Kudos

Hi!

There is no need to modify the generated FM, because you can write ABAP code into your smartform. And with this code, you can handle everything, what is not in the smartform already. Well at least I did it already...

What was your need, because of you had to modify the FM?

Best regards

Tamá