Quantcast
Channel: SCN : Blog List - ABAP Development
Viewing all articles
Browse latest Browse all 943

How to add a view into favourite

$
0
0

the idea comes from Sougata Chatterjee's anwser in this thread:


Suppose I need to add the maintenance view COMV_PARTNER_FCT to my favorite list. I expect once the entry in the favorite list is double clicked, it will automatically navigate to the view detail like below ( the initial screen of SM30 is not expected )


clipboard1.png

Create a new transaction code and maintain SM30 as default value for transaction:

clipboard2.png

Just maintain the maintenance view name as the default value for screen field VIEWNAME:

clipboard3.png

You can find the screen name by put the focus on input field for view name in SM30, and click F1,

clipboard4.png

then click "Technical Information" icon,

clipboard5.png

then you get the screenfield name:

clipboard6.png

The last step is adding the new transaction code to my favorite. Unfortunately when I test it, it fails to work and raised the following error message.

The initial screen still remains without any automatic navigation to detail of view COMV_PARTNER_FCT.

clipboard7.png


we can find the location where this error message is raised by this tip and know the error is caused since we didn't specify any action like UPDATE, SHOW or TRANSPORT.

clipboard8.png

Then go back to SE93 and add another entry with SHOW = X and after that issue is resolved.

clipboard10.png


Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>