‎2009 Jan 07 2:05 PM
I have two screen 500 and 600.
First call screen 500, pop a dialog, after input some fields, i want to write the list in screen 600.
I have the following code. When I call 600, no data are written. can someone tell me the reason?
Thanks in advance!
I have the following code:
call screen 500 starting at 45 10 ending at 100 20.
process before output.
module status_0500.
process after input.
module user_command_0500.
process before output.
module document_list.
module status_0500 output.
set pf-status '0500'.
endmodule. " status_0500 OUTPUT
module user_command_0500 input.
ok_code = sy-ucomm.
case ok_code.
when 'OKAY'.
call screen 600.
set screen 500.
when 'CACL'.
leave to screen 0.
when others.
endcase.
endmodule.
module document_list output.
leave to list-processing and return to screen 0.
set pf-status space.
suppress dialog.
write: /000(5) 'CoCd' centered,
006(20) 'Doc.no.' centered,
027(4) 'Year' centered.
write: /'TW00', 10000000, 2008.
write: /'TW00', 10000001, 2008.
endmodule. " document_list OUTPUT
‎2009 Jan 09 6:49 AM