Skip to Content
0
Former Member
Feb 19, 2009 at 07:58 AM

Unable to make the table control editable in userexit_save_document_prepare

183 Views

Helo Experts,

I am just trying to make the table control editable after a validation while saving the transaction VA01.

I ma using the userexit_save_document_prepare.

Please check the below code and help me further.

The table control is turning into an editable mode


if flg_fgud = 'X'.
message i001(zn_so) with lc_fgud.      " Ok continue transaction
else.
message e000(zn_so) display like 'I'.    " Error 
loop at screen.
    if ( screen-group1 = 'TCTRL_U_ERF_GUTLAST' ).
      screen-input = 1.    " Enabling fields
      screen-active = 1.    " Activating
    endif.
    modify screen.
  endloop.

Regards,

Ranjith