Data and Analytics Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sap analytics cloud - deleting version data using data action

Eliram_Lugassi
Participant
0 Likes
2,146

hi all,

i need to allow my planning users to delete records from the planning budget version, this sometimes a neccessity because the budget changes and new budget is being uploaded,

i created a data action using the advanced forumla editor and i came across a problem, i'm unable to select a version to run this data action on, it's not even showing in the filters on the visual editor. What can i do? 

Eliram_Lugassi_0-1740911135761.png

Eliram_Lugassi_1-1740911195973.png

 

 

3 REPLIES 3
Read only

N1kh1l
Active Contributor
2,121

@Eliram_Lugassi 

First all of do not use DATA()=0 for deletion, This can lead to significant explosion in 0 records and will affect your performance going forward.

If the purpose is to delete the records in Data Action advanced formula, Put the filters using MEMBERSET and then finally use DELETE() statement.

Now coming to the version part. You do not have to scope the version in DA formula as every DA advanced formula has an implicit TargetVersion parameter. So just scope other dimensions and version will be automatically asked when you run any DA. You can select the version for which you want to delete during execution of the DA.

 

Hope this helps !!

Nikhil

Read only

0 Likes
2,089

thank you, i wasn't sure about TargetVersion.

i changed it to DELETE()

Read only

0 Likes
2,075

@Eliram_Lugassi , I hope it worked for you. Please close the thread if the solution worked.