Solution : https://service.sap.com/sap/support/notes/1396485 (SAP Service marketplace login required)
Summary : 
      This SAP Note addresses a performance inefficiency during the saving or checking of queries involving complex Calculated and Restricted Key Figures in SAP NetWeaver BI systems. The root cause is identified as a program error. The resolution involves importing specific Support Packages for various versions of SAP NetWeaver BI, each detailed in linked SAP Notes. Versions affected include SAP NetWeaver BI 7.00, 7.01, 7.02, 7.11, and 7.20. Before implementation, SAP advises checking SAP Note 875986 concerning transaction SNOTE, especially for urgent cases requiring immediate correction instructions.
Key words : 
prerequisites programm error solution sap netweaver bi 7, definition takes extra long time, sap netweaver bi 7, sap nw bi7, restricted key figures, restricted key figure, 01 bi abap sp06, calculated key figure, sapbinews nw bi 7, 02 bi abap sp02
Related Notes : 
       
| 1387593 | Performance optimization for query change/generation | 
| 1369212 | SAPBINews NW 7.01 BI ABAP Support Package 06 | 
| 1367799 | SAPBINews NW7.0 BI ABAP Support Package 23 | 
| 1260071 | SAPBINews NW 7.10 BI ABAP Support Package 08 |