‎2005 Jun 28 7:48 AM
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
‎2005 Jun 28 7:57 AM
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
‎2005 Jun 28 7:57 AM
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
‎2005 Jun 28 8:10 AM
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...
‎2005 Jun 28 8:14 AM
Hi,
You can make use of the database utility (SE14) to adjust the database after making changes to the screen layout.
Rgds,
‎2005 Jun 28 9:16 AM
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
‎2005 Jun 28 8:04 AM
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.
‎2005 Jun 28 10:15 AM
Hi,
To generate table maintenance,check this link.
http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
‎2005 Jun 28 8:11 AM
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,