Are you talking about adding interactive elements, like a form field?
Or are you talking about changing the content?
If you are programatically accessing the content of the file it can't be "non-editable". If you are changing internal text ($NAME$ to Albin), it's just another file - that it is PDF doesn't matter.
If it's a file access problem, ask the crew in
I/O and Streams.