Skip to Content

add button to a maintenance view

I am working with maintenance views and user-defined events in maintenance views at the moment.

Now I'd like to add a button to the maintenance view that will show a popup with recent changes to the selected line of the database table.

Is that possible with user-defined events or should I modify the generated dynpros manually. But then, will the modifications be deleted if I will have to regenerate the maintenance view in the future (e.g. when I might add a field to the database table)?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 02, 2005 at 05:52 PM

    I believe that the practice is to manually modify the dynpros, and yes, your modifications would be lost if the maintenance view was re-generated.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Screen Modifications will be lost, code modifications will not be lost if you have made changes to the include(where SAP requests you too include your code(there is a small comment where it tells at which place you should insert your code)). If you regenerate view maintenance, all you have to do is uncomment that line.

      Regards,

      Subramanian V.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 10:14 PM

    If you are talking SE54 and Maintenance Views, when I do an SM30 on the Maintenance View and do SYSTEM->STATUS, I see GUI STATUS ZULG on program SAPLSVIM. If you look at that status, I see two buttons with dynamic text. The first one is call GPRF and has dynamic text VIM_PR_STAT_TXT_CH. You can find a suitable PBO event to set the text of that function code and if that works, find a suitable PAI event to respond to that function.

    I recall finding some documentation on customizing the GUI STATUS but no luck today trying to find it.

    Let us know how it goes.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.