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

Maintenance View: Loop at screen!

Former Member
0 Likes
2,202

hi,

I created a view maintenance on Ztable.

This table contains 3 fields.

I want to display one of this fields in "Display Mode" when the user Create/change the table in sm30.

There is an event in maintenace view that allow me to do this?

Thank you

Joseph

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,476

Hi Joseph,

I think that the easiest way to achieve that is not thru the flow logic, but directly thru the layout editor.

1. Enter transaction SE51 and press button "change" for radio button "flow logic".

2. Then double-click the table-control.

3. Then push button "Ctrl elements"

4. Place the cursor over the name of the field you want to change, and press "Attributes"

5. Now just simply click flag "Output only"

PS: I'm using 46C with Text-based layout editor

I hope it helps. Best regards,

Alvaro

7 REPLIES 7
Read only

Former Member
0 Likes
1,477

Hi Joseph,

I think that the easiest way to achieve that is not thru the flow logic, but directly thru the layout editor.

1. Enter transaction SE51 and press button "change" for radio button "flow logic".

2. Then double-click the table-control.

3. Then push button "Ctrl elements"

4. Place the cursor over the name of the field you want to change, and press "Attributes"

5. Now just simply click flag "Output only"

PS: I'm using 46C with Text-based layout editor

I hope it helps. Best regards,

Alvaro

Read only

0 Likes
1,476

hi Alvaro,

I don't like this method...because you know if you activate the screen (if you add new fields or something like that) your changes are deleted.

I was thinking about an event...

Read only

0 Likes
1,476

Hi,

You can make use of the database utility (SE14) to adjust the database after making changes to the screen layout.

Rgds,

Read only

0 Likes
1,476

Is it possible to make some changes to generated objects thr. maintenance generator.

E.g. : I want to have some valiations / checks for certain fields

Thanks

Nitin

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,476

Hi,

Generate a table maintenance for Z table you created in SE11->Utilities->Table Maintenance Generator.Give appropriate authorisation group while genearting table maintenance.

Once it's get generated.Then click function group->Main program.

Uncomment the PBO Include which appears as commented.Give it suitable name.

Then in the PBO write the following.,

module display.

module display output.

LOOP AT SCREEN.

if screen-name = 'ZZZtable-FIELDNAME'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

endmodule.

Hope it helps.If so,reward points.Otherwise ,get back.

Read only

0 Likes
1,476
Read only

Former Member
0 Likes
1,476

Hi,

If you have defined the table maintenance generator for the ZTable, you can directly go to Utilities->table maintenance generator->Environment->modification->maintenancescreen, here select the screen generated from table maintenance, by double clicking on the screen you will navigate to the screen painter of that particular screen, go to screen layout, change the attributes of the field to Output only & activate the screen. This will make the field display only.

Rgds,