7

Performance Analysis of the entire solution by email

 3 years ago
source link: https://blogs.sap.com/2021/06/09/performance-analysis-of-the-entire-solution-by-email/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Technical Articles
Posted on June 9, 2021 1 minute read

Performance Analysis of the entire solution by email

1 Like 26 Views 0 Comments

Performance Considerations in SAP C4C

Recently we received a mail from SAP with some performance considerations which are to be followed to improve the solution’s performance.

So, based on the recommendations we made the necessary changes and deployed the solution.

I thought what if there is a feature already present in the system which does help us in checking for performance considerations.

Note: There is the Run Performance Check option available on the script file. But it gives only recommendations for that particular script file. What if you want something that gives the same to the entire solution.

There are two ways to do this,

1) Right Click on the solution and click on Run Performance Check

Run%20Performance%20Checks%20using%20Solution

Run Performance Checks using Solution

But for this the user needs to have SDK access so why not have it in the UI screen of C4C. This is mentioned in the second step.

2) Using ABSL Code, 

There is a unique namespace import called AP.PlatinumEngineering;

Under this namespace, we have a standard re-use library called Performance

var lv_Addon = Performance.GetAnalysisByMail("youremailid");

When executing the following line you could see it takes few seconds to run through the entire solution and then send a mail to the mail id mentioned in the above snippet of code.

I created a Custom BO and a custom WCView for the same with a button on the screen named as “Run Performance Check”. which when clicked on would execute this piece of code and send mail to the mail id.

Note: Multiple email ids can also be entered for the solution.

This is a part of a series of blog posts regarding PlatinumEngineering.
Please find the other post here https://blogs.sap.com/2021/06/04/tips-how-to-generate-otp-via-c4c-absl/

Regards,
Sairam


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK