欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

SAP ABAP Development Tool的本地存储原理(local storage) SAPC4CCloudCDS viewCloudFoundry 

程序员文章站 2022-06-13 17:35:48
...

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)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

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)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

I could see three folders correspondingly:

 

SAP ABAP Development Tool的本地存储原理(local storage)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

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)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

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

 

SAP ABAP Development Tool的本地存储原理(local storage)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

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)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry 

 

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

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP ABAP Development Tool的本地存储原理(local storage)
            
    
    
        SAPC4CCloudCDS viewCloudFoundry