Your program is missing START-OF-SELECTION processing block.
So everything is running in AT SELECTION-SCREEN block (ON VALUE REQUEST FORp_file)
which does not support WRITE output...
Your program is missing START-OF-SELECTION processing block.
So everything is running in AT SELECTION-SCREEN block (ON VALUE REQUEST FORp_file)
which does not support WRITE output...