Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Table control in Dialog programming

Hello everyone;

I have to disable input for one column in table control based on some security role. I used loop at screen code but still it did not work! How do I disable just one column in table control programmatically?



Former Member

Hi Mithun,

May be the code u hv written is not in the proper place. U have to write this code in PBO event.

check the below example code .

loop at g_ztabctrl_itab

into g_ztabctrl_wa

with control ztabctrl

cursor ztabctrl-current_line.

module ztabctrl_get_lines.

module ztabctrl_move.


ztabctrl is my table contrl name....

in MODULE ZTABCTRL_MOVE. write your code and try it will work.

<b>reward if useful</b>


sunil kairam.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question