Professional Documents
Culture Documents
Analytics Designer - Comment Deletion - SAP Community
Analytics Designer - Comment Deletion - SAP Community
Analytics Designer - Comment Deletion - SAP Community
Community
Options
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
Pranav Vyas
Show replies
Answer
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 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
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
[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
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
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
Trademark Newsletter
https://community.sap.com/t5/technology-q-a/analytics-designer-comment-deletion/qaq-p/12551957 6/6