Skip to Content
0
Former Member
Oct 23, 2006 at 02:44 PM

clear subscreen

450 Views

how can you clear a subscreen of all the data. I have a tabstrip that has 5 subscreen. the main screen which is 100 has a primary field that will use to load the data into all the 5 subscreens. when the user wants to create a new record, the subscreens should be blank. then when they push the save button, then the record will be save.

MODULE USER_COMMAND_0100 INPUT.

CASE SY-DYNNR.

CASE OK_CODE.

WHEN 'SAVE'.

perform check_projectnumber.

perform saverecord.

WHEN 'DELETE'.

perform check_projectnumber.

WHEN 'CHANGE'.

perform check_projectnumber.

WHEN 'INSERT'.

perform check_projectnumber.

WHEN 'CREATE'.

perform add_project.

when 'ENTER'.

perform check_projectnumber.

ENDCASE.

ENDCASE.

CLEAR OK_CODE.

ENDMODULE. " EXIT INPUT