Module Pool Program Issue
In module program I have to screens fields viz., Release and Reference(IO Field). I have coded such a way that, If I enter some some values in Release, same will be displayed in Reference. To achieve this, when I give some values in Release field and Press Enter, in PAI I passed the same value to Reference. My issue is, If I again enter new value to Reference field and press Enter again its taking the Release Fields Value. But I need the newly entered value. How can I achieve this? Thanks in Advance.
If I got you right, you need to overwrite the value in Reference field only if the value in Release field has been changed.
To achive this you can try something like that in your screen logic:
FIELD Release MODULE release ON REQUEST.
MODULE release INPUT.
Reference = Release.
Addition ON REQUEST will trigger the module only in case user has input something in Release field.