cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Webdynpro Table Control

Former Member
0 Kudos

Hi all,

I am a Webdynpro beginner, I am developing a ABAP Webdynpro program. I have a table in my View, And I want to the Row became READ ONLY based on the context.

For Example, there is a user name field in the table, if the user name is equal to the user who run the program, this row will be modifiable. if not, the row will be Read Only.

I don't know which function can do so. Could anyone help me?

I can use VIEW->GET_ELEMENT to get the table. but I didn't find the method in the CL_WD_TABLE helpful.

Thanks

Ming

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

I find the solution in the post:

Thanks

Ming

Former Member
0 Kudos

For further description,

the table is binded to a ( 0 ... n ) context node. There are 6 columns in the table. 3 of them are textviews and the others are inputfield. I want two of the inputfields in each rows became Read_Pnly or not base on the value in the same row in a textview field.

For example, there are six column, col1 col2 col3 col4 col5 col6.

if col = 'MM'.

col1 col2 are editable.

else.

col1 col2 are read_only.

Thanks in advance.

Ming