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

Table maintenance column

Former Member
0 Kudos
318

Hi Gurus,

My client has requirement to display table maintenance columns on certain conditions. Let us say. Column # 1 in the table maintenance needs to be shown in display mode for user1 & same column needs to be shown in change mode for user2. Can you please tell how we can modify table maintenance columns depending on certain conditions?

Points will be awarded for correct answers.

3 REPLIES 3
Read only

Former Member
0 Kudos
278

Hi,

Create the table maintenance generator, and then we need to enchance that.

In the function group, go to the screen number and then in the PBO module,

create a module to write your code.

eg:

PBO

module change_field_properties,

MODULE change_field_properties OUTPUT.

IF sy-uname EQ 'DEVELOPER'..

loop at screen.

if screen-name Eq 'TABLE-FIELD'.

screen-input = 0.

modify screen.

endif.

endloop.

ENDIF.

ENDMODULE.

like this depending on the user ... we can control the screen fields.

Hope this may help you.

Regards,

Venkatesh

Read only

Former Member
0 Kudos
278

Use authorization objects or use event "26" in the table maintanance event.

Regards

Vinod

Read only

Former Member
0 Kudos
278

Hi,

write a simple code in the table maintenance gerator events ,

for which user u need to provide display mode

and to which user u need provide editable mode

Thanks