Skip to Content
0
Sep 15 at 07:40 AM

Changing code in FM of a smartform.

41 Views

Dear All,
I have my colleague noticed that there were some issues on the invoice, more precisely the price unit was not being calculated as it should be. The issue appears when the UNIT OF MESURE is PAC and not PC. So I debbuged the code and saw that the problem lies in this part of the code that Im sharing with you.

So my PROBLEM now is that when I edit this code (this is a part of the FM of the smartform witch as far as I can see was already edited) and try to save it I get this msg:


The object is in a namespace that is reserved

for generated objects. Flag object as generated?

When I confirm, it asks of me to assign it to a package but I cant do that:

"Object FUGR /1BCDWB/SF00000026 cannot be assigned to package z_whatever"

Finally, my question is how and where should I make these changes?

Thank you for your time in advance.

P.S. I already tried searching for the answer on this and many others sites. Saw some people that were facing similar problem but none of the answers actually helped me resolve this.

Attachments

codefm.png (84.8 kB)