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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!