Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modifying some specific fields (Input Enabled/disabled) of table control

sauvik_mukherjee
Discoverer
0 Likes
418

Hi all,

I have to modify some specific fields of a table control in my screen, by taking some user input from another fields of the same table control.

Let me illustrate the problem to you:

I have to take the user input in a cell (row1,col2) , on basis of that input I have to modify the input attributes (Input enabled / disabled )of the adjacent three cells (row1, col3), (row1,col4) and (row1, col5) .

For this, I have used the field f module mod on input option in the flow logic.

I have tried cols table option by modifying the col-screen-input attribute, but it is blocking the whole coloumn for input, which is not my requirement.

Please revert back if you have any suggestions for me.

Regards

Hi all,

I have to modify some specific fields of a table control in my screen, by taking some user input from another fields of the same table control.

Let me illustrate the problem to you:

I have to take the user input in a cell (row1,col2) , on basis of that input I have to modify the input attributes (Input enabled / disabled )of the adjacent three cells (row1, col3), (row1,col4) and (row1, col5) .

For this, I have used the field f module mod on input option in the flow logic.

I have tried cols table option by modifying the col-screen-input attribute, but it is blocking the whole coloumn for input, which is not my requirement.

Please revert back if you have any suggestions for me.

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
394

Hello,

IF u need to change a particular row in the tale control u need to write a LOOP AT SCREEN ....ENDLOOP.

inside the LOOP AT (itab) WITH CONTROL (tablecontrol) ...ENDLOOP that u write in the PBO.

In the inner loop u need to check ur require statements.

Hope this helps u .

Neeraj

Read only

0 Likes
394

Hi

Thanks for the suggestion, but I need to validate some individual cells of a table control on the basis of input of one cell.For this, I need to write something in PAI module . Under the Loop with control Statement, I have introduced a module based on the input of that particular field.

Like :

Process after Input.

Loop with Control tabctrl.

field f1 module check on input.

Endloop.

I need something to write under this module ..... endmodule .

Do revert back if you have any suggestions.

Regards