Can anyone please try answering my query:
I have a field that is declared as both (input & output) in the display file.
In case the mode is 'Change' I want the screen field to be in input mode.
In case the mode is 'Inquiry' I want the screen field to be in output mode.
Used DSPATR(PR) with an indicator 80 assigned to it. When its a change mode I am setting the indicator OFF and when its an inquiry mode I set the indicator ON.
But when I try to execute I don't see the output as desired. The display file still opens in editable mode irrespective of change or inquiry.