Skip to Content
0
Jan 10, 2008 at 03:55 AM

question on pf-status and subroutine

88 Views

form set_pf_status using rt_extab type slis_t_extab.

set pf-status 'CPD'.

endform. "Set_pf_status

----


  • FORM user_command *

----


  • ........ *

----


  • --> R_UCOMM *

  • --> RS_SELFIELD *

----


form user_command using r_ucomm like sy-ucomm

rs_selfield type slis_selfield.

clear : gv_ln .

data : count type i value 1.

case r_ucomm.

when 'UPDT'.

etc

commit work.

clear it_data.

message i999(z1) with 'Existing Record Move to Histry' .

endcase.

-


Questation : after fishing of message i have to disable update command and enable exit command pf-status .note if user click again it update database again . i need to disable or else remove update and place exit instead of it.