天天看點

SAP ABAP Development Tool 的本地存儲原理(local storage)

Recently I have developed some CDS views in Eclipse and I would like to share the source codes in github. I am reluctant to manually copy the source code of each view one by one, as a result I am checking whether there are some folders in my local laptops where the source code are cached.

I spent some time to research and here is the result.

I have created three ABAP projects in Eclipse:

SAP ABAP Development Tool 的本地存儲原理(local storage)

And in this location C:\Users\i042416\workspace_adt.metadata.plugins\org.eclipse.core.resources.semantic.cache

How do I find the path “C:\Users\i042416\workspace_adt“? Just right click ABAP project and choose Properties from context menu, and choose Resource->Linked Resources:

SAP ABAP Development Tool 的本地存儲原理(local storage)

I could see three folders correspondingly:

SAP ABAP Development Tool 的本地存儲原理(local storage)

Enter the first folder and then there are four sub folders. The folder ddic just stores the source code of CDS views which I am looking for.

SAP ABAP Development Tool 的本地存儲原理(local storage)

Every CDS view in Eclipse has a corresponding folder in local file system:

SAP ABAP Development Tool 的本地存儲原理(local storage)

The asddls file within that folder just contains exactly the source code of CDS view, which could be opened via any text editor.

SAP ABAP Development Tool 的本地存儲原理(local storage)

Then I could just upload those folders to github very conveniently to avoid the manual ctrl + c and ctrl + v

繼續閱讀