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 screen

Former Member
0 Likes
673

Hi all,

My requirement is to have a maintenance screen - similar to the one in SM30 for a custom table .This screen should appear as the output of an ABAP program after certain validations. I think its possible to CALL transaction SM30 with the table name and skip first screen. But i also require to

1. Download the contents displayed in the maintenance screen to an excel spreadsheet

2. To provide F4 help for fields even not using SAP Standard fields. For instance , i have some custom fields in this table A,B of type say CHAR10. I require to provide F4 help for this field in the maintenance screen.

Please let me know if any suggestions.

Thanks in advance,

Asha

Hi all,

My requirement is to have a maintenance screen - similar to the one in SM30 for a custom table .This screen should appear as the output of an ABAP program after certain validations. I think its possible to CALL transaction SM30 with the table name and skip first screen. But i also require to

1. Download the contents displayed in the maintenance screen to an excel spreadsheet

2. To provide F4 help for fields even not using SAP Standard fields. For instance , i have some custom fields in this table A,B of type say CHAR10. I require to provide F4 help for this field in the maintenance screen.

Please let me know if any suggestions.

Thanks in advance,

Asha

4 REPLIES 4
Read only

Former Member
0 Likes
618

Hi,

You can do it.

Go to SM30 in your development client and open the table.

Then go to , System -> Status -> and double click on the screen number. It will take you to Screen painter.

Now you can modify the code there, create a subroutine and do the necessary validations.

If you want F4 for a custom field you can populate the entries in an internal table and call the FM F4IF_INT_TABLE_VALUE_REQUEST. But for this you have to capture the F4 event through a method by declaring a class and assigning it to the field.

Check

https://forums.sdn.sap.com/click.jspa?searchID=888648&messageID=1366986

this also.

Regards

Subramanian

Read only

Former Member
0 Likes
618

Hi,

You can implement this using the Table maintenance Generator utility only. if you see that screen, you can create 2 screens which are Overview and Single Screen.

For that you will have provide Maintenance Type as Two Step.

This will create a Detail Screen with all the fields and you can also insert all the Validations and other business logic if you have any in the Code.

regards,

Mahesh

Read only

Former Member
0 Likes
618

Hi ,

Thank you for your valuable suggestions. Let me try for the F4 help for the maintenance screen fields in screen painter. Since i'm not much into the OO concepts of ABAP , can anyone help if there are any sdn threads already available on it.

Also , is it possible for me to include the option to download the contents from the maintenance screen to an excel spreadsheet ?

Thanks

Asha