09-25-2008 12:06 PM
Hi all
I have created a module pooljust like a report..
First screen is selection parameter and second screen is the report... I have placed 2 custom container and have added 2 ALV control in that...
But Based on the parameter , iam not able to change the contents of the ALV ...
How to do that....I am not able to clear the ALV ie the custom container....
Can anyone help me in this...
Cheers
Christina
09-25-2008 12:12 PM
09-25-2008 12:12 PM
09-25-2008 12:22 PM
Hi,
We need to use FREE statement.
please do this way:
For
form exit_program .
call method cc1->free.
call method cc2->free.
call method cc3->free.
call method cc4->free.
call method cl_gui_cfw=>flush.
if sy-subrc <> 0.
call function 'POPUP_TO_INFORM'
exporting
titel = lv_repid
txt1 = 'Error in Flush'(500)
txt2 = sy-subrc.
.
endif.
endform. " exit_program
-
module user_command_0100 input.
case sy-ucomm.
when 'BACK'.
perform exit_program.
set screen '0'.
when 'EXIT' or 'CANC'.
perform exit_program.
leave program.
endcase.
endmodule. " USER_COMMAND_0100 INPUT
&----
thanx.