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.
When you choose an item from the result list the data preview is opened.
Kind Regards,
Thomas.
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
Good timing.
I think in general an user interaction tracking in SCN would be nice 😎
Regards,
Thomas.
I did the search and it isn't showing me any tables in the list. Can you please let me know why?
Thanks,Juwin
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)
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
Thanks,
Juwin
'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
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
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
Hi Michael,
Where do we need to check? In GUI?, if yes pls let me know how to check this URI?
Thanks
Chandru.R
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
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.
Thanks
Chandru.R
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
Hi Michael,
It is working now. I just added URI /sap/bc/adt/datapreview/ddic/* and it worked.
Thankks for your help.
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
Cheers