Skip to Content
Author's profile photo Thomas Fiedler

Quick launch of ADT Data Preview

Hi community,

the data preview in eclipse is a very powerful tool to display table content in ABAP in Eclipse.

But I often hear the problem that it is quite cumbersome to open the data preview via the project explorer.

Because you first have to open the correct package in the project explorer to right-click there to open the data preview.


Do you know that there is a quick launch possibility via ALT-F8


Just open the dialog ‘Run ABAP Application’ (ALT-F8) and enter the name of the table you want to inspect:

There is the usual search behavior with type restrictions possible in the dialog field.


22-07-2015 14-04-33.png

When you choose an item from the result list the data preview is opened.

Kind Regards,

Thomas.

Assigned Tags

      14 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Christian Drumm
      Christian Drumm

      Hi Thomas,

      thanks for this hint.

      I did this accidentally yesterday, liked the short cut but couldn't remember how I did it 😛 . Therefore I was looking through all the keyboard short cuts already in order the correct one...

      Christian

      Author's profile photo Thomas Fiedler
      Thomas Fiedler
      Blog Post Author

      Good timing.

      I think in general an user interaction tracking in SCN would be nice 😎

      Regards,

      Thomas.

      Author's profile photo Juwin Pallipat Thomas
      Juwin Pallipat Thomas

      I did the search and it isn't showing me any tables in the list. Can you please let me know why?

      2015-07-22 10_56_35-Run ABAP Application.jpg

      Thanks,Juwin

      Author's profile photo Michael Schneider
      Michael Schneider

      Which ABAP backend version do you use? Tables are just shown in the Run-ABAP-Application-dialog if  the system also supports data preview (which is 7.4 SP5; see also ADT Feature Availability Matrix for AS ABAP Releases)

      Author's profile photo Juwin Pallipat Thomas
      Juwin Pallipat Thomas

      The table is showing up in 'Open ABAP Development Object' option and not in 'Run ABAP Development Object'.

      We are on EHP6 FOR SAP ERP 6.0 with

      SAP_BASIS 731
      SAP_ABA 731

      Thanks,

      Juwin

      Author's profile photo Michael Schneider
      Michael Schneider

      'Open ABAP Development Object' will open the editor for the selected DB table. This should work for all server releases that support ADT.

      'Run ABAP Development Object' will open data preview (see also Get ABAP Development Tools 2.19 and find out what's new) for the selected table. Data preview is available only in releases that are based on SAP_BASIS 740 (SP5) or higher.

      Best regards,
      Michael

      Author's profile photo Chandru Ramasamy
      Chandru Ramasamy

      Hi Michael,

      I have SAP_BASIS 740 SP5. But when i do data preview in Eclipse, i get below authorization error message

      'No Authorization to access the resource /sap/bc/adt/datapreview/ddic'. However i have full authorization for authority object 'S_ADT_RES'..What could be the issue?

      Thanks

      Author's profile photo Michael Schneider
      Michael Schneider

      You are right. This message refers to an authorization issue. If you have authorization S_ADT_RES for URI = /sap/bc/adt/datapreview/ddic/* I would expect it is working. Could you just double-check the authorizations of your user?

      Thanks,
      Michael

      Author's profile photo Chandru Ramasamy
      Chandru Ramasamy

      Hi Michael,

      Where do we need to check? In GUI?, if yes pls let me know how to check this URI?

      Thanks

      Chandru.R

      Author's profile photo Michael Schneider
      Michael Schneider

      Hi Chandru,

      In transaction SU01 you should be able to see the roles and the corresponding authorizations assigned to your user.

      You mentioned above that you have full authorization for S_ADT_RES. What does this mean?

      Best Regards,
      Michael

      Author's profile photo Chandru Ramasamy
      Chandru Ramasamy

      Hi Michael,

      I meant i have access for all URI under this Authority object 'S_ADT_RES'. Pls find the image below taken from SU01 and let me know your concerns.

      ADT_Authorization.png

      Thanks

      Chandru.R

      Author's profile photo Michael Schneider
      Michael Schneider

      It seems to me that /sap/bc/adt/datapreview/ddic/* has not been specified, yet. At least I can't see it in your screenshot.

      Best regards,
      Michael

      Author's profile photo Chandru Ramasamy
      Chandru Ramasamy

      Hi Michael,

      It is working now. I just added URI /sap/bc/adt/datapreview/ddic/* and it worked.

      Thankks for your help.

      Author's profile photo Jens Schwendemann
      Jens Schwendemann

      I know this is quite an old one but wouldn't be more handy to launch it e.g. the following ways (I feel "running" a view / table a little bit of a hack when it comes to "correct" usage of terms

      • Right click on the open tab of the table / view --> Open data preview
      • Use Outline view pane of eclipse and add a tab there

      Cheers