When executing a PAK function on a DSO the system dumps after IF_RSPLFA_SRVTYPE_TREX_EXEC~TREX_EXECUTE
The error seem to occur in CL_RSPLS_SESSION_STORE_MANAGER->MATERIALIZE_VIEW in connection with statement
me->p_r_rsr_store->update_view( i_viewnm = r_view ).
The dump (st22) states:
This exception is closely related to a previous exception "CX_RSR_PE_ERROR", which
was raised in program "CL_RSR_PE_ADAPTER=============CP", in line 86 of
(include) program "CL_RSR_PE_ADAPTER=============CM00H". The
reason for the exception occurring was:
PE error 2.048: column store error: TREX Planning Engine command error:
[38001] PlanningEngine internal error;#Condition 'aSession.is_valid()'
The system specifics are HANA version 70 and
SAP_BASIS 740 0005 SAPKB74005
SAP_ABA 740 0005 SAPKA74005
SAP_GWFND 740 0005 SAPK-74005INSAPGWFND
SAP_UI 740 0006 SAPK-74006INSAPUI
PI_BASIS 740 0005 SAPK-74005INPIBASIS
ST-PI 2008_1_710 0007 SAPKITLRE7
BI_CONT 757 0000 -
SAP_BW 740 0005 SAPKW74005
I have tried the solution in OSS 1979401.