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 control in display mode

Former Member
0 Likes
1,810

Hello All,

Please tell me how to show table control in display mode,

My requirement is , whenever ill put T-code for table maintainace it should be appear in display mode.

Thanks,

Gaurav

1 ACCEPTED SOLUTION
Read only

Manohar2u
Active Contributor
0 Likes
1,325

table control or table maintenance?

Ok, let me assume that you have table mainteance view done for ZTEST table with Z_V_TABLE (maintenance view generated)

create a tcode now

1) transaction with parameters - se93 - tcode Z_TABLE

2) Transaction SM30

3) skip initial screen checked

4) maintain below values in default values in se93

VIEWNAME Z_V_TABLE

SHOW X

now when we run with Z_TABLE table it will always show in display mode.

Hope - I understood your question correctly

table control or table maintenance?

Ok, let me assume that you have table mainteance view done for ZTEST table with Z_V_TABLE (maintenance view generated)

create a tcode now

1) transaction with parameters - se93 - tcode Z_TABLE

2) Transaction SM30

3) skip initial screen checked

4) maintain below values in default values in se93

VIEWNAME Z_V_TABLE

SHOW X

now when we run with Z_TABLE table it will always show in display mode.

Hope - I understood your question correctly

7 REPLIES 7
Read only

Former Member
0 Likes
1,325

Table control can be made in display mode by disabling the input.

loop at screen

screen-input = '0'.

modify screen.

endloop.

Put the above section in PBO.

Read only

Manohar2u
Active Contributor
0 Likes
1,326

table control or table maintenance?

Ok, let me assume that you have table mainteance view done for ZTEST table with Z_V_TABLE (maintenance view generated)

create a tcode now

1) transaction with parameters - se93 - tcode Z_TABLE

2) Transaction SM30

3) skip initial screen checked

4) maintain below values in default values in se93

VIEWNAME Z_V_TABLE

SHOW X

now when we run with Z_TABLE table it will always show in display mode.

Hope - I understood your question correctly

Read only

Former Member
0 Likes
1,325

Dear Manohar,

I did the same thing which u mentioned but while executing T-code at the top it show heading in big letters ''Change View Table .......................'

thats only i want as " Display View Table ...........'

Read only

Manohar2u
Active Contributor
0 Likes
1,325

you mean it is actually showing in display mode but the text is stating as 'Change'? Strange it works fine for me showing 'Display view.....".

Check in tcode and makesure you only give 'SHOW' as 'X'.

Read only

Former Member
0 Likes
1,325

Issue Solved ,

Thanks every1

Read only

former_member229729
Active Participant
0 Likes
1,325

Hi,

Please look at the good example in ABAPDOCU transaction:

Path: ABAP User Dialogs-->Screens-->Complex Screen Elements-->Table Control with Modifications.

Hope this would give you complete picture on Disabling or Enabling the table control.

Regards,

Ramani N

Read only

Former Member
0 Likes
1,325

The structure SCREEN contains the same components as system table SCREEN. The component SCREEN-NAME is the name of the screen element that creates the column. The screen output attribute can be changed directly in the ABAP program using MODIFY SCREEN within the loop LOOP AT SCREEN. And also put a sy-tcode check before changing the attributes.

Regards,

Rethish