cancel
Showing results for 
Search instead for 
Did you mean: 

HANA Calculation View Label: Copy/Paste and mass edit

tmths
Explorer
0 Kudos

Hello everyone,

I have multiples HANA calculation views based on SAP BW objects.

This results in the "technical" columns, like for InfoObjects in

  • INFOBJ with label "Label"
  • INFOBJ___T with label "Text column for attribute "INFOBJ"

In an Excel table I habe the correct labels I want to apply, but I cannot copy column data from Semantics node, or past into multiles entries of the Label column at the same time.

Is there a method to copy/paste Label names of Semantics node, or apply scripting?

Thank you very much
Tim

Accepted Solutions (0)

Answers (1)

Answers (1)

sap_user1234
Explorer
0 Kudos
  • Take a backup of any script which you are replacing/editing
  • The below can be used on web-IDE as well.

Well I know a way manually it will not that big a trouble ! You can open the calculation view from repositories in a "Text Editor"

And then use "ctrl" + "F" to find the descriptions. If your excel skills are good, copy paste the required portion of code(be very careful of the line numbers) in an Excel and then use excel skills to replace the descriptions.

descriptions.png

Once done paste the code back in text editor and then save the object.

Go to "Systems" tab and then refresh the package

"Activate" the object.

Hope it helps in some ways 🙂