2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
Community
SAP Community Products and Technology Technology Technology Q&A
Analytics Designer - Comment Deletion
All community What are you looking for today?
Options
Analytics Designer - Comment Deletion
pranavvyas01
Participant
on 02-28-2022
0 Kudos
Hi All,
I see in the Analytics designer there is a option to delete the comments using the context
as in the below code:
Table_1.getDataSource().getComments().removeComments({@MeasureDimension: "
[sap.epm:M010_10_Accounts].[parentId].&[A134000]",
sap.epm:M010_10_Operating_Income_Version: "public.Actual"});
but somehow when we try to write the same code as below; the code is not validated.
Table_1.getDataSource().getComments().removeComments({version: "public.Actual"});
Can you help me resolve the issue. My requirement is to delete the comments for version
members.
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 1/6
2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
Thanks & Regards,
Pranav Vyas
SAP Managed Tags:
SAP Analytics Cloud, SAP Analytics Cloud for planning,
SAP Analytics Cloud, analytics designer
Show replies
Answer
Accepted Solutions (0)
Answers (1)
avsalynin
Active Contributor
02-28-2022
1 Kudo
pranavvyas01
I recommend to look API scripts in the standard application "Feature - Use comment
features inside applications"
Remove Comment by ID
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 2/6
2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
1 var sel = RBG_CommentIDs.getSelectedKey();
2 Table_PlanningEnabled.getDataSource().getComments().removeComment(sel);
3 RBG_CommentIDs.removeItem(sel);
4 T_Comment.applyText(" ");
5 ScriptObject_1.getAllComment();
Remove all Comments
1 Table_PlanningEnabled.getDataSource().getComments().removeAllComments(GSel)
2 //GSel - global variable with Type - Selection
3 RBG_CommentIDs.removeAllItems();
4 T_Comment.applyText(" ");
sac-comment-sample-ad.png
Show replies
Ask A Question
Type your question here...
Continue
Recommendations
Wildcards in setDimensionFilter (Analytic Designer...
01-23-2020
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 3/6
2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
Data Discovery using ChatGPT in SAP Analytics Clou...
09-04-2023
Gamification with SAP Analytic Application/ Analyt...
04-24-2022
[BUG] Missing delete Comment/Answer option
02-14-2017
Invoke smart insight in Analytic Application Desig...
03-12-2020
Related Content
What’s New in SAP Analytics Cloud Q1 2024
in Technology Blogs by SAP Wednesday
SAP Analytics Cloud - Analytics Designer - Hover fill on table row
in Technology Q&A a week ago
Connecting IoT Coldstore with HANA Cloud through Data Intelligence and Integration
Suite
in Technology Blogs by Members 2 weeks ago
SAP Analytics Cloud for planning - Create and Delete Data, based on Propoerties via
Data Action
in Technology Q&A 01-09-2024
WEBI Reports in SAC
in Technology Q&A 01-07-2024
Top Q&A Solution Author
SAPSupport 25
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 4/6
2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
N1kh1l 12
Edrilan-Berisha 6
Dinu 5
DonWilliams 5
ThiagoSarmento 5
Johan_H 4
ido_millet 3
patrick_winkler 3
boghyon 3
View all
Latest Posts
Re: SAP DRC for eInvoice Greece
How to activate a User from User Management of SAP...
CDS View for Check Clearing Date
Extract dimension ID from table with selection
SAP_IPA_00024: Tenant 543ac11a-1405-44d3-be50-ce29...
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 5/6
2/13/24, 10:02 PM Analytics Designer - Comment Deletion - SAP Community
View all
Follow
Privacy Terms of Use
Copyright Legal Disclosure
Trademark Newsletter
Support Cookie Preferences
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 6/6