Skip to Content
0

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

Jun 02, 2017 at 10:52 AM

163

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Bartosz Jarkowski Jun 02, 2017 at 02:27 PM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

AMDP classes can be maintained in ADT only ...

0

Hi,

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

Best regards

Bartosz

0
0
Sean Zhang
Jun 02, 2017 at 03:30 PM
0

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-composer/

Best Regards,

Sean

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

0

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

0
Harshad Mishrikotkar
Jul 06, 2017 at 07:27 AM
0

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-findings-in-old-legacy-code/

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

Regards,

Harshad.

Share
10 |10000 characters needed characters left characters exceeded