SAP Knowledge Base Article - Public

3135684 - Is there a way to extract all comments from a planning model?


You have a planning model, where some comments are missing. Is there a way to extract all comments a model has? 


SAP Analytics Cloud


Currently in Application Designer Script APIs ,there are two functions for comments

  1. Table_1.getDataSource().getComments().getComment(
  2. Table_1.getDataSource().getComments().getAllComments()

The first function will return a comment based on a comment id. This generally would work, if you knew all comment ids. 

The second function requires a selection, so you need to loop through all possible selections, which probably is not possible (due to the amount of master data). 

If the mentioned above doesn't satisfy your requirement, it needs to be submitted as a Software Enhancement Request. Refer to the KB 2424376 - "How do you create an enhancement request for SAP Analytics Cloud?".


KBA , LOD-ANA-AD , Analytics Designer , LOD-ANA-PL , Planning , Problem


SAP Analytics Cloud all versions