cancel
Showing results for 
Search instead for 
Did you mean: 

Do we have any class by which we can create CDS and AMDP's from SAP GUI itself ?

vimal
Active Participant
0 Kudos

Hello,

Is there a class by which i can create CDS views and AMDP's from SAP GUI itself.

we need to build a tool which analyze the logic of an obect in SAP ABAP and convert it into CDS Views and AMDP's. So is there any thing we can utilize for this purpose ?

Thanks,

Vimal

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member196555
Participant
0 Kudos

Hi Vimal,

Although, AMDPs are ABAP classes, you would need ADT to create them.

You can view them in SE24 but you cannot change it. You will get an error message while trying to edit the AMDP class.

Regarding, the tool you are looking for, I think you can use various tools to check the potential candidates for implementing AMDP or CDS views, but I don't think there is any tool that will do this for you!

- SQLM, SWLT

- SCI Checks

- ATC Checks

I would further recommend the following blogs to help you with the above mentioned tools.

https://blogs.sap.com/2017/02/27/remote-code-analysis-in-atc-for-developers/

https://blogs.sap.com/2016/12/13/remote-code-analysis-in-atc-working-with-baseline-to-suppress-findi...

https://blogs.sap.com/2017/02/15/sap-s4hana-system-conversion-challenge-for-your-custom-code/

Regards,

Harshad.

Sean_Zhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

Are you talking about generate the CDS and AMDP by code in ABAP or manually create the CDS or AMDP?

I have the feeling that you're more likely for the first case.

then please check whether the following two blog could help you. at least I think for AMDP, it should work, because AMDP is also an ABAP class.

https://archive.sap.com/discussions/thread/920674

https://blogs.sap.com/2015/09/11/step-by-step-to-generate-abap-code-automatically-using-code-compose...

Best Regards,

Sean

vimal
Active Participant
0 Kudos

Yes, generate the CDS and AMDP by code in ABAP.

Sean_Zhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Then the blog could work for the AMDP generation. but generating CDS, I don't know up to now.

BJarkowski
Active Contributor
0 Kudos

Hi,

you can create CDS view only from ABAP Development Tools (Eclipse):

https://blogs.sap.com/2016/10/13/create-abap-cds-view-odata-sap-annotations/

AMDP can be created from SAP GUI:

https://blogs.sap.com/2014/01/22/abap-managed-database-procedures-introduction/

Best regards

Bartosz

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

AMDP classes can be maintained in ADT only ...

BJarkowski
Active Contributor
0 Kudos

Hi,

then it means there is an error in one of the manuals (TADM10_1, page 440):

Best regards

Bartosz

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

There's one source of truth:

The ABAP Development Tools (ADT) are better suited for the editing of database procedures and functi...

(before searching, I didn't even know what TADM10_1, page 440 means)