‎2008 Nov 10 12:55 PM
HI experts,
My requirement is I need to deactivate all the fields in tcode ks02 except User reponsible field.
I found the Userexit "COOMKS02" In that I am trying to write a code like loop at screen
however only few of the fields which is main screen able to deactivate. I coudn't able to deactivate
the fields inside the tab strip (In loop at screen it is not coming) for ex. Basic tabstrip.
how to get control over the fields inside the tab strip or Is there any user exit or badi for to do this .
Please guide me
Thanks
‎2008 Nov 11 4:26 AM
Hi,
In the tabstrip you have to do loop at table control as below
FIELD-SYMBOLS: <cols> LIKE LINE OF <table control name-cols>.
LOOP AT <table control name-cols> ASSIGNING <cols>.
CASE <cols>-screen-name.
WHEN <screen name>.
<cols>-screen-input = 0.
<cols>-screen-active = 0.
MODIFY <table control name-cols>[] FROM <cols>.
ENDCASE.
ENDLOOP.
Regards,
JP
‎2008 Nov 11 4:26 AM
Hi,
In the tabstrip you have to do loop at table control as below
FIELD-SYMBOLS: <cols> LIKE LINE OF <table control name-cols>.
LOOP AT <table control name-cols> ASSIGNING <cols>.
CASE <cols>-screen-name.
WHEN <screen name>.
<cols>-screen-input = 0.
<cols>-screen-active = 0.
MODIFY <table control name-cols>[] FROM <cols>.
ENDCASE.
ENDLOOP.
Regards,
JP
‎2008 Nov 11 10:05 AM
Hi yadav,
thanks for reply, How to i loop in a standard screen .it is not allowing me to do this.
Any other way to do this
pls help