Application Development 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: 

Events in table maintenance Generator

sumit_shah
Explorer
0 Kudos

Hi All,

I am using event no. 26 (Before Displayed Data is Output in a List) in the table maintenance generator of a maintenance view to grey out some table entries based on some condition. Please suggest how to achieve it. I would be grateful if I can have some sample code for it.

Thanks.

Regards,

Sumit Shah

3 REPLIES 3

Former Member

Former Member
0 Kudos

Hi,

go to the event - perform set one global falg say g_flag.

go into the table maintenance generator include i.e. for PBO only...

in that include some existing coding will be there to modify the screen. immedialty after this codes write loop at screen... endloop. in this, get reference of table control used to shwo data say u want to gray out some columns.

get that column name and grayd out using :

loop at screen.
screen-name = <table clumn name>. "and chk condtion g_flag if necessary
Screen-input = 0.
modify screen.
endloop.

Jogdand M B

jaideeps
Advisor
Advisor
0 Kudos

hi,

chk out this thread:

thanks

jaideep

*reward points if useful..